23#ifndef vtkOpenGLAvatar_h
24#define vtkOpenGLAvatar_h
28#include "vtkRenderingVRModule.h"
Renders a flagpole (line) with a label at the top that faces the camera.
a simple class to control print indentation
Allocate and hold a VTK object.
vtkNew< vtkOpenGLActor > RightHandActor
vtkNew< vtkOpenGLActor > HeadActor
static vtkOpenGLAvatar * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetLabel(const char *label)
void SetRayLength(double length)
int RenderTranslucentPolygonalGeometry(vtkViewport *vp) override
Support the standard render methods.
vtkNew< vtkOpenGLPolyDataMapper > LeftHandMapper
vtkNew< vtkOpenGLPolyDataMapper > RightHandMapper
vtkNew< vtkVRRay > RightRay
vtkNew< vtkOpenGLPolyDataMapper > HeadMapper
void SetLeftShowRay(bool v)
void SetUseRightHand(bool val) override
Normally, hand position/orientation is set explicitly.
vtkNew< vtkOpenGLActor > BodyActor[NUM_BODY]
vtkNew< vtkVRRay > LeftRay
double * GetBounds() override
Return a reference to the Prop3D's composite transform.
vtkNew< vtkFlagpoleLabel > LabelActor
vtkNew< vtkOpenGLActor > LeftHandActor
void SetUseLeftHand(bool val) override
Normally, hand position/orientation is set explicitly.
int RenderOpaqueGeometry(vtkViewport *vp) override
Actual Avatar render method.
vtkNew< vtkOpenGLPolyDataMapper > BodyMapper[NUM_BODY]
void SetShowHandsOnly(bool val) override
Show just the hands.
vtkTextProperty * GetLabelTextProperty()
void SetRightShowRay(bool v)
PolyDataMapper using OpenGL to render.
represent text properties.
abstract specification for Viewports
#define VTK_SIZEHINT(...)