15 #ifndef __vtkAnnotationRulerRepresentation_h 16 #define __vtkAnnotationRulerRepresentation_h 19 #include "vtkSlicerAnnotationsModuleVTKWidgetsExport.h" 22 #include <vtkDistanceRepresentation2D.h> 25 class VTK_SLICER_ANNOTATIONS_MODULE_VTKWIDGETS_EXPORT
27 :
public vtkDistanceRepresentation2D
33 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
35 void SetDistance(
double distance);
39 virtual vtkProperty2D *GetLineProperty();
46 virtual void BuildRepresentation() VTK_OVERRIDE;
51 void operator=(const vtkAnnotationRulerRepresentation&);