31 #ifndef vtkDistanceRepresentation3D_h
32 #define vtkDistanceRepresentation3D_h
66 {
return this->Distance;}
72 void SetGlyphScale(
double scale);
73 vtkGetMacro(GlyphScale,
double);
82 void SetLabelPosition(
double labelPosition);
83 vtkGetMacro(LabelPosition,
double);
88 vtkSetClampMacro(MaximumNumberOfRulerTicks,
int, 1,
VTK_INT_MAX);
89 vtkGetMacro(MaximumNumberOfRulerTicks,
int);
95 vtkGetObjectMacro(GlyphActor,
vtkActor);
143 this->SetLabelScale(scale);
145 virtual void SetLabelScale(
double scale[3] );
146 virtual double * GetLabelScale();
201 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
implicit function for a bounding box
virtual void SetPoint2WorldPosition(double pos[3])=0
represent and manipulate 3D points