24 #ifndef vtkOpenVRControlsHelper_h
25 #define vtkOpenVRControlsHelper_h
30 #include "vtkRenderingOpenVRModule.h"
101 void SetTooltipInfo(
const char* s,
int buttonSide,
int drawSide,
const char* txt)
108 this->DrawSide = drawSide;
109 this->ButtonSide = buttonSide;
114 vtkGetMacro(Enabled,
bool);
115 vtkBooleanMacro(Enabled,
bool);
146 double ControlPositionLC[3];
158 double LastPhysicalTranslation[3];
159 double LastEventPosition[3];
160 double LastEventOrientation[4];
represents an object (geometry & properties) in a rendered scene
supports function callbacks
object to represent cell connectivity
a simple class to control print indentation
create a line defined by two end points
abstract base class for most VTK objects
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller.
vtkStdString ComponentName
void SetText(vtkStdString str)
Set Tooltip text (used by TextActor)
vtkPolyDataMapper * LineMapper
vtkCallbackCommand * MoveCallbackCommand
void BuildRepresentation()
Methods to interface with the vtkOpenVRPanelWidget.
void InitControlPosition()
vtkLineSource * LineSource
vtkNew< vtkTransform > TempTransform
void SetTooltipInfo(const char *s, int buttonSide, int drawSide, const char *txt)
vtkTypeBool HasTranslucentPolygonalGeometry() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void UpdateRepresentation()
void ReleaseGraphicsResources(vtkWindow *) override
Methods supporting the rendering process.
virtual vtkRenderer * GetRenderer()
static vtkOpenVRControlsHelper * New()
Instantiate the class.
virtual void SetRenderer(vtkRenderer *ren)
void SetDevice(vtkEventDataDevice val)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
void SetEnabled(bool enabled)
vtkTextActor3D * TextActor
vtkWeakPointer< vtkRenderer > Renderer
~vtkOpenVRControlsHelper() override
vtkEventDataDevice Device
static void MoveEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
int RenderOpaqueGeometry(vtkViewport *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkOpenVRControlsHelper()
unsigned long ObserverTag
represent and manipulate 3D points
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract superclass for all actors, volumes and annotations
represent surface properties of a geometric object
abstract specification for renderers
Wrapper around std::string to keep symbols short.
An actor that displays text.
abstract specification for Viewports
window superclass for vtkRenderWindow
vtkEventDataDevice
platform-independent event data structures