15 #ifndef __vtkAnnotationRulerRepresentation3D_h 16 #define __vtkAnnotationRulerRepresentation3D_h 19 #include "vtkSlicerAnnotationsModuleVTKWidgetsExport.h" 22 #include <vtkDistanceRepresentation3D.h> 25 class VTK_SLICER_ANNOTATIONS_MODULE_VTKWIDGETS_EXPORT
27 :
public vtkDistanceRepresentation3D
33 void PrintSelf(ostream& os, vtkIndent indent)
override;
35 void SetDistance(
double distance);
39 vtkProperty *GetLineProperty()
override;
45 void SetLabelPosition(
double labelPosition);
49 vtkSetMacro(MaxTicks,
int);
50 vtkGetMacro(MaxTicks,
int);
54 void UpdateGlyphPolyData(vtkPolyData *polyData);
59 int HasTranslucentPolygonalGeometry()
override;
66 void BuildRepresentation()
override;
70 void UpdateLabelActorPosition();