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