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

Public Types

typedef vtkInteractorStyleTrackballCamera Superclass
 
- Public Types inherited from vtkInteractorStyleTrackballCamera
typedef vtkInteractorStyle Superclass
 
- Public Types inherited from vtkInteractorStyle
typedef vtkInteractorObserver Superclass
 
- Public Types inherited from vtkInteractorObserver
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void OnChar () override
 Overrides superclass behaviors to only support the key codes that make sense in a ParaView application. More...
 
void AddManipulator (vtkCameraManipulator *m)
 Access to adding or removing manipulators. More...
 
void RemoveAllManipulators ()
 Removes all manipulators. More...
 
virtual vtkCameraManipulatorFindManipulator (int button, int shift, int control)
 Returns the chosen manipulator based on the modifiers. More...
 
void OnMouseMove () override
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
void OnLeftButtonDown () override
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
void OnLeftButtonUp () override
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
void OnMiddleButtonDown () override
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
void OnMiddleButtonUp () override
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
void OnRightButtonDown () override
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
void OnRightButtonUp () override
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
void OnKeyDown () override
 Unlike mouse events, these are forwarded to all camera manipulators since we don't have a mechanism to activate a manipulator by key presses currently. More...
 
void OnKeyUp () override
 Unlike mouse events, these are forwarded to all camera manipulators since we don't have a mechanism to activate a manipulator by key presses currently. More...
 
virtual vtkCollectionGetCameraManipulators ()
 Accessor for the collection of camera manipulators. More...
 
virtual void SetMouseWheelZoomsToCursor (bool)
 When enabled, mouse wheel will zoom to the projected point under the cursor position. More...
 
virtual bool GetMouseWheelZoomsToCursor ()
 When enabled, mouse wheel will zoom to the projected point under the cursor position. More...
 
virtual void SetCenterOfRotation (double, double, double)
 Propagates the center to the manipulators. More...
 
virtual void SetCenterOfRotation (double [3])
 Propagates the center to the manipulators. More...
 
virtual doubleGetCenterOfRotation ()
 Propagates the center to the manipulators. More...
 
virtual void GetCenterOfRotation (double &, double &, double &)
 Propagates the center to the manipulators. More...
 
virtual void GetCenterOfRotation (double [3])
 Propagates the center to the manipulators. More...
 
virtual void SetRotationFactor (double)
 Propagates the rotation factor to the manipulators. More...
 
virtual double GetRotationFactor ()
 Propagates the rotation factor to the manipulators. More...
 
- Public Member Functions inherited from vtkInteractorStyleTrackballCamera
vtkInteractorStyleTrackballCameraNewInstance () const
 
virtual void Rotate ()
 
virtual void Spin ()
 
virtual void Pan ()
 
virtual void Dolly ()
 
virtual void OnMouseWheelForward ()
 
virtual void OnMouseWheelBackward ()
 
virtual void SetMotionFactor (double)
 
virtual double GetMotionFactor ()
 
virtual void OnMouseWheelForward ()
 
virtual void OnMouseWheelBackward ()
 
virtual void SetMotionFactor (double)
 
virtual double GetMotionFactor ()
 
- Public Member Functions inherited from vtkInteractorStyle
vtkInteractorStyleNewInstance () const
 
virtual void SetInteractor (vtkRenderWindowInteractor *interactor)
 
virtual void SetEnabled (int)
 
void FindPokedRenderer (int, int)
 
virtual void OnKeyPress ()
 
virtual void OnKeyRelease ()
 
virtual void OnTimer ()
 
virtual void SetAutoAdjustCameraClippingRange (int)
 
virtual int GetAutoAdjustCameraClippingRange ()
 
virtual void AutoAdjustCameraClippingRangeOn ()
 
virtual void AutoAdjustCameraClippingRangeOff ()
 
virtual int GetState ()
 
virtual int GetUseTimers ()
 
virtual void SetUseTimers (int)
 
virtual void UseTimersOn ()
 
virtual void UseTimersOff ()
 
virtual void SetTimerDuration (unsigned long)
 
virtual unsigned long GetTimerDuration ()
 
virtual void SetHandleObservers (int)
 
virtual int GetHandleObservers ()
 
virtual void HandleObserversOn ()
 
virtual void HandleObserversOff ()
 
virtual void OnExpose ()
 
virtual void OnConfigure ()
 
virtual void OnEnter ()
 
virtual void OnLeave ()
 
virtual void Zoom ()
 
virtual void UniformScale ()
 
virtual void OnPinch ()
 
virtual void OnRotate ()
 
virtual void OnPan ()
 
virtual void OnTap ()
 
virtual void OnLongTap ()
 
virtual void OnSwipe ()
 
virtual void StartState (int newstate)
 
virtual void StopState ()
 
virtual void StartAnimate ()
 
virtual void StopAnimate ()
 
virtual void StartRotate ()
 
virtual void EndRotate ()
 
virtual void StartZoom ()
 
virtual void EndZoom ()
 
virtual void StartPan ()
 
virtual void EndPan ()
 
virtual void StartSpin ()
 
virtual void EndSpin ()
 
virtual void StartDolly ()
 
virtual void EndDolly ()
 
virtual void StartUniformScale ()
 
virtual void EndUniformScale ()
 
virtual void StartTimer ()
 
virtual void EndTimer ()
 
virtual void StartTwoPointer ()
 
virtual void EndTwoPointer ()
 
virtual void HighlightProp (vtkProp *prop)
 
virtual void HighlightActor2D (vtkActor2D *actor2D)
 
virtual void HighlightProp3D (vtkProp3D *prop3D)
 
virtual void SetPickColor (double, double, double)
 
virtual void SetPickColor (double[3])
 
virtual doubleGetPickColor ()
 
virtual void GetPickColor (double data[3])
 
virtual void SetMouseWheelMotionFactor (double)
 
virtual double GetMouseWheelMotionFactor ()
 
virtual vtkTDxInteractorStyleGetTDxStyle ()
 
virtual void SetTDxStyle (vtkTDxInteractorStyle *tdxStyle)
 
void DelegateTDxEvent (unsigned long event, void *calldata)
 
virtual void SetAutoAdjustCameraClippingRange (int)
 
virtual int GetAutoAdjustCameraClippingRange ()
 
virtual void AutoAdjustCameraClippingRangeOn ()
 
virtual void AutoAdjustCameraClippingRangeOff ()
 
virtual int GetState ()
 
virtual int GetUseTimers ()
 
virtual void SetUseTimers (int)
 
virtual void UseTimersOn ()
 
virtual void UseTimersOff ()
 
virtual void SetTimerDuration (unsigned long)
 
virtual unsigned long GetTimerDuration ()
 
virtual void SetHandleObservers (int)
 
virtual int GetHandleObservers ()
 
virtual void HandleObserversOn ()
 
virtual void HandleObserversOff ()
 
virtual void OnExpose ()
 
virtual void OnConfigure ()
 
virtual void OnEnter ()
 
virtual void OnLeave ()
 
virtual void Zoom ()
 
virtual void UniformScale ()
 
virtual void OnPinch ()
 
virtual void OnRotate ()
 
virtual void OnPan ()
 
virtual void OnTap ()
 
virtual void OnLongTap ()
 
virtual void OnSwipe ()
 
virtual void StartState (int newstate)
 
virtual void StopState ()
 
virtual void StartAnimate ()
 
virtual void StopAnimate ()
 
virtual void StartRotate ()
 
virtual void EndRotate ()
 
virtual void StartZoom ()
 
virtual void EndZoom ()
 
virtual void StartPan ()
 
virtual void EndPan ()
 
virtual void StartSpin ()
 
virtual void EndSpin ()
 
virtual void StartDolly ()
 
virtual void EndDolly ()
 
virtual void StartUniformScale ()
 
virtual void EndUniformScale ()
 
virtual void StartTimer ()
 
virtual void EndTimer ()
 
virtual void StartTwoPointer ()
 
virtual void EndTwoPointer ()
 
virtual void HighlightProp (vtkProp *prop)
 
virtual void HighlightActor2D (vtkActor2D *actor2D)
 
virtual void HighlightProp3D (vtkProp3D *prop3D)
 
virtual void SetPickColor (double, double, double)
 
virtual void SetPickColor (double[3])
 
virtual doubleGetPickColor ()
 
virtual void GetPickColor (double data[3])
 
virtual void SetMouseWheelMotionFactor (double)
 
virtual double GetMouseWheelMotionFactor ()
 
virtual vtkTDxInteractorStyleGetTDxStyle ()
 
virtual void SetTDxStyle (vtkTDxInteractorStyle *tdxStyle)
 
void DelegateTDxEvent (unsigned long event, void *calldata)
 
- Public Member Functions inherited from vtkInteractorObserver
vtkInteractorObserverNewInstance () const
 
int GetEnabled ()
 
void EnabledOn ()
 
void EnabledOff ()
 
void On ()
 
void Off ()
 
virtual vtkRenderWindowInteractorGetInteractor ()
 
virtual void SetPriority (float)
 
virtual float GetPriority ()
 
virtual void PickingManagedOn ()
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual void SetKeyPressActivation (int)
 
virtual int GetKeyPressActivation ()
 
virtual void KeyPressActivationOn ()
 
virtual void KeyPressActivationOff ()
 
virtual void SetKeyPressActivationValue (char)
 
virtual char GetKeyPressActivationValue ()
 
virtual vtkRendererGetDefaultRenderer ()
 
virtual void SetDefaultRenderer (vtkRenderer *)
 
virtual vtkRendererGetCurrentRenderer ()
 
virtual void SetCurrentRenderer (vtkRenderer *)
 
void GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void ReleaseFocus ()
 
int GetEnabled ()
 
void EnabledOn ()
 
void EnabledOff ()
 
void On ()
 
void Off ()
 
virtual vtkRenderWindowInteractorGetInteractor ()
 
virtual void SetPriority (float)
 
virtual float GetPriority ()
 
virtual void PickingManagedOn ()
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual void SetKeyPressActivation (int)
 
virtual int GetKeyPressActivation ()
 
virtual void KeyPressActivationOn ()
 
virtual void KeyPressActivationOff ()
 
virtual void SetKeyPressActivationValue (char)
 
virtual char GetKeyPressActivationValue ()
 
virtual vtkRendererGetDefaultRenderer ()
 
virtual void SetDefaultRenderer (vtkRenderer *)
 
virtual vtkRendererGetCurrentRenderer ()
 
virtual void SetCurrentRenderer (vtkRenderer *)
 
void GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void ReleaseFocus ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkPVInteractorStyleNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVInteractorStyleSafeDownCast (vtkObject *o)
 
static void DollyToPosition (double fact, int *position, vtkRenderer *renderer)
 Dolly the renderer's camera to a specific point. More...
 
static void TranslateCamera (vtkRenderer *renderer, int toX, int toY, int fromX, int fromY)
 Translate the renderer's camera. More...
 
- Static Public Member Functions inherited from vtkInteractorStyleTrackballCamera
static vtkInteractorStyleTrackballCameraNew ()
 
static int IsTypeOf (const char *type)
 
static vtkInteractorStyleTrackballCameraSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorStyle
static vtkInteractorStyleNew ()
 
static int IsTypeOf (const char *type)
 
static vtkInteractorStyleSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorObserver
static int IsTypeOf (const char *type)
 
static vtkInteractorObserverSafeDownCast (vtkObjectBase *o)
 
static void ComputeDisplayToWorld (vtkRenderer *ren, double x, double y, double z, double worldPt[4])
 
static void ComputeWorldToDisplay (vtkRenderer *ren, double x, double y, double z, double displayPt[3])
 
static void ComputeDisplayToWorld (vtkRenderer *ren, double x, double y, double z, double worldPt[4])
 
static void ComputeWorldToDisplay (vtkRenderer *ren, double x, double y, double z, double displayPt[3])
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkPVInteractorStyle ()
 
 ~vtkPVInteractorStyle () override
 
void Dolly (double factor) override
 
void OnButtonDown (int button, int shift, int control)
 
void OnButtonUp (int button)
 
void ResetLights ()
 
 vtkPVInteractorStyle (const vtkPVInteractorStyle &)=delete
 
void operator= (const vtkPVInteractorStyle &)=delete
 
- Protected Member Functions inherited from vtkInteractorStyleTrackballCamera
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorStyleTrackballCamera ()
 
 ~vtkInteractorStyleTrackballCamera ()
 
- Protected Member Functions inherited from vtkInteractorStyle
 vtkInteractorStyle ()
 
 ~vtkInteractorStyle ()
 
- Protected Member Functions inherited from vtkInteractorObserver
 vtkInteractorObserver ()
 
 ~vtkInteractorObserver ()
 
virtual void RegisterPickers ()
 
void UnRegisterPickers ()
 
virtual void PickersModified ()
 
vtkPickingManagerGetPickingManager ()
 
int RequestCursorShape (int requestedShape)
 
virtual void StartInteraction ()
 
virtual void EndInteraction ()
 
void ComputeDisplayToWorld (double x, double y, double z, double worldPt[4])
 
void ComputeWorldToDisplay (double x, double y, double z, double displayPt[3])
 
vtkAssemblyPathGetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 
virtual void StartInteraction ()
 
virtual void EndInteraction ()
 
void ComputeDisplayToWorld (double x, double y, double z, double worldPt[4])
 
void ComputeWorldToDisplay (double x, double y, double z, double displayPt[3])
 
vtkAssemblyPathGetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkCameraManipulatorCurrentManipulator
 
bool MouseWheelZoomsToCursor = false
 
double CenterOfRotation [3]
 
double RotationFactor
 
vtkCollectionCameraManipulators
 
- Protected Attributes inherited from vtkInteractorStyleTrackballCamera
double MotionFactor
 
- Protected Attributes inherited from vtkInteractorStyle
int State
 
int AnimState
 
int HandleObservers
 
int UseTimers
 
int TimerId
 
int AutoAdjustCameraClippingRange
 
vtkOutlineSourceOutline
 
vtkPolyDataMapperOutlineMapper
 
vtkActorOutlineActor
 
vtkRendererPickedRenderer
 
vtkPropCurrentProp
 
vtkActor2DPickedActor2D
 
int PropPicked
 
double PickColor [3]
 
double MouseWheelMotionFactor
 
unsigned long TimerDuration
 
vtkEventForwarderCommandEventForwarder
 
vtkTDxInteractorStyleTDxStyle
 
- Protected Attributes inherited from vtkInteractorObserver
int Enabled
 
vtkCallbackCommandEventCallbackCommand
 
vtkCallbackCommandKeyPressCallbackCommand
 
float Priority
 
bool PickingManaged
 
int KeyPressActivation
 
char KeyPressActivationValue
 
vtkRenderWindowInteractorInteractor
 
vtkRendererCurrentRenderer
 
vtkRendererDefaultRenderer
 
unsigned long CharObserverTag
 
unsigned long DeleteObserverTag
 
vtkObserverMediatorObserverMediator
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkInteractorStyle
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 
- Static Protected Member Functions inherited from vtkInteractorObserver
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 

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

Member Typedef Documentation

◆ Superclass

Definition at line 41 of file vtkPVInteractorStyle.h.

Constructor & Destructor Documentation

◆ vtkPVInteractorStyle() [1/2]

vtkPVInteractorStyle::vtkPVInteractorStyle ( )
protected

◆ ~vtkPVInteractorStyle()

vtkPVInteractorStyle::~vtkPVInteractorStyle ( )
overrideprotected

◆ vtkPVInteractorStyle() [2/2]

vtkPVInteractorStyle::vtkPVInteractorStyle ( const vtkPVInteractorStyle )
protecteddelete

Member Function Documentation

◆ New()

static vtkPVInteractorStyle* vtkPVInteractorStyle::New ( )
static

◆ GetClassName()

virtual const char* vtkPVInteractorStyle::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ SafeDownCast()

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

◆ PrintSelf()

void vtkPVInteractorStyle::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnMouseMove()

void vtkPVInteractorStyle::OnMouseMove ( )
overridevirtual

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

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnLeftButtonDown()

void vtkPVInteractorStyle::OnLeftButtonDown ( )
overridevirtual

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

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnLeftButtonUp()

void vtkPVInteractorStyle::OnLeftButtonUp ( )
overridevirtual

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

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnMiddleButtonDown()

void vtkPVInteractorStyle::OnMiddleButtonDown ( )
overridevirtual

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

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnMiddleButtonUp()

void vtkPVInteractorStyle::OnMiddleButtonUp ( )
overridevirtual

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

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnRightButtonDown()

void vtkPVInteractorStyle::OnRightButtonDown ( )
overridevirtual

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

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnRightButtonUp()

void vtkPVInteractorStyle::OnRightButtonUp ( )
overridevirtual

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

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnKeyDown()

void vtkPVInteractorStyle::OnKeyDown ( )
overridevirtual

Unlike mouse events, these are forwarded to all camera manipulators since we don't have a mechanism to activate a manipulator by key presses currently.

Reimplemented from vtkInteractorStyle.

◆ OnKeyUp()

void vtkPVInteractorStyle::OnKeyUp ( )
overridevirtual

Unlike mouse events, these are forwarded to all camera manipulators since we don't have a mechanism to activate a manipulator by key presses currently.

Reimplemented from vtkInteractorStyle.

◆ OnChar()

void vtkPVInteractorStyle::OnChar ( )
overridevirtual

Overrides superclass behaviors to only support the key codes that make sense in a ParaView application.

Reimplemented from vtkInteractorStyle.

◆ AddManipulator()

void vtkPVInteractorStyle::AddManipulator ( vtkCameraManipulator m)

Access to adding or removing manipulators.

◆ RemoveAllManipulators()

void vtkPVInteractorStyle::RemoveAllManipulators ( )

Removes all manipulators.

◆ GetCameraManipulators()

virtual vtkCollection* vtkPVInteractorStyle::GetCameraManipulators ( )
virtual

Accessor for the collection of camera manipulators.

◆ SetMouseWheelZoomsToCursor()

virtual void vtkPVInteractorStyle::SetMouseWheelZoomsToCursor ( bool  )
virtual

When enabled, mouse wheel will zoom to the projected point under the cursor position.

There is no need to hold down Ctrl key to achieve this.

◆ GetMouseWheelZoomsToCursor()

virtual bool vtkPVInteractorStyle::GetMouseWheelZoomsToCursor ( )
virtual

When enabled, mouse wheel will zoom to the projected point under the cursor position.

There is no need to hold down Ctrl key to achieve this.

◆ SetCenterOfRotation() [1/2]

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

Propagates the center to the manipulators.

This simply sets an internal 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.

◆ SetCenterOfRotation() [2/2]

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

Propagates the center to the manipulators.

This simply sets an internal 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.

◆ GetCenterOfRotation() [1/3]

virtual double* vtkPVInteractorStyle::GetCenterOfRotation ( )
virtual

Propagates the center to the manipulators.

This simply sets an internal 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.

◆ GetCenterOfRotation() [2/3]

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

Propagates the center to the manipulators.

This simply sets an internal 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.

◆ GetCenterOfRotation() [3/3]

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

Propagates the center to the manipulators.

This simply sets an internal 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.

◆ SetRotationFactor()

virtual void vtkPVInteractorStyle::SetRotationFactor ( double  )
virtual

Propagates the rotation factor to the manipulators.

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

◆ GetRotationFactor()

virtual double vtkPVInteractorStyle::GetRotationFactor ( )
virtual

Propagates the rotation factor to the manipulators.

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

◆ FindManipulator()

virtual vtkCameraManipulator* vtkPVInteractorStyle::FindManipulator ( int  button,
int  shift,
int  control 
)
virtual

Returns the chosen manipulator based on the modifiers.

◆ DollyToPosition()

static void vtkPVInteractorStyle::DollyToPosition ( double  fact,
int position,
vtkRenderer renderer 
)
static

Dolly the renderer's camera to a specific point.

◆ TranslateCamera()

static void vtkPVInteractorStyle::TranslateCamera ( vtkRenderer renderer,
int  toX,
int  toY,
int  fromX,
int  fromY 
)
static

Translate the renderer's camera.

◆ Dolly()

void vtkPVInteractorStyle::Dolly ( double  factor)
overrideprotectedvirtual

Reimplemented from vtkInteractorStyleTrackballCamera.

◆ OnButtonDown()

void vtkPVInteractorStyle::OnButtonDown ( int  button,
int  shift,
int  control 
)
protected

◆ OnButtonUp()

void vtkPVInteractorStyle::OnButtonUp ( int  button)
protected

◆ ResetLights()

void vtkPVInteractorStyle::ResetLights ( )
protected

◆ operator=()

void vtkPVInteractorStyle::operator= ( const vtkPVInteractorStyle )
protecteddelete

Member Data Documentation

◆ CurrentManipulator

vtkCameraManipulator* vtkPVInteractorStyle::CurrentManipulator
protected

Definition at line 151 of file vtkPVInteractorStyle.h.

◆ MouseWheelZoomsToCursor

bool vtkPVInteractorStyle::MouseWheelZoomsToCursor = false
protected

Definition at line 152 of file vtkPVInteractorStyle.h.

◆ CenterOfRotation

double vtkPVInteractorStyle::CenterOfRotation[3]
protected

Definition at line 153 of file vtkPVInteractorStyle.h.

◆ RotationFactor

double vtkPVInteractorStyle::RotationFactor
protected

Definition at line 154 of file vtkPVInteractorStyle.h.

◆ CameraManipulators

vtkCollection* vtkPVInteractorStyle::CameraManipulators
protected

Definition at line 157 of file vtkPVInteractorStyle.h.


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