Go to the documentation of this file.
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();
map vtkPolyData to graphics primitives
represent and manipulate 3D points
vtkPolyData * LinePolyData
vtkPolyData * GlyphPolyData
a subclass of actor that always faces the camera
int MaximumNumberOfRulerTicks
vtkVectorText * LabelText
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void GetPoint1DisplayPosition(double pos[3])=0
window superclass for vtkRenderWindow
represent the vtkDistanceWidget
represent the vtkDistanceWidget
void BuildRepresentation() override
These are methods that satisfy vtkWidgetRepresentation's API.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
virtual void SetPoint1WorldPosition(double pos[3])=0
generate a cylinder centered at origin
vtkCylinderSource * GlyphCylinder
abstract specification for Viewports
vtkPolyDataMapper * LabelMapper
copy oriented and scaled glyph geometry to every input point
vtkDoubleArray * GlyphVectors
implicit function for a bounding box
vtkPolyDataMapper * GlyphMapper
vtkTransformPolyDataFilter * GlyphXForm
virtual double * GetPoint2WorldPosition()=0
virtual double * GetPoint1WorldPosition()=0
virtual void SetPoint2WorldPosition(double pos[3])=0
concrete dataset represents vertices, lines, polygons, and triangle strips
dynamic, self-adjusting array of double
virtual void GetPoint2DisplayPosition(double pos[3])=0
represent surface properties of a geometric object
virtual void SetPoint2DisplayPosition(double pos[3])=0
double GetDistance() override
Satisfy the superclasses API.
vtkPolyDataMapper * LineMapper
void SetLabelScale(double x, double y, double z)
Scale text (font size along each dimension).
virtual void SetPoint1DisplayPosition(double pos[3])=0