VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkInteractorStyleJoystickActor Class Reference

manipulate objects in the scene independently of one another More...

#include <vtkInteractorStyleJoystickActor.h>

Inherits vtkInteractorStyle.

Public Types

typedef vtkInteractorStyle Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkInteractorStyleJoystickActorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Rotate ()
 
virtual void Spin ()
 
virtual void Pan ()
 
virtual void Dolly ()
 
virtual void UniformScale ()
 
virtual void OnMouseMove ()
 
virtual void OnLeftButtonDown ()
 
virtual void OnLeftButtonUp ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 

Static Public Member Functions

static
vtkInteractorStyleJoystickActor
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkInteractorStyleJoystickActor
SafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkInteractorStyleJoystickActor ()
 
 ~vtkInteractorStyleJoystickActor ()
 
void FindPickedActor (int x, int y)
 
void Prop3DTransform (vtkProp3D *prop3D, double *boxCenter, int numRotation, double **rotate, double *scale)
 

Protected Attributes

double MotionFactor
 
vtkProp3D * InteractionProp
 
vtkCellPicker * InteractionPicker
 

Detailed Description

manipulate objects in the scene independently of one another

The class vtkInteractorStyleJoystickActor allows the user to interact with (rotate, zoom, etc.) separate objects in the scene independent of each other. The position of the mouse relative to the center of the object determines the speed of the object's motion. The mouse's velocity detemines the acceleration of the object's motion, so the object will continue moving even when the mouse is not moving. For a 3-button mouse, the left button is for rotation, the right button for zooming, the middle button for panning, and ctrl + left button for spinning. (With fewer mouse buttons, ctrl + shift + left button is for zooming, and shift + left button is for panning.)

See Also
vtkInteractorStyleJoystickCamera vtkInteractorStyleTrackballActor vtkInteractorStyleTrackballCamera
Events:
vtkCommand::InteractionEvent

Definition at line 46 of file vtkInteractorStyleJoystickActor.h.

Member Typedef Documentation

typedef vtkInteractorStyle vtkInteractorStyleJoystickActor::Superclass

Definition at line 51 of file vtkInteractorStyleJoystickActor.h.

Constructor & Destructor Documentation

vtkInteractorStyleJoystickActor::vtkInteractorStyleJoystickActor ( )
protected
vtkInteractorStyleJoystickActor::~vtkInteractorStyleJoystickActor ( )
protected

Member Function Documentation

static vtkInteractorStyleJoystickActor* vtkInteractorStyleJoystickActor::New ( )
static
static int vtkInteractorStyleJoystickActor::IsTypeOf ( const char *  type)
static
virtual int vtkInteractorStyleJoystickActor::IsA ( const char *  type)
virtual
static vtkInteractorStyleJoystickActor* vtkInteractorStyleJoystickActor::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkInteractorStyleJoystickActor::NewInstanceInternal ( ) const
protectedvirtual
vtkInteractorStyleJoystickActor* vtkInteractorStyleJoystickActor::NewInstance ( ) const
void vtkInteractorStyleJoystickActor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkInteractorStyleJoystickActor::OnMouseMove ( )
virtual

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

virtual void vtkInteractorStyleJoystickActor::OnLeftButtonDown ( )
virtual

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

virtual void vtkInteractorStyleJoystickActor::OnLeftButtonUp ( )
virtual

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

virtual void vtkInteractorStyleJoystickActor::OnMiddleButtonDown ( )
virtual

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

virtual void vtkInteractorStyleJoystickActor::OnMiddleButtonUp ( )
virtual

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

virtual void vtkInteractorStyleJoystickActor::OnRightButtonDown ( )
virtual

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

virtual void vtkInteractorStyleJoystickActor::OnRightButtonUp ( )
virtual

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

virtual void vtkInteractorStyleJoystickActor::Rotate ( )
virtual
virtual void vtkInteractorStyleJoystickActor::Spin ( )
virtual
virtual void vtkInteractorStyleJoystickActor::Pan ( )
virtual
virtual void vtkInteractorStyleJoystickActor::Dolly ( )
virtual
virtual void vtkInteractorStyleJoystickActor::UniformScale ( )
virtual
void vtkInteractorStyleJoystickActor::FindPickedActor ( int  x,
int  y 
)
protected
void vtkInteractorStyleJoystickActor::Prop3DTransform ( vtkProp3D *  prop3D,
double *  boxCenter,
int  numRotation,
double **  rotate,
double *  scale 
)
protected

Member Data Documentation

double vtkInteractorStyleJoystickActor::MotionFactor
protected

Definition at line 88 of file vtkInteractorStyleJoystickActor.h.

vtkProp3D* vtkInteractorStyleJoystickActor::InteractionProp
protected

Definition at line 90 of file vtkInteractorStyleJoystickActor.h.

vtkCellPicker* vtkInteractorStyleJoystickActor::InteractionPicker
protected

Definition at line 91 of file vtkInteractorStyleJoystickActor.h.


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