29 #ifndef vtkDistanceRepresentation3D_h
30 #define vtkDistanceRepresentation3D_h
32 #include "vtkInteractionWidgetsModule.h"
69 {
return this->Distance;}
76 void SetGlyphScale(
double scale);
77 vtkGetMacro(GlyphScale,
double);
90 void SetLabelPosition(
double labelPosition);
91 vtkGetMacro(LabelPosition,
double);
98 vtkSetClampMacro(MaximumNumberOfRulerTicks,
int, 1,
VTK_INT_MAX);
99 vtkGetMacro(MaximumNumberOfRulerTicks,
int);
107 vtkGetObjectMacro(GlyphActor,
vtkActor);
125 double* GetPoint2WorldPosition() VTK_OVERRIDE;
126 void GetPoint1WorldPosition(
double pos[3]) VTK_OVERRIDE;
127 void GetPoint2WorldPosition(
double pos[3]) VTK_OVERRIDE;
128 void SetPoint1WorldPosition(
double pos[3]) VTK_OVERRIDE;
129 void SetPoint2WorldPosition(
double pos[3]) VTK_OVERRIDE;
132 void SetPoint1DisplayPosition(
double pos[3]) VTK_OVERRIDE;
133 void SetPoint2DisplayPosition(
double pos[3]) VTK_OVERRIDE;
134 void GetPoint1DisplayPosition(
double pos[3]) VTK_OVERRIDE;
135 void GetPoint2DisplayPosition(
double pos[3]) VTK_OVERRIDE;
141 void BuildRepresentation() VTK_OVERRIDE;
142 double *GetBounds() VTK_OVERRIDE;
149 void ReleaseGraphicsResources(
vtkWindow *w) VTK_OVERRIDE;
150 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
151 int RenderTranslucentPolygonalGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
159 void SetLabelScale(
double x,
double y,
double z)
165 this->SetLabelScale(scale);
167 virtual void SetLabelScale(
double scale[3] );
168 virtual double * GetLabelScale();
192 bool LabelScaleSpecified;
206 bool GlyphScaleSpecified;
215 int MaximumNumberOfRulerTicks;
218 double LabelPosition;
225 void UpdateLabelPosition();
represents an object (geometry & properties) in a rendered scene
generate a cylinder centered at origin
abstract specification for Viewports
represent the vtkDistanceWidget
represent surface properties of a geometric object
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
concrete dataset represents vertices, lines, polygons, and triangle strips
represent the vtkDistanceWidget
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.
a simple class to control print indentation
copy oriented and scaled glyph geometry to every input point
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
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.