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,
pick an actor/prop given a controller position and orientation
abstract base class for most VTK objects
virtual void OnButton3D(vtkEventData *)
vtkNew< vtkOpenVRMenuWidget > Menu
virtual void PositionProp(vtkEventData *)
void SetInteractor(vtkRenderWindowInteractor *interactor) override
Set/Get the Interactor wrapper being controlled by this object.
int HoverPick
Indicates if picking should be updated every frame.
extends interaction to support 3D input
data object that represents a "selection" in VTK.
int GetInteractionState(vtkEventDataDevice device)
vtkNew< vtkOpenVRHardwarePicker > HardwarePicker
represents an 3D object for placement in a rendered scene
const int vtkEventDataNumberOfDevices
extended from vtkInteractorStyle3D to override command methods
const int vtkEventDataNumberOfInputs
platform-independent render window interaction including picking and frame rate control.
vtkCallbackCommand * MenuCommand
abstract class to specify cell behavior
create a polygonal sphere centered at the origin
supports function callbacks
virtual void OnMove3D(vtkEventData *)
Generic 3D event bindings can be overridden in subclasses.
vtkNew< vtkSphereSource > Sphere
a simple class to control print indentation
perform various plane computations
vtkNew< vtkOpenVRMenuRepresentation > MenuRepresentation
vtkEventDataDevice
platform-independent event data structures
An actor that displays text.
vtkNew< vtkActor > PickActor
static vtkInteractorStyle3D * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNew< vtkTextActor3D > TextActor3D
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller...
virtual void OnPinch()
gesture based events
vtkOpenVRMenuWidget * GetMenu()