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

interactive manipulation of the camera More...

#include <vtkPVInteractorStyle.h>

Inheritance diagram for vtkPVInteractorStyle:
Inheritance graph
[legend]
Collaboration diagram for vtkPVInteractorStyle:
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)
void AddManipulator (vtkCameraManipulator *m)
void RemoveAllManipulators ()
virtual void OnChar ()
virtual void OnMouseMove ()
virtual void OnLeftButtonDown ()
virtual void OnLeftButtonUp ()
virtual void OnMiddleButtonDown ()
virtual void OnMiddleButtonUp ()
virtual void OnRightButtonDown ()
virtual void OnRightButtonUp ()
virtual vtkCollectionGetCameraManipulators ()
virtual void SetCenterOfRotation (double, double, double)
virtual void SetCenterOfRotation (double[3])
virtual doubleGetCenterOfRotation ()
virtual void GetCenterOfRotation (double &, double &, double &)
virtual void GetCenterOfRotation (double[3])

Static Public Member Functions

static vtkPVInteractorStyleNew ()
static int IsTypeOf (const char *type)
static vtkPVInteractorStyleSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPVInteractorStyle ()
 ~vtkPVInteractorStyle ()
void OnButtonDown (int button, int shift, int control)
void OnButtonUp (int button)
void ResetLights ()
 vtkPVInteractorStyle (const vtkPVInteractorStyle &)
void operator= (const vtkPVInteractorStyle &)

Protected Attributes

vtkCameraManipulatorCurrent
double CenterOfRotation [3]
vtkCollectionCameraManipulators

Detailed Description

interactive manipulation of the camera

vtkPVInteractorStyle allows the user to interactively manipulate the camera, the viewpoint of the scene. The left button is for rotation; shift + left button is for rolling; the right button is for panning; and shift + right button is for zooming. This class fires vtkCommand::StartInteractionEvent and vtkCommand::EndInteractionEvent to signal start and end of interaction.

Definition at line 34 of file vtkPVInteractorStyle.h.


Constructor & Destructor Documentation

vtkPVInteractorStyle::vtkPVInteractorStyle ( ) [protected]
vtkPVInteractorStyle::~vtkPVInteractorStyle ( ) [protected]
vtkPVInteractorStyle::vtkPVInteractorStyle ( const vtkPVInteractorStyle ) [protected]

Member Function Documentation

static vtkPVInteractorStyle* vtkPVInteractorStyle::New ( ) [static]

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual const char* vtkPVInteractorStyle::GetClassName ( ) [virtual]

Reimplemented from vtkInteractorStyleTrackballCamera.

static int vtkPVInteractorStyle::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual int vtkPVInteractorStyle::IsA ( const char *  type) [virtual]

Reimplemented from vtkInteractorStyleTrackballCamera.

static vtkPVInteractorStyle* vtkPVInteractorStyle::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkInteractorStyleTrackballCamera.

void vtkPVInteractorStyle::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkPVInteractorStyle::OnMouseMove ( ) [virtual]

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

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkPVInteractorStyle::OnLeftButtonDown ( ) [virtual]

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

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkPVInteractorStyle::OnLeftButtonUp ( ) [virtual]

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

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkPVInteractorStyle::OnMiddleButtonDown ( ) [virtual]

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

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkPVInteractorStyle::OnMiddleButtonUp ( ) [virtual]

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

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkPVInteractorStyle::OnRightButtonDown ( ) [virtual]

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

Reimplemented from vtkInteractorStyleTrackballCamera.

virtual void vtkPVInteractorStyle::OnRightButtonUp ( ) [virtual]

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

Reimplemented from vtkInteractorStyleTrackballCamera.

void vtkPVInteractorStyle::AddManipulator ( vtkCameraManipulator m)

Access to adding or removing manipulators.

void vtkPVInteractorStyle::RemoveAllManipulators ( )

Removes all manipulators.

virtual vtkCollection* vtkPVInteractorStyle::GetCameraManipulators ( ) [virtual]

Accessor for the collection of camera manipulators.

virtual void vtkPVInteractorStyle::SetCenterOfRotation ( double  ,
double  ,
double   
) [virtual]

Propagates the center to the manipulators. This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.

virtual void vtkPVInteractorStyle::SetCenterOfRotation ( double  [3]) [virtual]

Propagates the center to the manipulators. This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.

virtual double* vtkPVInteractorStyle::GetCenterOfRotation ( ) [virtual]

Propagates the center to the manipulators. This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.

virtual void vtkPVInteractorStyle::GetCenterOfRotation ( double ,
double ,
double  
) [virtual]

Propagates the center to the manipulators. This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.

virtual void vtkPVInteractorStyle::GetCenterOfRotation ( double  [3]) [virtual]

Propagates the center to the manipulators. This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.

virtual void vtkPVInteractorStyle::OnChar ( ) [inline, virtual]

Do not let the superclass do anything with a char event.

Reimplemented from vtkInteractorStyle.

Definition at line 77 of file vtkPVInteractorStyle.h.

void vtkPVInteractorStyle::OnButtonDown ( int  button,
int  shift,
int  control 
) [protected]
void vtkPVInteractorStyle::OnButtonUp ( int  button) [protected]
void vtkPVInteractorStyle::ResetLights ( ) [protected]
void vtkPVInteractorStyle::operator= ( const vtkPVInteractorStyle ) [protected]

Member Data Documentation

Definition at line 83 of file vtkPVInteractorStyle.h.

Definition at line 84 of file vtkPVInteractorStyle.h.

Definition at line 87 of file vtkPVInteractorStyle.h.


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