 |
VTK
9.1.0
|
Go to the documentation of this file.
24 #ifndef vtkVRControlsHelper_h
25 #define vtkVRControlsHelper_h
30 #include "vtkRenderingVRModule.h"
96 void SetTooltipInfo(
const char* s,
int buttonSide,
int drawSide,
const char* txt)
103 this->DrawSide = drawSide;
104 this->ButtonSide = buttonSide;
109 vtkGetMacro(Enabled,
bool);
110 vtkBooleanMacro(Enabled,
bool);
141 double ControlPositionLC[3];
157 double LastPhysicalTranslation[3];
158 double LastEventPosition[3];
159 double LastEventOrientation[4];
map vtkPolyData to graphics primitives
represent and manipulate 3D points
vtkCallbackCommand * MoveCallbackCommand
virtual vtkRenderer * GetRenderer()
void SetDevice(vtkEventDataDevice val)
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Methods supporting the rendering process.
void SetText(const std::string &str)
Set Tooltip text (used by TextActor)
An actor that displays text.
void SetTooltipInfo(const char *s, int buttonSide, int drawSide, const char *txt)
static void MoveEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
abstract base class for most VTK objects
vtkLineSource * LineSource
void SetEnabled(bool enabled)
vtkEventDataDevice Device
std::string ComponentName
window superclass for vtkRenderWindow
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller.
void BuildRepresentation()
Methods to interface with the vtkVRPanelWidget.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
vtkWeakPointer< vtkRenderer > Renderer
object to represent cell connectivity
vtkPolyDataMapper * LineMapper
virtual void InitControlPosition()=0
Must be overriden in subclasses to init the member variable ControlPositionLC to position the tooltip...
create a line defined by two end points
abstract specification for Viewports
int RenderOpaqueGeometry(vtkViewport *) override
Methods supporting the rendering process.
virtual void SetRenderer(vtkRenderer *ren)
abstract superclass for all actors, volumes and annotations
void ReleaseGraphicsResources(vtkWindow *) override
Methods supporting the rendering process.
void UpdateRepresentation()
Methods to interface with the vtkVRPanelWidget.
vtkEventDataDevice
platform-independent event data structures
abstract specification for renderers
unsigned long ObserverTag
concrete dataset represents vertices, lines, polygons, and triangle strips
supports function callbacks
represent surface properties of a geometric object
~vtkVRControlsHelper() override
vtkTextActor3D * TextActor
vtkTypeBool HasTranslucentPolygonalGeometry() override
Methods supporting the rendering process.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
vtkNew< vtkTransform > TempTransform