ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkTrackballPan Class Reference

Pans camera with x y mouse movements. More...

#include <vtkTrackballPan.h>

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

Public Types

typedef vtkCameraManipulator Superclass
 
- Public Types inherited from vtkCameraManipulator
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void OnMouseMove (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnButtonDown (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnButtonUp (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
- Public Member Functions inherited from vtkCameraManipulator
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void StartInteraction ()
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void EndInteraction ()
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnKeyUp (vtkRenderWindowInteractor *iren)
 These methods are called on all registered manipulators, not just the active one. More...
 
virtual void OnKeyDown (vtkRenderWindowInteractor *iren)
 These methods are called on all registered manipulators, not just the active one. More...
 
virtual void SetButton (int)
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual int GetButton ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void SetShift (int)
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual int GetShift ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void ShiftOn ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void ShiftOff ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void SetControl (int)
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual int GetControl ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void ControlOn ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void ControlOff ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void SetCenter (double, double, double)
 For setting the center of rotation. More...
 
virtual void SetCenter (double [3])
 For setting the center of rotation. More...
 
virtual double * GetCenter ()
 For setting the center of rotation. More...
 
virtual void GetCenter (double &, double &, double &)
 For setting the center of rotation. More...
 
virtual void GetCenter (double [3])
 For setting the center of rotation. More...
 
virtual void SetRotationFactor (double)
 Set and get the rotation factor. More...
 
virtual double GetRotationFactor ()
 Set and get the rotation factor. More...
 
virtual void SetManipulatorName (const char *)
 Set and get the manipulator name. More...
 
virtual char * GetManipulatorName ()
 Set and get the manipulator name. More...
 
void SetGUIHelper (vtkCameraManipulatorGUIHelper *)
 Get/Set the GUI helper. More...
 
virtual vtkCameraManipulatorGUIHelperGetGUIHelper ()
 Get/Set the GUI helper. More...
 

Static Public Member Functions

static vtkTrackballPanNew ()
 
static int IsTypeOf (const char *type)
 
static vtkTrackballPanSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCameraManipulator
static vtkCameraManipulatorNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCameraManipulatorSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkTrackballPan ()
 
 ~vtkTrackballPan ()
 
 vtkTrackballPan (const vtkTrackballPan &) VTK_DELETE_FUNCTION
 
void operator= (const vtkTrackballPan &) VTK_DELETE_FUNCTION
 
- Protected Member Functions inherited from vtkCameraManipulator
void ComputeDisplayCenter (vtkRenderer *ren)
 
 vtkCameraManipulator ()
 Get/Set the GUI helper. More...
 
 ~vtkCameraManipulator ()
 Get/Set the GUI helper. More...
 

Additional Inherited Members

- Protected Attributes inherited from vtkCameraManipulator
char * ManipulatorName
 
int Button
 
int Shift
 
int Control
 
double Center [3]
 
double RotationFactor
 
double DisplayCenter [2]
 
vtkCameraManipulatorGUIHelperGUIHelper
 

Detailed Description

Pans camera with x y mouse movements.

vtkTrackballPan allows the user to interactively manipulate the camera, the viewpoint of the scene. Moving the mouse down zooms in. Up zooms out. This manipulator has not been extended to parallel projection yet. It works in perspective by rotating the camera.

Definition at line 32 of file vtkTrackballPan.h.

Member Typedef Documentation

§ Superclass

Definition at line 36 of file vtkTrackballPan.h.

Constructor & Destructor Documentation

§ vtkTrackballPan() [1/2]

vtkTrackballPan::vtkTrackballPan ( )
protected

§ ~vtkTrackballPan()

vtkTrackballPan::~vtkTrackballPan ( )
protected

§ vtkTrackballPan() [2/2]

vtkTrackballPan::vtkTrackballPan ( const vtkTrackballPan )
protected

Member Function Documentation

§ New()

static vtkTrackballPan* vtkTrackballPan::New ( )
static

§ GetClassName()

virtual const char* vtkTrackballPan::GetClassName ( )
virtual

Reimplemented from vtkCameraManipulator.

§ IsTypeOf()

static int vtkTrackballPan::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkTrackballPan::IsA ( const char *  type)
virtual

Reimplemented from vtkCameraManipulator.

§ SafeDownCast()

static vtkTrackballPan* vtkTrackballPan::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkTrackballPan::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ OnMouseMove()

virtual void vtkTrackballPan::OnMouseMove ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  iren 
)
virtual

Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Reimplemented from vtkCameraManipulator.

§ OnButtonDown()

virtual void vtkTrackballPan::OnButtonDown ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  iren 
)
virtual

Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Reimplemented from vtkCameraManipulator.

§ OnButtonUp()

virtual void vtkTrackballPan::OnButtonUp ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  iren 
)
virtual

Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Reimplemented from vtkCameraManipulator.

§ operator=()

void vtkTrackballPan::operator= ( const vtkTrackballPan )
protected

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