|
| void | Create () override |
| | Observe the View node and initialize the renderer accordingly.
|
| |
| void | OnMRMLDisplayableNodeModifiedEvent (vtkObject *caller) override |
| |
| void | UpdateFromRenderer () |
| | Update the renderer based on the master renderer (the one that the orientation marker follows)
|
| |
| void | UpdateFromViewNode () |
| | Update the renderer from the view node properties.
|
| |
| | vtkMRMLRulerDisplayableManager () |
| |
| | ~vtkMRMLRulerDisplayableManager () override |
| |
| virtual int | ActiveInteractionModes () |
| |
| void | AddInteractorObservableEvent (int eventid, float priority=0.0) |
| |
| void | AddInteractorStyleObservableEvent (int eventid, float priority=0.0) |
| |
| virtual void | AdditionalInitializeStep () |
| |
| void | AddMRMLDisplayableManagerEvent (int eventId) |
| | Allow to specify additional events that the DisplayableNode will observe.
|
| |
| void | CreateIfPossible () |
| |
| vtkMRMLDisplayableManagerGroup * | GetMRMLDisplayableManagerGroup () |
| | Get associated DisplayableManager group.
|
| |
| vtkMRMLNode * | GetMRMLDisplayableNode () |
| | Get MRML Displayable Node.
|
| |
| vtkCallbackCommand * | GetWidgetsCallbackCommand () |
| | Get vtkWidget callbackCommand.
|
| |
| vtkObserverManager * | GetWidgetsObserverManager () const |
| | Get widget observerManager.
|
| |
| virtual void | OnInteractorEvent (int eventid) |
| |
| virtual void | OnInteractorStyleEvent (int eventid) |
| |
| void | ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) override |
| |
| virtual void | ProcessWidgetsEvents (vtkObject *caller, unsigned long event, void *callData) |
| |
| void | RemoveInteractorObservableEvent (int eventid) |
| |
| void | RemoveInteractorStyleObservableEvent (int eventid) |
| |
| virtual void | RemoveMRMLObservers () |
| | Remove MRML observers.
|
| |
| void | RequestRender () |
| |
| void | SetAndObserveMRMLDisplayableNode (vtkMRMLNode *newMRMLDisplayableNode) |
| |
| virtual void | SetMRMLDisplayableManagerGroup (vtkMRMLDisplayableManagerGroup *group) |
| |
| void | SetMRMLSceneInternal (vtkMRMLScene *newScene) override |
| |
| virtual void | SetRenderer (vtkRenderer *newRenderer) |
| |
| void | SetUpdateFromMRMLRequested (bool requested) |
| |
| virtual void | UpdateFromMRML () |
| |
| | vtkMRMLAbstractDisplayableManager () |
| |
| | ~vtkMRMLAbstractDisplayableManager () override |
| |
| int | EndModify (bool wasModifying) |
| |
| virtual bool | EnterMRMLLogicsCallback () const |
| |
| virtual bool | EnterMRMLNodesCallback () const |
| |
| virtual bool | EnterMRMLSceneCallback () const |
| |
| bool | GetDisableModifiedEvent () const |
| |
| int | GetInMRMLLogicsCallbackFlag () const |
| |
| int | GetInMRMLNodesCallbackFlag () const |
| |
| int | GetInMRMLSceneCallbackFlag () const |
| |
| vtkCallbackCommand * | GetMRMLLogicsCallbackCommand () |
| |
| vtkObserverManager * | GetMRMLLogicsObserverManager () const |
| |
| vtkCallbackCommand * | GetMRMLNodesCallbackCommand () |
| |
| vtkObserverManager * | GetMRMLNodesObserverManager () const |
| |
| vtkCallbackCommand * | GetMRMLSceneCallbackCommand () |
| |
| vtkObserverManager * | GetMRMLSceneObserverManager () const |
| |
| int | GetPendingModifiedEventCount () const |
| |
| int | GetProcessingMRMLSceneEvent () const |
| | Return the event id currently processed or 0 if any.
|
| |
| int | InvokePendingModifiedEvent () |
| |
| void | Modified () override |
| |
| virtual void | ObserveMRMLScene () |
| |
| virtual void | OnMRMLNodeModified (vtkMRMLNode *) |
| |
| virtual void | OnMRMLSceneEndBatchProcess () |
| |
| virtual void | OnMRMLSceneEndClose () |
| |
| virtual void | OnMRMLSceneEndImport () |
| |
| virtual void | OnMRMLSceneEndRestore () |
| |
| virtual void | OnMRMLSceneNew () |
| |
| virtual void | OnMRMLSceneNodeAdded (vtkMRMLNode *) |
| |
| virtual void | OnMRMLSceneNodeRemoved (vtkMRMLNode *) |
| |
| virtual void | OnMRMLSceneStartBatchProcess () |
| |
| virtual void | OnMRMLSceneStartClose () |
| |
| virtual void | OnMRMLSceneStartImport () |
| |
| virtual void | OnMRMLSceneStartRestore () |
| |
| virtual void | ProcessMRMLLogicsEvents (vtkObject *caller, unsigned long event, void *callData) |
| |
| virtual void | ProcessMRMLSceneEvents (vtkObject *caller, unsigned long event, void *callData) |
| |
| virtual void | RegisterNodes () |
| |
| void | SetAndObserveMRMLSceneEventsInternal (vtkMRMLScene *newScene, vtkIntArray *events, vtkFloatArray *priorities=nullptr) |
| |
| void | SetDisableModifiedEvent (bool onOff) |
| |
| void | SetInMRMLLogicsCallbackFlag (int flag) |
| |
| void | SetInMRMLNodesCallbackFlag (int flag) |
| |
| void | SetInMRMLSceneCallbackFlag (int flag) |
| |
| void | SetProcessingMRMLSceneEvent (int event) |
| |
| bool | StartModify () |
| |
| virtual void | UnobserveMRMLScene () |
| |
| virtual void | UpdateFromMRMLScene () |
| |
| | vtkMRMLAbstractLogic () |
| |
| | ~vtkMRMLAbstractLogic () override |
| |
|
| static void | WidgetsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| | WidgetsCallback is a static function to relay modified events from the vtk widgets.
|
| |
| static void | MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| | MRMLLogicCallback is a static function to relay modified events from the logics.
|
| |
| static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| | MRMLNodesCallback is a static function to relay modified events from the nodes.
|
| |
| static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
| |
Displayable manager that displays orientation marker in a slice or 3D view.
Definition at line 31 of file vtkMRMLRulerDisplayableManager.h.
| void vtkMRMLRulerDisplayableManager::AddRulerScalePreset |
( |
double | length, |
|
|
int | numberOfMajorDivisons, |
|
|
int | numberOfMinorDivisions, |
|
|
const std::string & | displayedUnitName, |
|
|
double | displayedScale ) |
Adds a scale preset to the list of possible scales. Length: The preset with Length closest to the actual length of the ruler will be used. If a preset exists with the same length then it will be updated with the new parameters. Number of major divisions: how many parts the ruler will be divided to by major ticks. Number of minor divisions: how many parts one division will be divided to by minor ticks. Displayed unit name: unit name displayed in the label. Displayed scale: 1 [actual unit] = displayedScale [displayed unit] (e.g., 1 mm = 0.1 cm) Example: (world coordinate is mm) 1.0 length, 5 major, 2 minor, mm, 1.0 scale 5.0 5 1 mm 1.0 10.0 5 2 cm 0.1