12 #ifndef vtkVRControlsHelper_h
13 #define vtkVRControlsHelper_h
18 #include "vtkRenderingVRModule.h"
22 VTK_ABI_NAMESPACE_BEGIN
58 void BuildRepresentation();
59 void UpdateRepresentation();
79 void SetTooltipInfo(
const char* s,
int buttonSide,
int drawSide,
const char* txt)
86 this->DrawSide = drawSide;
87 this->ButtonSide = buttonSide;
92 vtkGetMacro(Enabled,
bool);
93 vtkBooleanMacro(Enabled,
bool);
124 double ControlPositionLC[3];
131 static void MoveEvent(
vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
137 virtual void InitControlPosition() = 0;
140 double LastPhysicalTranslation[3];
141 double LastEventPosition[3];
142 double LastEventOrientation[4];
151 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
vtkEventDataDevice Device
abstract specification for Viewports
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual vtkTypeBool HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
abstract specification for renderers
vtkWeakPointer< vtkRenderer > Renderer
void SetTooltipInfo(const char *s, int buttonSide, int drawSide, const char *txt)
unsigned long ObserverTag
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
window superclass for vtkRenderWindow
supports function callbacks
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkTextActor3D * TextActor
vtkEventDataDevice
platform-independent event data structures
An actor that displays text.
vtkLineSource * LineSource
create a line defined by two end points
map vtkPolyData to graphics primitives
vtkNew< vtkTransform > TempTransform
std::string ComponentName
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
vtkCallbackCommand * MoveCallbackCommand
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller...
vtkPolyDataMapper * LineMapper