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) VTK_OVERRIDE;
35 void SetDistance(
double distance);
39 virtual vtkProperty *GetLineProperty() VTK_OVERRIDE;
45 void SetLabelPosition(
double labelPosition);
49 vtkSetMacro(MaxTicks,
int);
50 vtkGetMacro(MaxTicks,
int);
54 void UpdateGlyphPolyData(vtkPolyData *polyData);
59 virtual
int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
66 virtual
void BuildRepresentation() VTK_OVERRIDE;
70 void UpdateLabelActorPosition();