ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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]

Public Types

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)
 
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 ()
 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...
 

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 RotationFactor
 
double DisplayCenter [2]
 
vtkCameraManipulatorGUIHelperGUIHelper
 
void SetGUIHelper (vtkCameraManipulatorGUIHelper *)
 Get/Set the GUI helper. More...
 
virtual vtkCameraManipulatorGUIHelperGetGUIHelper ()
 Get/Set the GUI helper. More...
 
 vtkCameraManipulator ()
 Get/Set the GUI helper. More...
 
 ~vtkCameraManipulator ()
 Get/Set the GUI helper. More...
 

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 36 of file vtkCameraManipulator.h.

Member Typedef Documentation

§ Superclass

Definition at line 40 of file vtkCameraManipulator.h.

Constructor & Destructor Documentation

§ vtkCameraManipulator()

vtkCameraManipulator::vtkCameraManipulator ( )
protected

Get/Set the GUI helper.

§ ~vtkCameraManipulator()

vtkCameraManipulator::~vtkCameraManipulator ( )
protected

Get/Set the GUI helper.

Member Function Documentation

§ New()

static vtkCameraManipulator* vtkCameraManipulator::New ( )
static

§ GetClassName()

virtual const char* vtkCameraManipulator::GetClassName ( )
virtual

§ IsTypeOf()

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

§ IsA()

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

§ SafeDownCast()

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

§ PrintSelf()

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

§ StartInteraction()

virtual void vtkCameraManipulator::StartInteraction ( )
virtual

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

§ EndInteraction()

virtual void vtkCameraManipulator::EndInteraction ( )
virtual

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

§ OnMouseMove()

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

§ OnButtonDown()

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

§ OnButtonUp()

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

§ OnKeyUp()

virtual void vtkCameraManipulator::OnKeyUp ( vtkRenderWindowInteractor *  iren)
virtual

These methods are called on all registered manipulators, not just the active one.

Hence, these should just be used to record state and not perform any interactions.

Reimplemented in vtkPVTrackballRotate.

§ OnKeyDown()

virtual void vtkCameraManipulator::OnKeyDown ( vtkRenderWindowInteractor *  iren)
virtual

These methods are called on all registered manipulators, not just the active one.

Hence, these should just be used to record state and not perform any interactions.

Reimplemented in vtkPVTrackballRotate.

§ SetButton()

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.

§ GetButton()

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.

§ SetShift()

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.

§ GetShift()

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.

§ ShiftOn()

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.

§ ShiftOff()

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.

§ SetControl()

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.

§ GetControl()

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.

§ ControlOn()

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.

§ ControlOff()

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.

§ SetCenter() [1/2]

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

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

§ SetCenter() [2/2]

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

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

§ GetCenter() [1/3]

virtual double* vtkCameraManipulator::GetCenter ( )
virtual

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

§ GetCenter() [2/3]

virtual void vtkCameraManipulator::GetCenter ( double &  ,
double &  ,
double &   
)
virtual

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

§ GetCenter() [3/3]

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

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

§ SetRotationFactor()

virtual void vtkCameraManipulator::SetRotationFactor ( double  )
virtual

Set and get the rotation factor.

§ GetRotationFactor()

virtual double vtkCameraManipulator::GetRotationFactor ( )
virtual

Set and get the rotation factor.

§ SetManipulatorName()

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

Set and get the manipulator name.

§ GetManipulatorName()

virtual char* vtkCameraManipulator::GetManipulatorName ( )
virtual

Set and get the manipulator name.

§ SetGUIHelper()

void vtkCameraManipulator::SetGUIHelper ( vtkCameraManipulatorGUIHelper )

Get/Set the GUI helper.

§ GetGUIHelper()

virtual vtkCameraManipulatorGUIHelper* vtkCameraManipulator::GetGUIHelper ( )
virtual

Get/Set the GUI helper.

§ ComputeDisplayCenter()

void vtkCameraManipulator::ComputeDisplayCenter ( vtkRenderer *  ren)
protected

Member Data Documentation

§ ManipulatorName

char* vtkCameraManipulator::ManipulatorName
protected

Definition at line 118 of file vtkCameraManipulator.h.

§ Button

int vtkCameraManipulator::Button
protected

Definition at line 120 of file vtkCameraManipulator.h.

§ Shift

int vtkCameraManipulator::Shift
protected

Definition at line 121 of file vtkCameraManipulator.h.

§ Control

int vtkCameraManipulator::Control
protected

Definition at line 122 of file vtkCameraManipulator.h.

§ Center

double vtkCameraManipulator::Center[3]
protected

Definition at line 124 of file vtkCameraManipulator.h.

§ RotationFactor

double vtkCameraManipulator::RotationFactor
protected

Definition at line 125 of file vtkCameraManipulator.h.

§ DisplayCenter

double vtkCameraManipulator::DisplayCenter[2]
protected

Definition at line 126 of file vtkCameraManipulator.h.

§ GUIHelper

vtkCameraManipulatorGUIHelper* vtkCameraManipulator::GUIHelper
protected

Definition at line 129 of file vtkCameraManipulator.h.


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