ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkCameraManipulator Class Reference

Abstraction of style away from button. More...

#include <vtkCameraManipulator.h>

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

List of all members.

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)
virtual void OnButtonDown (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonUp (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void StartInteraction ()
virtual void EndInteraction ()
virtual void SetButton (int)
virtual int GetButton ()
virtual void SetShift (int)
virtual int GetShift ()
virtual void ShiftOn ()
virtual void ShiftOff ()
virtual void SetControl (int)
virtual int GetControl ()
virtual void ControlOn ()
virtual void ControlOff ()
virtual void SetCenter (double, double, double)
virtual void SetCenter (double[3])
virtual doubleGetCenter ()
virtual void GetCenter (double &, double &, double &)
virtual void GetCenter (double[3])
virtual void SetManipulatorName (const char *)
virtual char * GetManipulatorName ()

Static Public Member Functions

static vtkCameraManipulatorNew ()
static int IsTypeOf (const char *type)
static vtkCameraManipulatorSafeDownCast (vtkObject *o)

Protected Member Functions

void ComputeDisplayCenter (vtkRenderer *ren)

Protected Attributes

char * ManipulatorName
int Button
int Shift
int Control
double Center [3]
double DisplayCenter [2]
vtkCameraManipulatorGUIHelperGUIHelper
void SetGUIHelper (vtkCameraManipulatorGUIHelper *)
virtual
vtkCameraManipulatorGUIHelper
GetGUIHelper ()
 vtkCameraManipulator ()
 ~vtkCameraManipulator ()

Detailed Description

Abstraction of style away from button.

vtkCameraManipulator is a superclass foractions inside an interactor style and associated with a single button. An example might be rubber-band bounding-box zoom. This abstraction allows a camera manipulator to be assigned to any button. This super class might become a subclass of vtkInteractorObserver in the future.

Definition at line 34 of file vtkCameraManipulator.h.


Constructor & Destructor Documentation

vtkCameraManipulator::vtkCameraManipulator ( ) [protected]

Get/Set the GUI helper.

vtkCameraManipulator::~vtkCameraManipulator ( ) [protected]

Get/Set the GUI helper.


Member Function Documentation

static vtkCameraManipulator* vtkCameraManipulator::New ( ) [static]
virtual const char* vtkCameraManipulator::GetClassName ( ) [virtual]
static int vtkCameraManipulator::IsTypeOf ( const char *  type) [static]
virtual int vtkCameraManipulator::IsA ( const char *  type) [virtual]
static vtkCameraManipulator* vtkCameraManipulator::SafeDownCast ( vtkObject o) [static]
void vtkCameraManipulator::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
virtual void vtkCameraManipulator::StartInteraction ( ) [virtual]

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

virtual void vtkCameraManipulator::EndInteraction ( ) [virtual]

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

virtual void vtkCameraManipulator::OnMouseMove ( int  x,
int  y,
vtkRenderer ren,
vtkRenderWindowInteractor iren 
) [virtual]
virtual void vtkCameraManipulator::OnButtonDown ( int  x,
int  y,
vtkRenderer ren,
vtkRenderWindowInteractor iren 
) [virtual]
virtual void vtkCameraManipulator::OnButtonUp ( int  x,
int  y,
vtkRenderer ren,
vtkRenderWindowInteractor iren 
) [virtual]
virtual void vtkCameraManipulator::SetButton ( int  ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual int vtkCameraManipulator::GetButton ( ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual void vtkCameraManipulator::SetShift ( int  ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual int vtkCameraManipulator::GetShift ( ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual void vtkCameraManipulator::ShiftOn ( ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual void vtkCameraManipulator::ShiftOff ( ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual void vtkCameraManipulator::SetControl ( int  ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual int vtkCameraManipulator::GetControl ( ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual void vtkCameraManipulator::ControlOn ( ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual void vtkCameraManipulator::ControlOff ( ) [virtual]

These settings determine which button and modifiers the manipulator responds to. Button can be either 1 (left), 2 (middle), and 3 right.

virtual void vtkCameraManipulator::SetCenter ( double  ,
double  ,
double   
) [virtual]

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual void vtkCameraManipulator::SetCenter ( double  [3]) [virtual]

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual double* vtkCameraManipulator::GetCenter ( ) [virtual]

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual void vtkCameraManipulator::GetCenter ( double ,
double ,
double  
) [virtual]

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual void vtkCameraManipulator::GetCenter ( double  [3]) [virtual]

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual void vtkCameraManipulator::SetManipulatorName ( const char *  ) [virtual]

Set and get the manipulator name.

virtual char* vtkCameraManipulator::GetManipulatorName ( ) [virtual]

Set and get the manipulator name.

void vtkCameraManipulator::SetGUIHelper ( vtkCameraManipulatorGUIHelper )

Get/Set the GUI helper.

virtual vtkCameraManipulatorGUIHelper* vtkCameraManipulator::GetGUIHelper ( ) [virtual]

Get/Set the GUI helper.

void vtkCameraManipulator::ComputeDisplayCenter ( vtkRenderer ren) [protected]

Member Data Documentation

Definition at line 89 of file vtkCameraManipulator.h.

Definition at line 91 of file vtkCameraManipulator.h.

Definition at line 92 of file vtkCameraManipulator.h.

Definition at line 93 of file vtkCameraManipulator.h.

Reimplemented in vtkPVTrackballRotate.

Definition at line 95 of file vtkCameraManipulator.h.

Reimplemented in vtkPVTrackballRotate.

Definition at line 96 of file vtkCameraManipulator.h.

Definition at line 99 of file vtkCameraManipulator.h.


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