32 #ifndef vtkDistanceRepresentation3D_h 33 #define vtkDistanceRepresentation3D_h 35 #include "vtkInteractionWidgetsModule.h" 72 {
return this->Distance;}
79 void SetGlyphScale(
double scale);
80 vtkGetMacro(GlyphScale,
double);
93 void SetLabelPosition(
double labelPosition);
94 vtkGetMacro(LabelPosition,
double);
101 vtkSetClampMacro(MaximumNumberOfRulerTicks,
int, 1,
VTK_INT_MAX);
102 vtkGetMacro(MaximumNumberOfRulerTicks,
int);
110 vtkGetObjectMacro(GlyphActor,
vtkActor);
169 this->SetLabelScale(scale);
171 virtual void SetLabelScale(
double scale[3] );
172 virtual double * GetLabelScale();
229 void UpdateLabelPosition();
vtkPolyData * GlyphPolyData
vtkCylinderSource * GlyphCylinder
vtkVectorText * LabelText
virtual void SetPoint1WorldPosition(double pos[3])=0
Methods to Set/Get the coordinates of the two points defining this representation.
represents an object (geometry & properties) in a rendered scene
generate a cylinder centered at origin
virtual void SetPoint1DisplayPosition(double pos[3])=0
Methods to Set/Get the coordinates of the two points defining this representation.
vtkPolyData * LinePolyData
abstract specification for Viewports
represent the vtkDistanceWidget
represent surface properties of a geometric object
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
vtkPolyDataMapper * LabelMapper
vtkPolyDataMapper * LineMapper
virtual void GetPoint1DisplayPosition(double pos[3])=0
Methods to Set/Get the coordinates of the two points defining this representation.
vtkDoubleArray * GlyphVectors
concrete dataset represents vertices, lines, polygons, and triangle strips
represent the vtkDistanceWidget
virtual void GetPoint2DisplayPosition(double pos[3])=0
Methods to Set/Get the coordinates of the two points defining this representation.
dynamic, self-adjusting array of double
window superclass for vtkRenderWindow
virtual double * GetPoint1WorldPosition()=0
Methods to Set/Get the coordinates of the two points defining this representation.
void SetLabelScale(double x, double y, double z)
Scale text (font size along each dimension).
a simple class to control print indentation
copy oriented and scaled glyph geometry to every input point
vtkPolyDataMapper * GlyphMapper
virtual void SetPoint2DisplayPosition(double pos[3])=0
Methods to Set/Get the coordinates of the two points defining this representation.
map vtkPolyData to graphics primitives
virtual double * GetPoint2WorldPosition()=0
Methods to Set/Get the coordinates of the two points defining this representation.
a subclass of actor that always faces the camera
int MaximumNumberOfRulerTicks
vtkTransformPolyDataFilter * GlyphXForm
void BuildRepresentation() override
These are methods that satisfy vtkWidgetRepresentation's API.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
implicit function for a bounding box
virtual void SetPoint2WorldPosition(double pos[3])=0
Methods to Set/Get the coordinates of the two points defining this representation.
represent and manipulate 3D points
double GetDistance() override
Satisfy the superclasses API.