Go to the documentation of this file.
32 #ifndef vtkDistanceRepresentation3D_h
33 #define vtkDistanceRepresentation3D_h
35 #include "vtkInteractionWidgetsModule.h"
72 {
return this->Distance;}
80 vtkGetMacro(GlyphScale,
double);
94 vtkGetMacro(LabelPosition,
double);
102 vtkGetMacro(MaximumNumberOfRulerTicks,
int);
168 this->SetLabelScale(
scale);
228 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 SetPoint1WorldPosition(double pos[3])
virtual double * GetBounds()
Methods to make this class behave as a vtkProp.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkDistanceRepresentation3D * New()
Instantiate class.
void GetPoint1WorldPosition(double pos[3])
Methods to Set/Get the coordinates of the two points defining this representation.
virtual void BuildRepresentation()
Method to satisfy superclasses' API.
virtual double GetDistance()
Satisfy the superclasses API.
virtual void SetLabelScale(double scale[3])
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
window superclass for vtkRenderWindow
void SetLabelPosition(double labelPosition)
Set/Get position of the label title in normalized coordinates [0,1].
double * GetPoint2WorldPosition()
represent the vtkDistanceWidget
virtual double * GetLabelScale()
void SetPoint2DisplayPosition(double pos[3])
represent the vtkDistanceWidget
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void GetPoint1DisplayPosition(double pos[3])
virtual vtkProperty * GetLineProperty()
Convenience method to get the line actor property.
generate a cylinder centered at origin
vtkCylinderSource * GlyphCylinder
vtkDistanceRepresentation3D()
virtual void ReleaseGraphicsResources(vtkWindow *w)
Methods required by vtkProp superclass.
abstract specification for Viewports
vtkPolyDataMapper * LabelMapper
~vtkDistanceRepresentation3D()
copy oriented and scaled glyph geometry to every input point
void GetPoint2DisplayPosition(double pos[3])
vtkDoubleArray * GlyphVectors
implicit function for a bounding box
vtkPolyDataMapper * GlyphMapper
void GetPoint2WorldPosition(double pos[3])
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkTransformPolyDataFilter * GlyphXForm
void SetPoint2WorldPosition(double pos[3])
void SetPoint1DisplayPosition(double pos[3])
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual vtkProperty * GetLabelProperty()
Get the distance annotation property.
dynamic, self-adjusting array of double
represent surface properties of a geometric object
void SetGlyphScale(double scale)
Scale the glyphs used as tick marks.
vtkPolyDataMapper * LineMapper
void SetLabelScale(double x, double y, double z)
Scale text (font size along each dimension).
double * GetPoint1WorldPosition()
Methods to Set/Get the coordinates of the two points defining this representation.