31 #ifndef __vtkDistanceRepresentation3D_h
32 #define __vtkDistanceRepresentation3D_h
34 #include "vtkInteractionWidgetsModule.h"
39 class vtkPolyDataMapper;
60 void PrintSelf(ostream& os, vtkIndent indent);
66 {
return this->Distance;}
72 void SetGlyphScale(
double scale);
73 vtkGetMacro(GlyphScale,
double);
77 virtual vtkProperty *GetLineProperty();
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);
101 vtkGetObjectMacro(LabelActor, vtkFollower);
143 this->SetLabelScale(scale);
145 virtual void SetLabelScale(
double scale[3] );
146 virtual double * GetLabelScale();
150 virtual vtkProperty *GetLabelProperty();
201 void UpdateLabelPosition();
vtkPolyData * GlyphPolyData
vtkCylinderSource * GlyphCylinder
vtkVectorText * LabelText
virtual double GetDistance()
virtual void SetPoint1WorldPosition(double pos[3])=0
generate a cylinder centered at origin
virtual void SetPoint1DisplayPosition(double pos[3])=0
vtkPolyData * LinePolyData
represent the vtkDistanceWidget
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
void PrintSelf(ostream &os, vtkIndent indent)
virtual double * GetPoint1WorldPosition()=0
void SetLabelScale(double x, double y, double z)
virtual void BuildRepresentation()
copy oriented and scaled glyph geometry to every input point
vtkPolyDataMapper * GlyphMapper
virtual void SetPoint2DisplayPosition(double pos[3])=0
virtual double * GetPoint2WorldPosition()=0
int MaximumNumberOfRulerTicks
vtkTransformPolyDataFilter * GlyphXForm
implicit function for a bounding box
virtual void SetPoint2WorldPosition(double pos[3])=0