31 #ifndef __vtkDistanceRepresentation3D_h
32 #define __vtkDistanceRepresentation3D_h
65 {
return this->Distance;}
71 void SetGlyphScale(
double scale);
72 vtkGetMacro(GlyphScale,
double);
81 void SetLabelPosition(
double labelPosition);
82 vtkGetMacro(LabelPosition,
double);
88 vtkGetMacro(MaximumNumberOfRulerTicks,
int);
94 vtkGetObjectMacro(GlyphActor,
vtkActor);
142 this->SetLabelScale(scale);
144 virtual void SetLabelScale(
double scale[3] );
145 virtual double * GetLabelScale();
200 void UpdateLabelPosition();
vtkPolyData * GlyphPolyData
vtkCylinderSource * GlyphCylinder
vtkVectorText * LabelText
virtual double GetDistance()
virtual void SetPoint1WorldPosition(double pos[3])=0
represents an object (geometry & properties) in a rendered scene
generate a cylinder centered at origin
virtual void SetPoint1DisplayPosition(double pos[3])=0
vtkPolyData * LinePolyData
abstract specification for Viewports
represent the vtkDistanceWidget
represent surface properties of a geometric object
vtkPolyDataMapper * LabelMapper
vtkPolyDataMapper * LineMapper
virtual void GetPoint1DisplayPosition(double pos[3])=0
vtkDoubleArray * GlyphVectors
concrete dataset represents vertices, lines, polygons, and triangle strips
represent the vtkDistanceWidget
virtual void GetPoint2DisplayPosition(double pos[3])=0
dynamic, self-adjusting array of double
void PrintSelf(ostream &os, vtkIndent indent)
window superclass for vtkRenderWindow
virtual double * GetPoint1WorldPosition()=0
void SetLabelScale(double x, double y, double z)
a simple class to control print indentation
virtual void BuildRepresentation()
copy oriented and scaled glyph geometry to every input point
vtkPolyDataMapper * GlyphMapper
virtual void SetPoint2DisplayPosition(double pos[3])=0
map vtkPolyData to graphics primitives
virtual double * GetPoint2WorldPosition()=0
a subclass of actor that always faces the camera
int MaximumNumberOfRulerTicks
vtkTransformPolyDataFilter * GlyphXForm
#define VTK_LARGE_INTEGER
implicit function for a bounding box
virtual void SetPoint2WorldPosition(double pos[3])=0
represent and manipulate 3D points