20 #ifndef __vtkMRMLRulerDisplayableManager_h 21 #define __vtkMRMLRulerDisplayableManager_h 25 #include "vtkMRMLDisplayableManagerExport.h" 34 friend class vtkRulerRendererUpdateObserver;
39 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
52 void AddRulerScalePreset(
double length,
int numberOfMajorDivisons,
int numberOfMinorDivisions,
const std::string& displayedUnitName,
double displayedScale);
54 void RemoveAllRulerScalePresets();
62 virtual void Create() VTK_OVERRIDE;
67 virtual
void OnMRMLDisplayableNodeModifiedEvent(vtkObject* caller) VTK_OVERRIDE;
70 void UpdateFromViewNode();
73 void UpdateFromRenderer();
93 vtkInternal * Internal;
Superclass for displayable manager classes.
static vtkMRMLAbstractDisplayableManager * New()
int NumberOfMinorDivisions
int NumberOfMajorDivisions
std::string DisplayedUnitName
Displayable manager that displays orienatation marker in a slice or 3D view.
std::vector< RulerScalePreset > RulerScalePresets
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE