29#ifndef vtkDistanceRepresentation3D_h
30#define vtkDistanceRepresentation3D_h
33#include "vtkInteractionWidgetsModule.h"
75 vtkGetMacro(GlyphScale,
double);
89 vtkGetMacro(LabelPosition,
double);
96 vtkSetClampMacro(MaximumNumberOfRulerTicks,
int, 1,
VTK_INT_MAX);
97 vtkGetMacro(MaximumNumberOfRulerTicks,
int);
164 this->SetLabelScale(
scale);
224 void UpdateLabelPosition();
represents an object (geometry & properties) in a rendered scene
implicit function for a bounding box
generate a cylinder centered at origin
represent the vtkDistanceWidget
void BuildRepresentation() override
Method to satisfy superclasses' API.
vtkCylinderSource * GlyphCylinder
double * GetPoint1WorldPosition() override
Methods to Set/Get the coordinates of the two points defining this representation.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
void SetPoint1DisplayPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
virtual vtkProperty * GetLineProperty()
Convenience method to get the line actor property.
virtual vtkProperty * GetLabelProperty()
Get the distance annotation property.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
Methods required by vtkProp superclass.
~vtkDistanceRepresentation3D() override
vtkTransformPolyDataFilter * GlyphXForm
static vtkDistanceRepresentation3D * New()
Instantiate class.
void SetLabelPosition(double labelPosition)
Set/Get position of the label title in normalized coordinates [0,1].
vtkDistanceRepresentation3D()
void SetPoint1WorldPosition(double pos[3]) override
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).
void GetPoint2DisplayPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
void SetGlyphScale(double scale)
Scale the glyphs used as tick marks.
void GetPoint1DisplayPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
double * GetPoint2WorldPosition() override
Methods to Set/Get the coordinates of the two points defining this representation.
vtkPolyDataMapper * GlyphMapper
vtkPolyDataMapper * LabelMapper
vtkPolyData * GlyphPolyData
void SetPoint2WorldPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
double * GetBounds() override
Method to satisfy superclasses' API.
vtkPolyDataMapper * LineMapper
vtkDoubleArray * GlyphVectors
void GetPoint2WorldPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
void SetPoint2DisplayPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
vtkVectorText * LabelText
virtual double * GetLabelScale()
Scale text (font size along each dimension).
int MaximumNumberOfRulerTicks
void GetPoint1WorldPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
double GetDistance() override
Satisfy the superclasses API.
virtual void SetLabelScale(double scale[3])
Scale text (font size along each dimension).
vtkPolyData * LinePolyData
int RenderOpaqueGeometry(vtkViewport *viewport) override
Methods required by vtkProp superclass.
virtual void SetLabelActor(vtkFollower *)
Convenience method Get the label actor.
void ReleaseGraphicsResources(vtkWindow *w) override
Methods required by vtkProp superclass.
represent the vtkDistanceWidget
dynamic, self-adjusting array of double
a subclass of actor that always faces the camera
copy oriented and scaled glyph geometry to every input point
a simple class to control print indentation
represent and manipulate 3D points
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
abstract specification for Viewports
window superclass for vtkRenderWindow