 |
VTK
9.0.1
|
Go to the documentation of this file.
23 #ifndef vtkOpenVRInteractorStyle_h
24 #define vtkOpenVRInteractorStyle_h
26 #include "vtkRenderingOpenVRModule.h"
78 void OnPan()
override;
88 void LoadNextCameraPose();
106 void AddTooltipForInput(
116 vtkSetMacro(HoverPick,
bool);
117 vtkGetMacro(HoverPick,
bool);
118 vtkBooleanMacro(HoverPick,
bool);
125 vtkSetMacro(GrabWithRay,
bool);
126 vtkGetMacro(GrabWithRay,
bool);
127 vtkBooleanMacro(GrabWithRay,
bool);
132 return this->InteractionState[
static_cast<int>(device)];
139 void HideBillboard();
143 void HidePickActor();
145 void ToggleDrawControls();
146 void SetDrawControls(
bool);
165 static void MenuCallback(
166 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
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.
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
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.