VTK  9.1.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vtkOpenVRInteractorStyle Class Reference

extended from vtkInteractorStyle3D to override command methods More...

#include <vtkOpenVRInteractorStyle.h>

Inheritance diagram for vtkOpenVRInteractorStyle:
[legend]
Collaboration diagram for vtkOpenVRInteractorStyle:
[legend]

Public Types

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

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkOpenVRInteractorStyleNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
int GetInteractionState (vtkEventDataDevice device)
 
void ShowRay (vtkEventDataDevice controller)
 
void HideRay (vtkEventDataDevice controller)
 
void ShowBillboard (const std::string &text)
 
void HideBillboard ()
 
void ShowPickSphere (double *pos, double radius, vtkProp3D *)
 
void ShowPickCell (vtkCell *cell, vtkProp3D *)
 
void HidePickActor ()
 
void ToggleDrawControls ()
 
void SetDrawControls (bool)
 
void SetInteractor (vtkRenderWindowInteractor *iren) override
 Set/Get the Interactor wrapper being controlled by this object. More...
 
vtkVRMenuWidgetGetMenu ()
 
void OnSelect3D (vtkEventData *edata) override
 Override generic event bindings to call the corresponding action. More...
 
void OnNextPose3D (vtkEventData *edata) override
 Override generic event bindings to call the corresponding action. More...
 
void OnViewerMovement3D (vtkEventData *edata) override
 Override generic event bindings to call the corresponding action. More...
 
void OnMove3D (vtkEventData *edata) override
 Override generic event bindings to call the corresponding action. More...
 
void OnMenu3D (vtkEventData *edata) override
 Override generic event bindings to call the corresponding action. More...
 
virtual void StartPick (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void EndPick (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void StartLoadCamPose (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void EndLoadCamPose (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void StartPositionProp (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void EndPositionProp (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void StartClip (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void EndClip (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void StartDolly3D (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
virtual void EndDolly3D (vtkEventDataDevice3D *)
 Interaction mode entry points. More...
 
void OnPan () override
 Multitouch events binding. More...
 
void OnPinch () override
 Multitouch events binding. More...
 
void OnRotate () override
 Multitouch events binding. More...
 
void ProbeData (vtkEventDataDevice controller)
 Methods for intertaction. More...
 
void LoadNextCameraPose ()
 Methods for intertaction. More...
 
virtual void PositionProp (vtkEventData *, double *lwpos=nullptr, double *lwori=nullptr)
 Methods for intertaction. More...
 
virtual void Clip (vtkEventDataDevice3D *)
 Methods for intertaction. More...
 
void MapInputToAction (vtkCommand::EventIds eid, int state)
 Map controller inputs to actions. More...
 
void MapInputToAction (vtkCommand::EventIds eid, vtkEventDataAction action, int state)
 Map controller inputs to actions. More...
 
void AddTooltipForInput (vtkEventDataDevice device, vtkEventDataDeviceInput input, const std::string &text)
 Define the helper text that goes with an input, deprecated as open vr mostly provides it. More...
 
virtual void SetHoverPick (bool)
 Indicates if picking should be updated every frame. More...
 
virtual bool GetHoverPick ()
 Indicates if picking should be updated every frame. More...
 
virtual void HoverPickOn ()
 Indicates if picking should be updated every frame. More...
 
virtual void HoverPickOff ()
 Indicates if picking should be updated every frame. More...
 
virtual void SetGrabWithRay (bool)
 Specify if the grab mode use the ray to grab distant objects. More...
 
virtual bool GetGrabWithRay ()
 Specify if the grab mode use the ray to grab distant objects. More...
 
virtual void GrabWithRayOn ()
 Specify if the grab mode use the ray to grab distant objects. More...
 
virtual void GrabWithRayOff ()
 Specify if the grab mode use the ray to grab distant objects. More...
 
- Public Member Functions inherited from vtkInteractorStyle3D
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkInteractorStyle3DNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void PositionProp (vtkEventData *, double *lwpos=nullptr, double *lwori=nullptr)
 
virtual void Dolly3D (vtkEventData *)
 
virtual void SetScale (vtkCamera *cam, double newScale)
 Set the scaling factor from world to physical space. More...
 
virtual void SetDollyPhysicalSpeed (double)
 Set/Get the maximum dolly speed used when flying in 3D, in meters per second. More...
 
virtual double GetDollyPhysicalSpeed ()
 Set/Get the maximum dolly speed used when flying in 3D, in meters per second. More...
 
virtual vtkAbstractPropPickerGetInteractionPicker ()
 Get/Set the interaction picker. More...
 
void SetInteractionPicker (vtkAbstractPropPicker *prop)
 Get/Set the interaction picker. More...
 
- Public Member Functions inherited from vtkInteractorStyle
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkInteractorStyleNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
void SetInteractor (vtkRenderWindowInteractor *interactor) override
 Set/Get the Interactor wrapper being controlled by this object. More...
 
void SetEnabled (int) override
 Turn on/off this interactor. More...
 
void FindPokedRenderer (int, int)
 When an event occurs, we must determine which Renderer the event occurred within, since one RenderWindow may contain multiple renderers. More...
 
virtual void OnMouseMove ()
 Generic event bindings can be overridden in subclasses. More...
 
virtual void OnLeftButtonDown ()
 
virtual void OnLeftButtonUp ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
virtual void OnLeftButtonDoubleClick ()
 
virtual void OnMiddleButtonDoubleClick ()
 
virtual void OnRightButtonDoubleClick ()
 
virtual void OnMouseWheelForward ()
 
virtual void OnMouseWheelBackward ()
 
virtual void OnMouseWheelLeft ()
 
virtual void OnMouseWheelRight ()
 
virtual void OnFourthButtonDown ()
 
virtual void OnFourthButtonUp ()
 
virtual void OnFifthButtonDown ()
 
virtual void OnFifthButtonUp ()
 
virtual void OnMove3D (vtkEventData *)
 Generic 3D event bindings can be overridden in subclasses. More...
 
virtual void OnButton3D (vtkEventData *)
 
virtual void OnPick3D (vtkEventData *)
 
virtual void OnClip3D (vtkEventData *)
 
virtual void OnSelect3D (vtkEventData *)
 
virtual void OnMenu3D (vtkEventData *)
 
virtual void OnNextPose3D (vtkEventData *)
 
virtual void OnPositionProp3D (vtkEventData *)
 
virtual void OnViewerMovement3D (vtkEventData *)
 
void OnChar () override
 OnChar is triggered when an ASCII key is pressed. More...
 
virtual void OnKeyDown ()
 
virtual void OnKeyUp ()
 
virtual void OnKeyPress ()
 
virtual void OnKeyRelease ()
 
virtual void OnExpose ()
 These are more esoteric events, but are useful in some cases. More...
 
virtual void OnConfigure ()
 
virtual void OnEnter ()
 
virtual void OnLeave ()
 
virtual void OnTimer ()
 OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses. More...
 
virtual void Rotate ()
 These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion. More...
 
virtual void Spin ()
 
virtual void Pan ()
 
virtual void Dolly ()
 
virtual void Zoom ()
 
virtual void UniformScale ()
 
virtual void EnvironmentRotate ()
 
virtual void OnStartSwipe ()
 gesture based events More...
 
virtual void OnSwipe ()
 
virtual void OnEndSwipe ()
 
virtual void OnStartPinch ()
 
virtual void OnPinch ()
 
virtual void OnEndPinch ()
 
virtual void OnStartRotate ()
 
virtual void OnRotate ()
 
virtual void OnEndRotate ()
 
virtual void OnStartPan ()
 
virtual void OnPan ()
 
virtual void OnEndPan ()
 
virtual void OnTap ()
 
virtual void OnLongTap ()
 
virtual void OnDropLocation (double *vtkNotUsed(position))
 When the mouse location is updated while dragging files. More...
 
virtual void OnDropFiles (vtkStringArray *vtkNotUsed(filePaths))
 When files are dropped on the render window. More...
 
void DelegateTDxEvent (unsigned long event, void *calldata)
 Called by the callback to process 3DConnexion device events. More...
 
virtual void SetAutoAdjustCameraClippingRange (vtkTypeBool)
 If AutoAdjustCameraClippingRange is on, then before each render the camera clipping range will be adjusted to "fit" the whole scene. More...
 
virtual vtkTypeBool GetAutoAdjustCameraClippingRange ()
 If AutoAdjustCameraClippingRange is on, then before each render the camera clipping range will be adjusted to "fit" the whole scene. More...
 
virtual void AutoAdjustCameraClippingRangeOn ()
 If AutoAdjustCameraClippingRange is on, then before each render the camera clipping range will be adjusted to "fit" the whole scene. More...
 
virtual void AutoAdjustCameraClippingRangeOff ()
 If AutoAdjustCameraClippingRange is on, then before each render the camera clipping range will be adjusted to "fit" the whole scene. More...
 
virtual int GetState ()
 Some useful information for interaction. More...
 
virtual vtkTypeBool GetUseTimers ()
 Set/Get timer hint. More...
 
virtual void SetUseTimers (vtkTypeBool)
 Set/Get timer hint. More...
 
virtual void UseTimersOn ()
 Set/Get timer hint. More...
 
virtual void UseTimersOff ()
 Set/Get timer hint. More...
 
virtual void SetTimerDuration (unsigned long)
 If using timers, specify the default timer interval (in milliseconds). More...
 
virtual unsigned long GetTimerDuration ()
 If using timers, specify the default timer interval (in milliseconds). More...
 
virtual void SetHandleObservers (vtkTypeBool)
 Does ProcessEvents handle observers on this class or not. More...
 
virtual vtkTypeBool GetHandleObservers ()
 Does ProcessEvents handle observers on this class or not. More...
 
virtual void HandleObserversOn ()
 Does ProcessEvents handle observers on this class or not. More...
 
virtual void HandleObserversOff ()
 Does ProcessEvents handle observers on this class or not. More...
 
virtual void StartState (int newstate)
 utility routines used by state changes More...
 
virtual void StopState ()
 utility routines used by state changes More...
 
virtual void StartAnimate ()
 Interaction mode entry points used internally. More...
 
virtual void StopAnimate ()
 Interaction mode entry points used internally. More...
 
virtual void StartRotate ()
 Interaction mode entry points used internally. More...
 
virtual void EndRotate ()
 Interaction mode entry points used internally. More...
 
virtual void StartZoom ()
 Interaction mode entry points used internally. More...
 
virtual void EndZoom ()
 Interaction mode entry points used internally. More...
 
virtual void StartPan ()
 Interaction mode entry points used internally. More...
 
virtual void EndPan ()
 Interaction mode entry points used internally. More...
 
virtual void StartSpin ()
 Interaction mode entry points used internally. More...
 
virtual void EndSpin ()
 Interaction mode entry points used internally. More...
 
virtual void StartDolly ()
 Interaction mode entry points used internally. More...
 
virtual void EndDolly ()
 Interaction mode entry points used internally. More...
 
virtual void StartUniformScale ()
 Interaction mode entry points used internally. More...
 
virtual void EndUniformScale ()
 Interaction mode entry points used internally. More...
 
virtual void StartTimer ()
 Interaction mode entry points used internally. More...
 
virtual void EndTimer ()
 Interaction mode entry points used internally. More...
 
virtual void StartTwoPointer ()
 Interaction mode entry points used internally. More...
 
virtual void EndTwoPointer ()
 Interaction mode entry points used internally. More...
 
virtual void StartGesture ()
 Interaction mode entry points used internally. More...
 
virtual void EndGesture ()
 Interaction mode entry points used internally. More...
 
virtual void StartEnvRotate ()
 Interaction mode entry points used internally. More...
 
virtual void EndEnvRotate ()
 Interaction mode entry points used internally. More...
 
virtual void HighlightProp (vtkProp *prop)
 When picking successfully selects an actor, this method highlights the picked prop appropriately. More...
 
virtual void HighlightActor2D (vtkActor2D *actor2D)
 When picking successfully selects an actor, this method highlights the picked prop appropriately. More...
 
virtual void HighlightProp3D (vtkProp3D *prop3D)
 When picking successfully selects an actor, this method highlights the picked prop appropriately. More...
 
virtual void SetPickColor (double, double, double)
 Set/Get the pick color (used by default to color vtkActor2D's). More...
 
virtual void SetPickColor (double[3])
 Set/Get the pick color (used by default to color vtkActor2D's). More...
 
virtual double * GetPickColor ()
 Set/Get the pick color (used by default to color vtkActor2D's). More...
 
virtual void GetPickColor (double data[3])
 Set/Get the pick color (used by default to color vtkActor2D's). More...
 
virtual void SetMouseWheelMotionFactor (double)
 Set/Get the mouse wheel motion factor. More...
 
virtual double GetMouseWheelMotionFactor ()
 Set/Get the mouse wheel motion factor. More...
 
virtual vtkTDxInteractorStyleGetTDxStyle ()
 3Dconnexion device interactor style. More...
 
virtual void SetTDxStyle (vtkTDxInteractorStyle *tdxStyle)
 3Dconnexion device interactor style. More...
 
- Public Member Functions inherited from vtkInteractorObserver
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkInteractorObserverNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void SetEnabled (int)
 Methods for turning the interactor observer on and off, and determining its state. More...
 
int GetEnabled ()
 
void EnabledOn ()
 
void EnabledOff ()
 
void On ()
 
void Off ()
 
virtual void OnChar ()
 Sets up the keypress-i event. More...
 
virtual vtkRenderWindowInteractorGetInteractor ()
 This method is used to associate the widget with the render window interactor. More...
 
virtual void SetPriority (float)
 Set/Get the priority at which events are processed. More...
 
virtual float GetPriority ()
 Set/Get the priority at which events are processed. More...
 
virtual void PickingManagedOn ()
 Enable/Disable the use of a manager to process the picking. More...
 
virtual void PickingManagedOff ()
 Enable/Disable the use of a manager to process the picking. More...
 
virtual void SetPickingManaged (bool managed)
 Enable/Disable the use of a manager to process the picking. More...
 
virtual bool GetPickingManaged ()
 Enable/Disable the use of a manager to process the picking. More...
 
virtual void SetKeyPressActivation (vtkTypeBool)
 Enable/Disable of the use of a keypress to turn on and off the interactor observer. More...
 
virtual vtkTypeBool GetKeyPressActivation ()
 Enable/Disable of the use of a keypress to turn on and off the interactor observer. More...
 
virtual void KeyPressActivationOn ()
 Enable/Disable of the use of a keypress to turn on and off the interactor observer. More...
 
virtual void KeyPressActivationOff ()
 Enable/Disable of the use of a keypress to turn on and off the interactor observer. More...
 
virtual void SetKeyPressActivationValue (char)
 Specify which key press value to use to activate the interactor observer (if key press activation is enabled). More...
 
virtual char GetKeyPressActivationValue ()
 Specify which key press value to use to activate the interactor observer (if key press activation is enabled). More...
 
virtual vtkRendererGetDefaultRenderer ()
 Set/Get the default renderer to use when activating the interactor observer. More...
 
virtual void SetDefaultRenderer (vtkRenderer *)
 Set/Get the default renderer to use when activating the interactor observer. More...
 
virtual vtkRendererGetCurrentRenderer ()
 Set/Get the current renderer. More...
 
virtual void SetCurrentRenderer (vtkRenderer *)
 Set/Get the current renderer. More...
 
void GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods enable an interactor observer to exclusively grab all events invoked by its associated vtkRenderWindowInteractor. More...
 
void ReleaseFocus ()
 These methods enable an interactor observer to exclusively grab all events invoked by its associated vtkRenderWindowInteractor. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time. More...
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
vtkTypeBool HasObserver (unsigned long event)
 
vtkTypeBool 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)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
vtkCommandGetCommand (unsigned long tag)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObserver (vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObservers (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
void RemoveObservers (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
virtual vtkIdType GetNumberOfGenerationsFromBase (const char *name)
 Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object). More...
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object). More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
bool GetIsInMemkind () const
 A local state flag that remembers whether this object lives in the normal or extended memory space. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 

Static Public Member Functions

static vtkOpenVRInteractorStyleNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkOpenVRInteractorStyleSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorStyle3D
static vtkInteractorStyle3DNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkInteractorStyle3DSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorStyle
static vtkInteractorStyleNew ()
 This class must be supplied with a vtkRenderWindowInteractor wrapper or parent. More...
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkInteractorStyleSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkInteractorObserver
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkInteractorObserverSafeDownCast (vtkObjectBase *o)
 
static void ComputeDisplayToWorld (vtkRenderer *ren, double x, double y, double z, double worldPt[4])
 Convenience methods for outside classes. More...
 
static void ComputeWorldToDisplay (vtkRenderer *ren, double x, double y, double z, double displayPt[3])
 Convenience methods for outside classes. More...
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. More...
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkOpenVRInteractorStyle ()
 
 ~vtkOpenVRInteractorStyle () override
 
void EndPickCallback (vtkSelection *sel)
 
void UpdateRay (vtkEventDataDevice controller)
 
void StartAction (int VTKIS_STATE, vtkEventDataDevice3D *edata)
 
void EndAction (int VTKIS_STATE, vtkEventDataDevice3D *edata)
 
bool HardwareSelect (vtkEventDataDevice controller, bool actorPassOnly)
 
void AddTooltipForInput (vtkEventDataDevice device, vtkEventDataDeviceInput input)
 Controls helpers drawing. More...
 
- Protected Member Functions inherited from vtkInteractorStyle3D
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorStyle3D ()
 Get/Set the interaction picker. More...
 
 ~vtkInteractorStyle3D () override
 Get/Set the interaction picker. More...
 
void FindPickedActor (double pos[3], double orient[4])
 Get/Set the interaction picker. More...
 
void Prop3DTransform (vtkProp3D *prop3D, double *boxCenter, int NumRotation, double **rotate, double *scale)
 Get/Set the interaction picker. More...
 
- Protected Member Functions inherited from vtkInteractorStyle
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorStyle ()
 
 ~vtkInteractorStyle () override
 
- Protected Member Functions inherited from vtkInteractorObserver
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkInteractorObserver ()
 
 ~vtkInteractorObserver () override
 
virtual void RegisterPickers ()
 Register internal Pickers in the Picking Manager. More...
 
void UnRegisterPickers ()
 Unregister internal pickers from the Picking Manager. More...
 
vtkPickingManagerGetPickingManager ()
 Return the picking manager associated on the context on which the observer currently belong. More...
 
vtkAssemblyPathGetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 Proceed to a pick, whether through the PickingManager if the picking is managed or directly using the picker, and return the assembly path. More...
 
int RequestCursorShape (int requestedShape)
 
virtual void StartInteraction ()
 Utility routines used to start and end interaction. More...
 
virtual void EndInteraction ()
 Utility routines used to start and end interaction. More...
 
void ComputeDisplayToWorld (double x, double y, double z, double worldPt[4])
 Helper method for subclasses. More...
 
void ComputeWorldToDisplay (double x, double y, double z, double displayPt[3])
 Helper method for subclasses. More...
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 These methods allow a command to exclusively grab all events. More...
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Static Protected Member Functions

static void MenuCallback (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 
- Static Protected Member Functions inherited from vtkInteractorStyle
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 Main process event method. More...
 
- Static Protected Member Functions inherited from vtkInteractorObserver
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 Handles the char widget activation event. More...
 
- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 

Protected Attributes

vtkNew< vtkVRMenuWidgetMenu
 
vtkNew< vtkVRMenuRepresentationMenuRepresentation
 
vtkCallbackCommandMenuCommand
 
vtkNew< vtkTextActor3DTextActor3D
 
vtkNew< vtkActorPickActor
 
vtkNew< vtkSphereSourceSphere
 
std::map< std::tuple< vtkCommand::EventIds, vtkEventDataAction >, int > InputMap
 
vtkOpenVRControlsHelperControlsHelpers [vtkEventDataNumberOfDevices][vtkEventDataNumberOfInputs]
 
bool HoverPick
 
bool GrabWithRay
 
int InteractionState [vtkEventDataNumberOfDevices]
 Store required controllers information when performing action. More...
 
vtkProp3DInteractionProps [vtkEventDataNumberOfDevices]
 
vtkPlaneClippingPlanes [vtkEventDataNumberOfDevices]
 
vtkNew< vtkVRHardwarePickerHardwarePicker
 
- Protected Attributes inherited from vtkInteractorStyle3D
vtkAbstractPropPickerInteractionPicker
 Get/Set the interaction picker. More...
 
vtkProp3DInteractionProp
 Get/Set the interaction picker. More...
 
vtkMatrix3x3TempMatrix3
 Get/Set the interaction picker. More...
 
vtkMatrix4x4TempMatrix4
 Get/Set the interaction picker. More...
 
vtkTransformTempTransform
 Get/Set the interaction picker. More...
 
double AppliedTranslation [3]
 Get/Set the interaction picker. More...
 
double DollyPhysicalSpeed
 Get/Set the interaction picker. More...
 
vtkNew< vtkTimerLogLastDolly3DEventTime
 Get/Set the interaction picker. More...
 
double LastTrackPadPosition [2]
 Get/Set the interaction picker. More...
 
- Protected Attributes inherited from vtkInteractorStyle
int State
 
int AnimState
 
vtkTypeBool HandleObservers
 
vtkTypeBool UseTimers
 
int TimerId
 
vtkTypeBool 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
 
vtkTypeBool 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
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

extended from vtkInteractorStyle3D to override command methods

Definition at line 40 of file vtkOpenVRInteractorStyle.h.

Member Typedef Documentation

◆ Superclass

Definition at line 44 of file vtkOpenVRInteractorStyle.h.

Constructor & Destructor Documentation

◆ vtkOpenVRInteractorStyle()

vtkOpenVRInteractorStyle::vtkOpenVRInteractorStyle ( )
protected

◆ ~vtkOpenVRInteractorStyle()

vtkOpenVRInteractorStyle::~vtkOpenVRInteractorStyle ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkOpenVRInteractorStyle * vtkOpenVRInteractorStyle::New ( )
static

◆ IsTypeOf()

static vtkTypeBool vtkOpenVRInteractorStyle::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual vtkTypeBool vtkOpenVRInteractorStyle::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class.

Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle3D.

◆ SafeDownCast()

static vtkOpenVRInteractorStyle * vtkOpenVRInteractorStyle::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkOpenVRInteractorStyle::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkInteractorStyle3D.

◆ NewInstance()

vtkOpenVRInteractorStyle * vtkOpenVRInteractorStyle::NewInstance ( ) const

◆ PrintSelf()

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

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkInteractorStyle3D.

◆ OnSelect3D()

void vtkOpenVRInteractorStyle::OnSelect3D ( vtkEventData edata)
overridevirtual

Override generic event bindings to call the corresponding action.

Reimplemented from vtkInteractorStyle.

◆ OnNextPose3D()

void vtkOpenVRInteractorStyle::OnNextPose3D ( vtkEventData edata)
overridevirtual

Override generic event bindings to call the corresponding action.

Reimplemented from vtkInteractorStyle.

◆ OnViewerMovement3D()

void vtkOpenVRInteractorStyle::OnViewerMovement3D ( vtkEventData edata)
overridevirtual

Override generic event bindings to call the corresponding action.

Reimplemented from vtkInteractorStyle.

◆ OnMove3D()

void vtkOpenVRInteractorStyle::OnMove3D ( vtkEventData edata)
overridevirtual

Override generic event bindings to call the corresponding action.

Reimplemented from vtkInteractorStyle.

◆ OnMenu3D()

void vtkOpenVRInteractorStyle::OnMenu3D ( vtkEventData edata)
overridevirtual

Override generic event bindings to call the corresponding action.

Reimplemented from vtkInteractorStyle.

◆ StartPick()

virtual void vtkOpenVRInteractorStyle::StartPick ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ EndPick()

virtual void vtkOpenVRInteractorStyle::EndPick ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ StartLoadCamPose()

virtual void vtkOpenVRInteractorStyle::StartLoadCamPose ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ EndLoadCamPose()

virtual void vtkOpenVRInteractorStyle::EndLoadCamPose ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ StartPositionProp()

virtual void vtkOpenVRInteractorStyle::StartPositionProp ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ EndPositionProp()

virtual void vtkOpenVRInteractorStyle::EndPositionProp ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ StartClip()

virtual void vtkOpenVRInteractorStyle::StartClip ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ EndClip()

virtual void vtkOpenVRInteractorStyle::EndClip ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ StartDolly3D()

virtual void vtkOpenVRInteractorStyle::StartDolly3D ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ EndDolly3D()

virtual void vtkOpenVRInteractorStyle::EndDolly3D ( vtkEventDataDevice3D )
virtual

Interaction mode entry points.

◆ OnPan()

void vtkOpenVRInteractorStyle::OnPan ( )
overridevirtual

Multitouch events binding.

Reimplemented from vtkInteractorStyle.

◆ OnPinch()

void vtkOpenVRInteractorStyle::OnPinch ( )
overridevirtual

Multitouch events binding.

Reimplemented from vtkInteractorStyle.

◆ OnRotate()

void vtkOpenVRInteractorStyle::OnRotate ( )
overridevirtual

Multitouch events binding.

Reimplemented from vtkInteractorStyle.

◆ ProbeData()

void vtkOpenVRInteractorStyle::ProbeData ( vtkEventDataDevice  controller)

Methods for intertaction.

◆ LoadNextCameraPose()

void vtkOpenVRInteractorStyle::LoadNextCameraPose ( )

Methods for intertaction.

◆ PositionProp()

virtual void vtkOpenVRInteractorStyle::PositionProp ( vtkEventData ,
double *  lwpos = nullptr,
double *  lwori = nullptr 
)
virtual

Methods for intertaction.

Reimplemented from vtkInteractorStyle3D.

◆ Clip()

virtual void vtkOpenVRInteractorStyle::Clip ( vtkEventDataDevice3D )
virtual

Methods for intertaction.

◆ MapInputToAction() [1/2]

void vtkOpenVRInteractorStyle::MapInputToAction ( vtkCommand::EventIds  eid,
int  state 
)

Map controller inputs to actions.

Actions are defined by a VTKIS_*STATE*, interaction entry points, and the corresponding method for interaction.

◆ MapInputToAction() [2/2]

void vtkOpenVRInteractorStyle::MapInputToAction ( vtkCommand::EventIds  eid,
vtkEventDataAction  action,
int  state 
)

Map controller inputs to actions.

Actions are defined by a VTKIS_*STATE*, interaction entry points, and the corresponding method for interaction.

◆ AddTooltipForInput() [1/2]

void vtkOpenVRInteractorStyle::AddTooltipForInput ( vtkEventDataDevice  device,
vtkEventDataDeviceInput  input,
const std::string &  text 
)

Define the helper text that goes with an input, deprecated as open vr mostly provides it.

◆ SetHoverPick()

virtual void vtkOpenVRInteractorStyle::SetHoverPick ( bool  )
virtual

Indicates if picking should be updated every frame.

If so, the interaction picker will try to pick a prop and rays will be updated accordingly. Default is set to off.

◆ GetHoverPick()

virtual bool vtkOpenVRInteractorStyle::GetHoverPick ( )
virtual

Indicates if picking should be updated every frame.

If so, the interaction picker will try to pick a prop and rays will be updated accordingly. Default is set to off.

◆ HoverPickOn()

virtual void vtkOpenVRInteractorStyle::HoverPickOn ( )
virtual

Indicates if picking should be updated every frame.

If so, the interaction picker will try to pick a prop and rays will be updated accordingly. Default is set to off.

◆ HoverPickOff()

virtual void vtkOpenVRInteractorStyle::HoverPickOff ( )
virtual

Indicates if picking should be updated every frame.

If so, the interaction picker will try to pick a prop and rays will be updated accordingly. Default is set to off.

◆ SetGrabWithRay()

virtual void vtkOpenVRInteractorStyle::SetGrabWithRay ( bool  )
virtual

Specify if the grab mode use the ray to grab distant objects.

◆ GetGrabWithRay()

virtual bool vtkOpenVRInteractorStyle::GetGrabWithRay ( )
virtual

Specify if the grab mode use the ray to grab distant objects.

◆ GrabWithRayOn()

virtual void vtkOpenVRInteractorStyle::GrabWithRayOn ( )
virtual

Specify if the grab mode use the ray to grab distant objects.

◆ GrabWithRayOff()

virtual void vtkOpenVRInteractorStyle::GrabWithRayOff ( )
virtual

Specify if the grab mode use the ray to grab distant objects.

◆ GetInteractionState()

int vtkOpenVRInteractorStyle::GetInteractionState ( vtkEventDataDevice  device)
inline

Definition at line 132 of file vtkOpenVRInteractorStyle.h.

◆ ShowRay()

void vtkOpenVRInteractorStyle::ShowRay ( vtkEventDataDevice  controller)

◆ HideRay()

void vtkOpenVRInteractorStyle::HideRay ( vtkEventDataDevice  controller)

◆ ShowBillboard()

void vtkOpenVRInteractorStyle::ShowBillboard ( const std::string &  text)

◆ HideBillboard()

void vtkOpenVRInteractorStyle::HideBillboard ( )

◆ ShowPickSphere()

void vtkOpenVRInteractorStyle::ShowPickSphere ( double *  pos,
double  radius,
vtkProp3D  
)

◆ ShowPickCell()

void vtkOpenVRInteractorStyle::ShowPickCell ( vtkCell cell,
vtkProp3D  
)

◆ HidePickActor()

void vtkOpenVRInteractorStyle::HidePickActor ( )

◆ ToggleDrawControls()

void vtkOpenVRInteractorStyle::ToggleDrawControls ( )

◆ SetDrawControls()

void vtkOpenVRInteractorStyle::SetDrawControls ( bool  )

◆ SetInteractor()

void vtkOpenVRInteractorStyle::SetInteractor ( vtkRenderWindowInteractor interactor)
overridevirtual

Set/Get the Interactor wrapper being controlled by this object.

(Satisfy superclass API.)

Reimplemented from vtkInteractorStyle.

◆ GetMenu()

vtkVRMenuWidget * vtkOpenVRInteractorStyle::GetMenu ( )
inline

Definition at line 153 of file vtkOpenVRInteractorStyle.h.

◆ EndPickCallback()

void vtkOpenVRInteractorStyle::EndPickCallback ( vtkSelection sel)
protected

◆ UpdateRay()

void vtkOpenVRInteractorStyle::UpdateRay ( vtkEventDataDevice  controller)
protected

◆ MenuCallback()

static void vtkOpenVRInteractorStyle::MenuCallback ( vtkObject object,
unsigned long  event,
void *  clientdata,
void *  calldata 
)
staticprotected

◆ StartAction()

void vtkOpenVRInteractorStyle::StartAction ( int  VTKIS_STATE,
vtkEventDataDevice3D edata 
)
protected

◆ EndAction()

void vtkOpenVRInteractorStyle::EndAction ( int  VTKIS_STATE,
vtkEventDataDevice3D edata 
)
protected

◆ HardwareSelect()

bool vtkOpenVRInteractorStyle::HardwareSelect ( vtkEventDataDevice  controller,
bool  actorPassOnly 
)
protected

◆ AddTooltipForInput() [2/2]

void vtkOpenVRInteractorStyle::AddTooltipForInput ( vtkEventDataDevice  device,
vtkEventDataDeviceInput  input 
)
protected

Controls helpers drawing.

Member Data Documentation

◆ Menu

vtkNew<vtkVRMenuWidget> vtkOpenVRInteractorStyle::Menu
protected

Definition at line 164 of file vtkOpenVRInteractorStyle.h.

◆ MenuRepresentation

vtkNew<vtkVRMenuRepresentation> vtkOpenVRInteractorStyle::MenuRepresentation
protected

Definition at line 165 of file vtkOpenVRInteractorStyle.h.

◆ MenuCommand

vtkCallbackCommand* vtkOpenVRInteractorStyle::MenuCommand
protected

Definition at line 166 of file vtkOpenVRInteractorStyle.h.

◆ TextActor3D

vtkNew<vtkTextActor3D> vtkOpenVRInteractorStyle::TextActor3D
protected

Definition at line 170 of file vtkOpenVRInteractorStyle.h.

◆ PickActor

vtkNew<vtkActor> vtkOpenVRInteractorStyle::PickActor
protected

Definition at line 171 of file vtkOpenVRInteractorStyle.h.

◆ Sphere

vtkNew<vtkSphereSource> vtkOpenVRInteractorStyle::Sphere
protected

Definition at line 172 of file vtkOpenVRInteractorStyle.h.

◆ InputMap

std::map<std::tuple<vtkCommand::EventIds, vtkEventDataAction>, int> vtkOpenVRInteractorStyle::InputMap
protected

Definition at line 175 of file vtkOpenVRInteractorStyle.h.

◆ ControlsHelpers

vtkOpenVRControlsHelper* vtkOpenVRInteractorStyle::ControlsHelpers[vtkEventDataNumberOfDevices][vtkEventDataNumberOfInputs]
protected

Definition at line 176 of file vtkOpenVRInteractorStyle.h.

◆ HoverPick

bool vtkOpenVRInteractorStyle::HoverPick
protected

Definition at line 185 of file vtkOpenVRInteractorStyle.h.

◆ GrabWithRay

bool vtkOpenVRInteractorStyle::GrabWithRay
protected

Definition at line 186 of file vtkOpenVRInteractorStyle.h.

◆ InteractionState

int vtkOpenVRInteractorStyle::InteractionState[vtkEventDataNumberOfDevices]
protected

Store required controllers information when performing action.

Definition at line 191 of file vtkOpenVRInteractorStyle.h.

◆ InteractionProps

vtkProp3D* vtkOpenVRInteractorStyle::InteractionProps[vtkEventDataNumberOfDevices]
protected

Definition at line 192 of file vtkOpenVRInteractorStyle.h.

◆ ClippingPlanes

vtkPlane* vtkOpenVRInteractorStyle::ClippingPlanes[vtkEventDataNumberOfDevices]
protected

Definition at line 193 of file vtkOpenVRInteractorStyle.h.

◆ HardwarePicker

vtkNew<vtkVRHardwarePicker> vtkOpenVRInteractorStyle::HardwarePicker
protected

Definition at line 195 of file vtkOpenVRInteractorStyle.h.


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