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

This camera manipulator combines the vtkPVTrackballRotate and vtkPVTrackballRoll manipulators in one. More...

#include <vtkPVTrackballMultiRotate.h>

Inheritance diagram for vtkPVTrackballMultiRotate:
Inheritance graph
[legend]
Collaboration diagram for vtkPVTrackballMultiRotate:
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)
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void OnMouseMove (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi)
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnButtonDown (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi)
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnButtonUp (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi)
 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 int IsTypeOf (const char *type)
 
static vtkPVTrackballMultiRotateSafeDownCast (vtkObject *o)
 
static vtkPVTrackballMultiRotateNew ()
 
- Static Public Member Functions inherited from vtkCameraManipulator
static vtkCameraManipulatorNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCameraManipulatorSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkPVTrackballMultiRotate ()
 
 ~vtkPVTrackballMultiRotate ()
 
- Protected Member Functions inherited from vtkCameraManipulator
void ComputeDisplayCenter (vtkRenderer *ren)
 
 vtkCameraManipulator ()
 Get/Set the GUI helper. More...
 
 ~vtkCameraManipulator ()
 Get/Set the GUI helper. More...
 

Protected Attributes

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

Detailed Description

This camera manipulator combines the vtkPVTrackballRotate and vtkPVTrackballRoll manipulators in one.

Think of there being an invisible sphere in the middle of the screen. If you grab that sphere and move the mouse, you will rotate that sphere. However, if you grab outside that sphere and move the mouse, you will roll the view.

Definition at line 46 of file vtkPVTrackballMultiRotate.h.

Member Typedef Documentation

◆ Superclass

Definition at line 49 of file vtkPVTrackballMultiRotate.h.

Constructor & Destructor Documentation

◆ vtkPVTrackballMultiRotate()

vtkPVTrackballMultiRotate::vtkPVTrackballMultiRotate ( )
protected

◆ ~vtkPVTrackballMultiRotate()

vtkPVTrackballMultiRotate::~vtkPVTrackballMultiRotate ( )
protected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkPVTrackballMultiRotate::GetClassName ( )
virtual

Reimplemented from vtkCameraManipulator.

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkCameraManipulator.

◆ SafeDownCast()

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

◆ New()

static vtkPVTrackballMultiRotate* vtkPVTrackballMultiRotate::New ( )
static

◆ PrintSelf()

virtual void vtkPVTrackballMultiRotate::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

◆ OnMouseMove()

virtual void vtkPVTrackballMultiRotate::OnMouseMove ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi 
)
virtual

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

Reimplemented from vtkCameraManipulator.

◆ OnButtonDown()

virtual void vtkPVTrackballMultiRotate::OnButtonDown ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi 
)
virtual

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

Reimplemented from vtkCameraManipulator.

◆ OnButtonUp()

virtual void vtkPVTrackballMultiRotate::OnButtonUp ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi 
)
virtual

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

Reimplemented from vtkCameraManipulator.

Member Data Documentation

◆ RotateManipulator

vtkPVTrackballRotate* vtkPVTrackballMultiRotate::RotateManipulator
protected

Definition at line 67 of file vtkPVTrackballMultiRotate.h.

◆ RollManipulator

vtkPVTrackballRoll* vtkPVTrackballMultiRotate::RollManipulator
protected

Definition at line 68 of file vtkPVTrackballMultiRotate.h.

◆ CurrentManipulator

vtkCameraManipulator* vtkPVTrackballMultiRotate::CurrentManipulator
protected

Definition at line 70 of file vtkPVTrackballMultiRotate.h.


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