Go to the documentation of this file.
20 #ifndef vtkOpenVRInteractorStyle_h
21 #define vtkOpenVRInteractorStyle_h
23 #include "vtkRenderingOpenVRModule.h"
75 void OnPan()
override;
85 void LoadNextCameraPose();
108 vtkSetClampMacro(HoverPick,
int, 0, 1);
109 vtkGetMacro(HoverPick,
int);
110 vtkBooleanMacro(HoverPick,
int);
113 return this->InteractionState[static_cast<int>(device)]; }
119 void HideBillboard();
123 void HidePickActor();
125 void ToggleDrawControls();
131 return this->Menu.Get(); }
145 static void MenuCallback(
vtkObject*
object,
perform various plane computations
vtkOpenVRMenuWidget * GetMenu()
represents an 3D object for placement in a rendered scene
int GetInteractionState(vtkEventDataDevice device)
An actor that displays text.
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller.
vtkNew< vtkActor > PickActor
static vtkInteractorStyle3D * New()
abstract base class for most VTK objects
const int vtkEventDataNumberOfInputs
data object that represents a "selection" in VTK.
virtual void OnPinch()
gesture based events
void SetInteractor(vtkRenderWindowInteractor *interactor) override
Set/Get the Interactor wrapper being controlled by this object.
virtual void OnButton3D(vtkEventData *)
pick an actor/prop given a controller position and orientation
vtkNew< vtkSphereSource > Sphere
virtual void PositionProp(vtkEventData *)
const int vtkEventDataNumberOfDevices
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
create a polygonal sphere centered at the origin
abstract class to specify cell behavior
a simple class to control print indentation
platform-independent render window interaction including picking and frame rate control.
vtkNew< vtkOpenVRMenuWidget > Menu
vtkNew< vtkOpenVRMenuRepresentation > MenuRepresentation
extends interaction to support 3D input
vtkNew< vtkTextActor3D > TextActor3D
int HoverPick
Indicates if picking should be updated every frame.
vtkEventDataDevice
platform-independent event data structures
extended from vtkInteractorStyle3D to override command methods
supports function callbacks
vtkNew< vtkOpenVRHardwarePicker > HardwarePicker
vtkCallbackCommand * MenuCommand
virtual void OnMove3D(vtkEventData *)
Generic 3D event bindings can be overridden in subclasses.