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