20#ifndef __vtkMRMLRulerDisplayableManager_h
21#define __vtkMRMLRulerDisplayableManager_h
25#include "vtkMRMLDisplayableManagerExport.h"
39 void PrintSelf(ostream& os, vtkIndent indent)
override;
52 void AddRulerScalePreset(
double length,
int numberOfMajorDivisons,
int numberOfMinorDivisions,
const std::string& displayedUnitName,
double displayedScale);
vtkMRMLAbstractDisplayableManager()
void RemoveAllRulerScalePresets()
Remove all scale presets.
void AddRulerScalePreset(double length, int numberOfMajorDivisons, int numberOfMinorDivisions, const std::string &displayedUnitName, double displayedScale)
void UpdateFromViewNode()
Update the renderer from the view node properties.
void Create() override
Observe the View node and initialize the renderer accordingly.
vtkMRMLRulerDisplayableManager()
std::vector< RulerScalePreset > RulerScalePresets
friend class vtkRulerRendererUpdateObserver
~vtkMRMLRulerDisplayableManager() override
static vtkMRMLRulerDisplayableManager * New()
void UpdateFromRenderer()
Update the renderer based on the master renderer (the one that the orientation marker follows)
void OnMRMLDisplayableNodeModifiedEvent(vtkObject *caller) override
void PrintSelf(ostream &os, vtkIndent indent) override
int NumberOfMinorDivisions
std::string DisplayedUnitName
int NumberOfMajorDivisions