ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkPVGenericRenderWindowInteractor Class Reference

#include <vtkPVGenericRenderWindowInteractor.h>

Inheritance diagram for vtkPVGenericRenderWindowInteractor:
Inheritance graph
[legend]
Collaboration diagram for vtkPVGenericRenderWindowInteractor:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { BeginDelayNonInteractiveRenderEvent = 1001, EndDelayNonInteractiveRenderEvent = 1002 }

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetPVRenderView (vtkPVRenderViewProxy *view)
virtual vtkPVRenderViewProxyGetPVRenderView ()
virtual void Render ()
virtual void SetInteractorStyle (vtkInteractorObserver *)
void SetRenderer (vtkRenderer *view)
virtual vtkRendererGetRenderer ()
virtual vtkRendererFindPokedRenderer (int, int)
void SetInteractiveRenderEnabled (int)
virtual int GetInteractiveRenderEnabled ()
virtual void InteractiveRenderEnabledOn ()
virtual void InteractiveRenderEnabledOff ()
virtual void SetNonInteractiveRenderDelay (unsigned long)
virtual unsigned long GetNonInteractiveRenderDelay ()
virtual void OnLeftPress (int x, int y, int control, int shift)
virtual void OnMiddlePress (int x, int y, int control, int shift)
virtual void OnRightPress (int x, int y, int control, int shift)
virtual void OnLeftRelease (int x, int y, int control, int shift)
virtual void OnMiddleRelease (int x, int y, int control, int shift)
virtual void OnRightRelease (int x, int y, int control, int shift)
virtual void OnMove (int x, int y)
virtual void OnKeyPress (char keyCode, int x, int y)
virtual doubleGetCenterOfRotation ()
virtual void GetCenterOfRotation (double &, double &, double &)
virtual void GetCenterOfRotation (double[3])
void SetCenterOfRotation (double x, double y, double z)
void SetCenterOfRotation (double xyz[3])

Static Public Member Functions

static
vtkPVGenericRenderWindowInteractor
New ()
static int IsTypeOf (const char *type)
static
vtkPVGenericRenderWindowInteractor
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPVGenericRenderWindowInteractor ()
 ~vtkPVGenericRenderWindowInteractor ()

Protected Attributes

vtkPVRenderViewProxyPVRenderView
int InteractiveRenderEnabled
vtkRendererRenderer
unsigned long NonInteractiveRenderDelay
double CenterOfRotation [3]

Friends

class vtkPVGenericRenderWindowInteractorTimer
class vtkPVGenericRenderWindowInteractorObserver

Detailed Description

Definition at line 29 of file vtkPVGenericRenderWindowInteractor.h.


Member Enumeration Documentation

anonymous enum

These events are fired to mark the beginning and ending of the wait for the full-res render after an interactive render is over.

Enumerator:
BeginDelayNonInteractiveRenderEvent 
EndDelayNonInteractiveRenderEvent 

Definition at line 109 of file vtkPVGenericRenderWindowInteractor.h.


Constructor & Destructor Documentation

vtkPVGenericRenderWindowInteractor::vtkPVGenericRenderWindowInteractor ( ) [protected]
vtkPVGenericRenderWindowInteractor::~vtkPVGenericRenderWindowInteractor ( ) [protected]

Member Function Documentation

static vtkPVGenericRenderWindowInteractor* vtkPVGenericRenderWindowInteractor::New ( ) [static]

Reimplemented from vtkRenderWindowInteractor.

virtual const char* vtkPVGenericRenderWindowInteractor::GetClassName ( ) [virtual]

Reimplemented from vtkRenderWindowInteractor.

static int vtkPVGenericRenderWindowInteractor::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkRenderWindowInteractor.

virtual int vtkPVGenericRenderWindowInteractor::IsA ( const char *  type) [virtual]

Reimplemented from vtkRenderWindowInteractor.

static vtkPVGenericRenderWindowInteractor* vtkPVGenericRenderWindowInteractor::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkRenderWindowInteractor.

void vtkPVGenericRenderWindowInteractor::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkRenderWindowInteractor.

void vtkPVGenericRenderWindowInteractor::SetPVRenderView ( vtkPVRenderViewProxy view)
virtual vtkPVRenderViewProxy* vtkPVGenericRenderWindowInteractor::GetPVRenderView ( ) [virtual]
void vtkPVGenericRenderWindowInteractor::SetRenderer ( vtkRenderer view)

My sollution to the poked renderer problem. This interactor class always returns this renderer as poked render. This insures the 2D renderer will never be poked.

virtual vtkRenderer* vtkPVGenericRenderWindowInteractor::GetRenderer ( ) [virtual]

My sollution to the poked renderer problem. This interactor class always returns this renderer as poked render. This insures the 2D renderer will never be poked.

virtual vtkRenderer* vtkPVGenericRenderWindowInteractor::FindPokedRenderer ( int  ,
int   
) [virtual]

My sollution to the poked renderer problem. This interactor class always returns this renderer as poked render. This insures the 2D renderer will never be poked.

Reimplemented from vtkRenderWindowInteractor.

void vtkPVGenericRenderWindowInteractor::SetInteractiveRenderEnabled ( int  )

3D widgets call render on this interactor directly. They call SetInteractive to tell whether to use still or interactive rendering. This class just forwards the render request to ParaView's RenderModule. DesiredUpdateRate is ignored.

virtual int vtkPVGenericRenderWindowInteractor::GetInteractiveRenderEnabled ( ) [virtual]

3D widgets call render on this interactor directly. They call SetInteractive to tell whether to use still or interactive rendering. This class just forwards the render request to ParaView's RenderModule. DesiredUpdateRate is ignored.

virtual void vtkPVGenericRenderWindowInteractor::InteractiveRenderEnabledOn ( ) [virtual]

3D widgets call render on this interactor directly. They call SetInteractive to tell whether to use still or interactive rendering. This class just forwards the render request to ParaView's RenderModule. DesiredUpdateRate is ignored.

virtual void vtkPVGenericRenderWindowInteractor::InteractiveRenderEnabledOff ( ) [virtual]

3D widgets call render on this interactor directly. They call SetInteractive to tell whether to use still or interactive rendering. This class just forwards the render request to ParaView's RenderModule. DesiredUpdateRate is ignored.

virtual void vtkPVGenericRenderWindowInteractor::SetNonInteractiveRenderDelay ( unsigned  long) [virtual]

vtkPVGenericRenderWindowInteractor allows applications to support "delayed-switch-to-non-interative-render" mode i.e. when user stops interacting, the application does not want the scene to be immediately rendered in non-interactive mode, but wait for a few seconds. This will allow the user to do multiple adjustments while staying locked in the interactive mode. For that, the application must first set SetNonInteractiveRenderDelay(unsigned long milliseconds). If milliseconds==0, then the application switches to non-interactive mode immediately. Note, currently delayed render is only supported when compiled with PARAVIEW_ENABLE_QT_SUPPORT set to ON.

virtual unsigned long vtkPVGenericRenderWindowInteractor::GetNonInteractiveRenderDelay ( ) [virtual]

vtkPVGenericRenderWindowInteractor allows applications to support "delayed-switch-to-non-interative-render" mode i.e. when user stops interacting, the application does not want the scene to be immediately rendered in non-interactive mode, but wait for a few seconds. This will allow the user to do multiple adjustments while staying locked in the interactive mode. For that, the application must first set SetNonInteractiveRenderDelay(unsigned long milliseconds). If milliseconds==0, then the application switches to non-interactive mode immediately. Note, currently delayed render is only supported when compiled with PARAVIEW_ENABLE_QT_SUPPORT set to ON.

virtual void vtkPVGenericRenderWindowInteractor::Render ( ) [virtual]

Triggers a render.

Reimplemented from vtkRenderWindowInteractor.

virtual void vtkPVGenericRenderWindowInteractor::OnLeftPress ( int  x,
int  y,
int  control,
int  shift 
) [virtual]

These methods merely call SetEventInformation() and then fire the appropriate vtk-event.

virtual void vtkPVGenericRenderWindowInteractor::OnMiddlePress ( int  x,
int  y,
int  control,
int  shift 
) [virtual]

These methods merely call SetEventInformation() and then fire the appropriate vtk-event.

virtual void vtkPVGenericRenderWindowInteractor::OnRightPress ( int  x,
int  y,
int  control,
int  shift 
) [virtual]

These methods merely call SetEventInformation() and then fire the appropriate vtk-event.

virtual void vtkPVGenericRenderWindowInteractor::OnLeftRelease ( int  x,
int  y,
int  control,
int  shift 
) [virtual]

These methods merely call SetEventInformation() and then fire the appropriate vtk-event.

virtual void vtkPVGenericRenderWindowInteractor::OnMiddleRelease ( int  x,
int  y,
int  control,
int  shift 
) [virtual]

These methods merely call SetEventInformation() and then fire the appropriate vtk-event.

virtual void vtkPVGenericRenderWindowInteractor::OnRightRelease ( int  x,
int  y,
int  control,
int  shift 
) [virtual]

These methods merely call SetEventInformation() and then fire the appropriate vtk-event.

virtual void vtkPVGenericRenderWindowInteractor::OnMove ( int  x,
int  y 
) [virtual]

These methods merely call SetEventInformation() and then fire the appropriate vtk-event.

virtual void vtkPVGenericRenderWindowInteractor::OnKeyPress ( char  keyCode,
int  x,
int  y 
) [virtual]

These methods merely call SetEventInformation() and then fire the appropriate vtk-event.

virtual void vtkPVGenericRenderWindowInteractor::SetInteractorStyle ( vtkInteractorObserver ) [virtual]

Reimplemented from vtkRenderWindowInteractor.

virtual double* vtkPVGenericRenderWindowInteractor::GetCenterOfRotation ( ) [virtual]

Propagates the center to the interactor style. Currently, center of rotation is propagated only with the interactor style is a vtkPVInteractorStyle or subclass.

virtual void vtkPVGenericRenderWindowInteractor::GetCenterOfRotation ( double ,
double ,
double  
) [virtual]

Propagates the center to the interactor style. Currently, center of rotation is propagated only with the interactor style is a vtkPVInteractorStyle or subclass.

virtual void vtkPVGenericRenderWindowInteractor::GetCenterOfRotation ( double  [3]) [virtual]

Propagates the center to the interactor style. Currently, center of rotation is propagated only with the interactor style is a vtkPVInteractorStyle or subclass.

void vtkPVGenericRenderWindowInteractor::SetCenterOfRotation ( double  x,
double  y,
double  z 
)

Propagates the center to the interactor style. Currently, center of rotation is propagated only with the interactor style is a vtkPVInteractorStyle or subclass.

void vtkPVGenericRenderWindowInteractor::SetCenterOfRotation ( double  xyz[3]) [inline]

Propagates the center to the interactor style. Currently, center of rotation is propagated only with the interactor style is a vtkPVInteractorStyle or subclass.

Definition at line 100 of file vtkPVGenericRenderWindowInteractor.h.


Friends And Related Function Documentation

friend class vtkPVGenericRenderWindowInteractorTimer [friend]

Definition at line 131 of file vtkPVGenericRenderWindowInteractor.h.

friend class vtkPVGenericRenderWindowInteractorObserver [friend]

Definition at line 132 of file vtkPVGenericRenderWindowInteractor.h.


Member Data Documentation

Definition at line 120 of file vtkPVGenericRenderWindowInteractor.h.

Definition at line 121 of file vtkPVGenericRenderWindowInteractor.h.

Definition at line 122 of file vtkPVGenericRenderWindowInteractor.h.

Definition at line 124 of file vtkPVGenericRenderWindowInteractor.h.

Definition at line 125 of file vtkPVGenericRenderWindowInteractor.h.


The documentation for this class was generated from the following file: