24#ifndef vtkVRControlsHelper_h
25#define vtkVRControlsHelper_h
30#include "vtkRenderingVRModule.h"
90 void SetTooltipInfo(
const char* s,
int buttonSide,
int drawSide,
const char* txt)
99 this->
SetText(std::string(txt));
represents an object (geometry & properties) in a rendered scene
supports function callbacks
a simple class to control print indentation
create a line defined by two end points
Allocate and hold a VTK object.
map vtkPolyData to graphics primitives
abstract specification for renderers
An actor that displays text.
void SetEnabled(bool enabled)
vtkTextActor3D * TextActor
double LastEventOrientation[4]
std::string ComponentName
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Methods supporting the rendering process.
void ReleaseGraphicsResources(vtkWindow *) override
Methods supporting the rendering process.
virtual void InitControlPosition()=0
Must be overridden in subclasses to init the member variable ControlPositionLC to position the toolti...
static void MoveEvent(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
vtkCallbackCommand * MoveCallbackCommand
vtkNew< vtkTransform > TempTransform
double LastPhysicalTranslation[3]
void SetTooltipInfo(const char *s, int buttonSide, int drawSide, const char *txt)
unsigned long ObserverTag
double ControlPositionLC[3]
int RenderOpaqueGeometry(vtkViewport *) override
Methods supporting the rendering process.
vtkWeakPointer< vtkRenderer > Renderer
void SetDevice(vtkEventDataDevice val)
double LastEventPosition[3]
vtkEventDataDevice Device
virtual void SetRenderer(vtkRenderer *ren)
vtkPolyDataMapper * LineMapper
void SetText(const std::string &str)
Set Tooltip text (used by TextActor)
~vtkVRControlsHelper() override
void BuildRepresentation()
Methods to interface with the vtkVRPanelWidget.
virtual vtkRenderer * GetRenderer()
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Methods supporting the rendering process.
void UpdateRepresentation()
Methods to interface with the vtkVRPanelWidget.
vtkLineSource * LineSource
abstract specification for Viewports
a weak reference to a vtkObject.
window superclass for vtkRenderWindow
vtkEventDataDevice
platform-independent event data structures