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
vtkInteractorStyleTrackballCamera Class Reference

interactive manipulation of the camera More...

#include <vtkInteractorStyleTrackballCamera.h>

Inheritance diagram for vtkInteractorStyleTrackballCamera:
[legend]

Public Types

typedef vtkInteractorStyle Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkInteractorStyleTrackballCameraNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Rotate ()
 
virtual void Spin ()
 
virtual void Pan ()
 
virtual void Dolly ()
 
virtual void OnMouseMove ()
 
virtual void OnLeftButtonDown ()
 
virtual void OnLeftButtonUp ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
virtual void OnMouseWheelForward ()
 
virtual void OnMouseWheelBackward ()
 
virtual void SetMotionFactor (double)
 
virtual double GetMotionFactor ()
 

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkInteractorStyleTrackballCamera ()
 
 ~vtkInteractorStyleTrackballCamera ()
 
virtual void Dolly (double factor)
 

Protected Attributes

double MotionFactor
 

Detailed Description

interactive manipulation of the camera

vtkInteractorStyleTrackballCamera allows the user to interactively manipulate (rotate, pan, etc.) the camera, the viewpoint of the scene. In trackball interaction, the magnitude of the mouse motion is proportional to the camera motion associated with a particular mouse binding. For example, small left-button motions cause small changes in the rotation of the camera around its focal point. 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
vtkInteractorStyleTrackballActor vtkInteractorStyleJoystickCamera vtkInteractorStyleJoystickActor
Events:
vtkCommand::InteractionEvent
Examples:
vtkInteractorStyleTrackballCamera (Examples)
Tests:
vtkInteractorStyleTrackballCamera (Tests)

Definition at line 49 of file vtkInteractorStyleTrackballCamera.h.

Member Typedef Documentation

Definition at line 53 of file vtkInteractorStyleTrackballCamera.h.

Constructor & Destructor Documentation

vtkInteractorStyleTrackballCamera::vtkInteractorStyleTrackballCamera ( )
protected
vtkInteractorStyleTrackballCamera::~vtkInteractorStyleTrackballCamera ( )
protected

Member Function Documentation

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

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

Reimplemented in vtkInteractorStyleImage, vtkParallelCoordinatesInteractorStyle, vtkInteractorStyleTreeMapHover, vtkGeoInteractorStyle, vtkInteractorStyleRubberBand3D, and vtkInteractorStyleRubberBandPick.

virtual void vtkInteractorStyleTrackballCamera::OnLeftButtonDown ( )
virtual

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

Reimplemented in vtkInteractorStyleImage, vtkParallelCoordinatesInteractorStyle, vtkGeoInteractorStyle, vtkInteractorStyleRubberBand3D, and vtkInteractorStyleRubberBandPick.

virtual void vtkInteractorStyleTrackballCamera::OnLeftButtonUp ( )
virtual

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

Reimplemented in vtkInteractorStyleImage, vtkParallelCoordinatesInteractorStyle, vtkInteractorStyleTreeMapHover, vtkGeoInteractorStyle, vtkInteractorStyleRubberBand3D, and vtkInteractorStyleRubberBandPick.

virtual void vtkInteractorStyleTrackballCamera::OnMiddleButtonDown ( )
virtual

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

Reimplemented in vtkInteractorStyleImage, vtkParallelCoordinatesInteractorStyle, vtkGeoInteractorStyle, and vtkInteractorStyleRubberBand3D.

virtual void vtkInteractorStyleTrackballCamera::OnMiddleButtonUp ( )
virtual

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

Reimplemented in vtkInteractorStyleImage, vtkParallelCoordinatesInteractorStyle, vtkGeoInteractorStyle, and vtkInteractorStyleRubberBand3D.

virtual void vtkInteractorStyleTrackballCamera::OnRightButtonDown ( )
virtual

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

Reimplemented in vtkInteractorStyleImage, vtkParallelCoordinatesInteractorStyle, vtkGeoInteractorStyle, and vtkInteractorStyleRubberBand3D.

virtual void vtkInteractorStyleTrackballCamera::OnRightButtonUp ( )
virtual

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

Reimplemented in vtkInteractorStyleImage, vtkParallelCoordinatesInteractorStyle, vtkGeoInteractorStyle, and vtkInteractorStyleRubberBand3D.

virtual void vtkInteractorStyleTrackballCamera::OnMouseWheelForward ( )
virtual

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

Reimplemented in vtkInteractorStyleRubberBand3D.

virtual void vtkInteractorStyleTrackballCamera::OnMouseWheelBackward ( )
virtual

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

Reimplemented in vtkInteractorStyleRubberBand3D.

virtual void vtkInteractorStyleTrackballCamera::Rotate ( )
virtual
virtual void vtkInteractorStyleTrackballCamera::Spin ( )
virtual
virtual void vtkInteractorStyleTrackballCamera::Pan ( )
virtual
virtual void vtkInteractorStyleTrackballCamera::Dolly ( )
virtual

Reimplemented in vtkGeoInteractorStyle.

virtual void vtkInteractorStyleTrackballCamera::SetMotionFactor ( double  )
virtual

Set the apparent sensitivity of the interactor style to mouse motion.

virtual double vtkInteractorStyleTrackballCamera::GetMotionFactor ( )
virtual

Set the apparent sensitivity of the interactor style to mouse motion.

virtual void vtkInteractorStyleTrackballCamera::Dolly ( double  factor)
protectedvirtual

Reimplemented in vtkGeoInteractorStyle.

Member Data Documentation

double vtkInteractorStyleTrackballCamera::MotionFactor
protected

Definition at line 89 of file vtkInteractorStyleTrackballCamera.h.


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