Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPVCameraManipulator Class Reference

Abstraction of style away from button. More...

#include <vtkPVCameraManipulator.h>

Inheritance diagram for vtkPVCameraManipulator:

Inheritance graph
[legend]
Collaboration diagram for vtkPVCameraManipulator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVCameraManipulator, vtkObject)
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 (float, float, float)
virtual void SetCenter (float[3])
virtual float * GetCenter ()
virtual void GetCenter (float &, float &, float &)
virtual void GetCenter (float[3])
void SetApplication (vtkPVApplication *)
virtual vtkPVApplicationGetApplication ()
virtual void SetManipulatorName (const char *)
virtual char * GetManipulatorName ()

Static Public Member Functions

vtkPVCameraManipulatorNew ()

Protected Member Functions

 vtkPVCameraManipulator ()
 ~vtkPVCameraManipulator ()
void ResetLights ()
void ComputeDisplayCenter (vtkRenderer *ren)

Protected Attributes

char * ManipulatorName
int Button
int Shift
int Control
float Center [3]
float DisplayCenter [2]
vtkPVApplicationApplication

Detailed Description

Abstraction of style away from button.

vtkPVCameraManipulator 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 vtkPVCameraManipulator.h.


Constructor & Destructor Documentation

vtkPVCameraManipulator::vtkPVCameraManipulator  )  [protected]
 

vtkPVCameraManipulator::~vtkPVCameraManipulator  )  [protected]
 


Member Function Documentation

vtkPVCameraManipulator* vtkPVCameraManipulator::New  )  [static]
 

Reimplemented in vtkPVJoystickFlyIn, vtkPVJoystickFlyOut, vtkPVTrackballMoveActor, vtkPVTrackballPan, vtkPVTrackballRoll, vtkPVTrackballRotate, and vtkPVTrackballZoom.

vtkPVCameraManipulator::vtkTypeRevisionMacro vtkPVCameraManipulator  ,
vtkObject 
 

void vtkPVCameraManipulator::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented in vtkPVJoystickFly, vtkPVJoystickFlyIn, vtkPVJoystickFlyOut, vtkPVTrackballMoveActor, vtkPVTrackballPan, vtkPVTrackballRoll, vtkPVTrackballRotate, and vtkPVTrackballZoom.

virtual void vtkPVCameraManipulator::StartInteraction  )  [virtual]
 

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

virtual void vtkPVCameraManipulator::EndInteraction  )  [virtual]
 

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

virtual void vtkPVCameraManipulator::OnMouseMove int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  iren
[virtual]
 

Reimplemented in vtkPVJoystickFly, vtkPVTrackballMoveActor, vtkPVTrackballPan, vtkPVTrackballRoll, vtkPVTrackballRotate, and vtkPVTrackballZoom.

virtual void vtkPVCameraManipulator::OnButtonDown int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  iren
[virtual]
 

Reimplemented in vtkPVJoystickFly, vtkPVTrackballMoveActor, vtkPVTrackballPan, vtkPVTrackballRoll, vtkPVTrackballRotate, and vtkPVTrackballZoom.

virtual void vtkPVCameraManipulator::OnButtonUp int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  iren
[virtual]
 

Reimplemented in vtkPVJoystickFly, vtkPVTrackballMoveActor, vtkPVTrackballPan, vtkPVTrackballRoll, vtkPVTrackballRotate, and vtkPVTrackballZoom.

virtual void vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::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 vtkPVCameraManipulator::SetCenter float  ,
float  ,
float 
[virtual]
 

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual void vtkPVCameraManipulator::SetCenter float  [3]  )  [virtual]
 

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual float* vtkPVCameraManipulator::GetCenter  )  [virtual]
 

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual void vtkPVCameraManipulator::GetCenter float &  ,
float &  ,
float & 
[virtual]
 

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

virtual void vtkPVCameraManipulator::GetCenter float  [3]  )  [virtual]
 

For setting the center of rotation.

Reimplemented in vtkPVTrackballRotate.

void vtkPVCameraManipulator::SetApplication vtkPVApplication  ) 
 

In order to make calls on the application, we need a pointer to it.

virtual vtkPVApplication* vtkPVCameraManipulator::GetApplication  )  [virtual]
 

In order to make calls on the application, we need a pointer to it.

virtual void vtkPVCameraManipulator::SetManipulatorName const char *   )  [virtual]
 

Set and get the manipulator name.

virtual char* vtkPVCameraManipulator::GetManipulatorName  )  [virtual]
 

Set and get the manipulator name.

void vtkPVCameraManipulator::ResetLights  )  [protected]
 

void vtkPVCameraManipulator::ComputeDisplayCenter vtkRenderer *  ren  )  [protected]
 


Member Data Documentation

char* vtkPVCameraManipulator::ManipulatorName [protected]
 

Definition at line 92 of file vtkPVCameraManipulator.h.

int vtkPVCameraManipulator::Button [protected]
 

Definition at line 94 of file vtkPVCameraManipulator.h.

int vtkPVCameraManipulator::Shift [protected]
 

Definition at line 95 of file vtkPVCameraManipulator.h.

int vtkPVCameraManipulator::Control [protected]
 

Definition at line 96 of file vtkPVCameraManipulator.h.

float vtkPVCameraManipulator::Center[3] [protected]
 

Reimplemented in vtkPVTrackballRotate.

Definition at line 98 of file vtkPVCameraManipulator.h.

float vtkPVCameraManipulator::DisplayCenter[2] [protected]
 

Reimplemented in vtkPVTrackballRotate.

Definition at line 99 of file vtkPVCameraManipulator.h.

vtkPVApplication* vtkPVCameraManipulator::Application [protected]
 

Definition at line 102 of file vtkPVCameraManipulator.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:36:08 2006 for ParaView by doxygen 1.3.5