20 #ifndef vtkDistanceRepresentation3D_h
21 #define vtkDistanceRepresentation3D_h
24 #include "vtkInteractionWidgetsModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
68 void SetGlyphScale(
double scale);
69 vtkGetMacro(GlyphScale,
double);
71 vtkGetMacro(GlyphScaleSpecified,
bool);
72 vtkSetMacro(GlyphScaleSpecified,
bool);
85 void SetLabelPosition(
double labelPosition);
86 vtkGetMacro(LabelPosition,
double);
93 vtkSetClampMacro(MaximumNumberOfRulerTicks,
int, 1,
VTK_INT_MAX);
94 vtkGetMacro(MaximumNumberOfRulerTicks,
int);
102 vtkGetObjectMacro(GlyphActor,
vtkActor);
121 double* GetPoint1WorldPosition() override;
123 double* GetPoint2WorldPosition() override;
125 void GetPoint1WorldPosition(
double pos[3]) VTK_FUTURE_CONST override;
127 void GetPoint2WorldPosition(
double pos[3]) VTK_FUTURE_CONST override;
129 void SetPoint1WorldPosition(
double pos[3]) override;
131 void SetPoint2WorldPosition(
double pos[3]) override;
135 void SetPoint1DisplayPosition(
double pos[3]) override;
137 void SetPoint2DisplayPosition(
double pos[3]) override;
139 void GetPoint1DisplayPosition(
double pos[3]) VTK_FUTURE_CONST override;
141 void GetPoint2DisplayPosition(
double pos[3]) VTK_FUTURE_CONST override;
147 void BuildRepresentation() override;
155 void ReleaseGraphicsResources(
vtkWindow* w) override;
156 int RenderOpaqueGeometry(
vtkViewport* viewport) override;
157 int RenderTranslucentPolygonalGeometry(
vtkViewport* viewport) override;
165 void SetLabelScale(
double x,
double y,
double z)
171 this->SetLabelScale(scale);
173 virtual void SetLabelScale(
double scale[3]);
174 virtual double* GetLabelScale();
231 void UpdateLabelPosition();
234 VTK_ABI_NAMESPACE_END
vtkPolyData * GlyphPolyData
vtkCylinderSource * GlyphCylinder
vtkVectorText * LabelText
void GetBounds(T a, double bds[6])
represents an object (geometry & properties) in a rendered scene
generate a polygonal cylinder centered at the origin
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.
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
vtkPolyDataMapper * LabelMapper
vtkPolyDataMapper * LineMapper
vtkDoubleArray * GlyphVectors
concrete dataset represents vertices, lines, polygons, and triangle strips
represent the vtkDistanceWidget
dynamic, self-adjusting array of double
window superclass for vtkRenderWindow
vtkTransformFilter * GlyphXForm
a simple class to control print indentation
copy oriented and scaled glyph geometry to every input point
vtkPolyDataMapper * GlyphMapper
#define VTK_MARSHALEXCLUDE(reason)
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
int MaximumNumberOfRulerTicks
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
represent and manipulate 3D points
double GetDistance() override
Satisfy the superclasses API.