Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Superclass for MRML logic classes. More...
#include <Libs/MRML/Logic/vtkMRMLAbstractLogic.h>
Public Types | |
typedef vtkObject | Superclass |
typedef void(vtkMRMLAbstractLogic::* | TaskFunctionPointer) (void *clientdata) |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
Get access to overall application state. More... | |
vtkMRMLScene * | GetMRMLScene () const |
Return a reference to the current MRML scene. More... | |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) |
void | SetMRMLScene (vtkMRMLScene *newScene) |
Set and observe the MRMLScene. More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractLogic * | New () |
static vtkMRMLAbstractLogic * | SafeDownCast (vtkObject *o) |
Static Protected Member Functions | |
static void | MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
MRMLLogicCallback is a static function to relay modified events from the logics. More... | |
static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
MRMLNodesCallback is a static function to relay modified events from the nodes. More... | |
static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
Superclass for MRML logic classes.
Superclass for all MRML logic classes. When a scene is set, SetMRMLScene(vtkMRMLScene*),
Definition at line 133 of file vtkMRMLAbstractLogic.h.
typedef vtkObject vtkMRMLAbstractLogic::Superclass |
Definition at line 142 of file vtkMRMLAbstractLogic.h.
typedef void(vtkMRMLAbstractLogic::* vtkMRMLAbstractLogic::TaskFunctionPointer) (void *clientdata) |
Typedef for member functions of MRMLLogic that can be used as scheduled tasks.
Definition at line 138 of file vtkMRMLAbstractLogic.h.
|
protected |
|
protectedvirtual |
|
inlineprotected |
End modifying the node. Enable Modify events if the previous state of DisableModifiedEvent flag is 0. Return the number of pending ModifiedEvent;
Definition at line 457 of file vtkMRMLAbstractLogic.h.
|
protectedvirtual |
Return true if the Logics callback must be executed, false otherwise. By default, it returns true, you can reimplement it in subclasses
|
protectedvirtual |
Return true if the MRML Nodes callback must be executed, false otherwise. By default, it returns true, you can reimplement it in subclasses.
Reimplemented in vtkMRMLVolumeRenderingDisplayableManager.
|
protectedvirtual |
Return true if the MRML callback must be executed, false otherwise. By default, it returns true, you can reimplement it in subclasses
|
virtual |
Reimplemented in vtkMRMLLayoutLogic, vtkSlicerCropVolumeLogic, vtkMRMLModelDisplayableManager, vtkMRMLSliceLayerLogic, vtkSlicerVolumesLogic, vtkSlicerVolumeRenderingLogic, vtkSlicerMultiVolumeRenderingLogic, vtkMRMLSliceLogic, vtkSlicerTransformLogic, vtkSlicerSegmentationsModuleLogic, vtkMRMLVolumeRenderingDisplayableManager, vtkSlicerApplicationLogic, vtkMRMLApplicationLogic, vtkMRMLAbstractDisplayableManager, vtkSlicerSceneViewsModuleLogic, vtkSlicerSubjectHierarchyModuleLogic, vtkMRMLAnnotationDisplayableManager, vtkSlicerReformatLogic, vtkSlicerUnitsLogic, vtkSlicerCLIModuleLogic, vtkSlicerMarkupsLogic, vtkMRMLMarkupsDisplayableManager2D, vtkMRMLMarkupsDisplayableManager3D, vtkSlicerTablesLogic, vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLAbstractSliceViewDisplayableManager, vtkMRMLSliceLinkLogic, vtkSlicerViewControllersLogic, vtkMRMLModelSliceDisplayableManager, vtkMRMLViewDisplayableManager, vtkSlicerTerminologiesModuleLogic, vtkMRMLAbstractThreeDViewDisplayableManager, vtkSlicerDoubleArraysLogic, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, vtkMRMLModelHierarchyLogic, vtkSlicerDataModuleLogic, vtkMRMLCrosshairDisplayableManager, vtkMRMLColorLogic, vtkSlicerCamerasModuleLogic, vtkMRMLVolumeGlyphSliceDisplayableManager, vtkMRMLAnnotationRulerDisplayableManager, vtkMRMLMarkupsFiducialDisplayableManager2D, vtkMRMLMarkupsFiducialDisplayableManager3D, vtkMRMLSegmentationsDisplayableManager2D, vtkSlicerScriptedLoadableModuleLogic, vtkMRMLCameraDisplayableManager, vtkMRMLLightBoxRendererManagerProxy, vtkMRMLOrientationMarkerDisplayableManager, vtkMRMLRulerDisplayableManager, vtkMRMLThreeDReformatDisplayableManager, vtkMRMLDisplayableHierarchyLogic, vtkMRMLRemoteIOLogic, vtkMRMLAnnotationBidimensionalDisplayableManager, vtkMRMLAnnotationFiducialDisplayableManager, vtkMRMLAnnotationTextDisplayableManager, vtkSlicerModelsLogic, vtkSlicerFiducialsLogic, vtkMRMLAnnotationAngleDisplayableManager, vtkMRMLAnnotationROIDisplayableManager, vtkMRMLAnnotationSplineDisplayableManager, vtkMRMLAnnotationStickyDisplayableManager, vtkMRMLCrosshairDisplayableManager3D, vtkMRMLScriptedDisplayableManager, vtkAtlasCreatorLogic, vtkDataIOManagerLogic, vtkSlicerModuleLogic, vtkSlicerColorLogic, and vtkSlicerAnnotationModuleLogic.
|
protected |
|
protected |
Return 0 when not processing any MRML logic event, >0 otherwise. Values can be higher than 1 when receiving nested events: processing a MRML logic event fires other node events.
|
protected |
Return 0 when not processing any MRML node event, >0 otherwise. Values can be higher than 1 when receiving nested events: processing a MRML node event fires other node events.
|
protected |
Return 0 when not processing a MRML scene event, >0 otherwise. Values can be higher than 1 when receiving nested event: processing a MRML scene event fires other scene events.
|
virtual |
Get access to overall application state.
|
protected |
Get the MRML Logic callback command.
|
protected |
Get MRML logics observerManager. It points to the logics callback.
|
protected |
Get the MRML nodes callbackCommand. The Execute function associated the the callback calls ProcessMRMLNodesEvents. Only vtkMRMLNodes can be listened to.
|
protected |
Get MRML nodes observerManager. It points to the nodes callback.
vtkMRMLScene* vtkMRMLAbstractLogic::GetMRMLScene | ( | ) | const |
Return a reference to the current MRML scene.
|
protected |
Get MRML scene callbackCommand. You shouldn't have to use it manually, reimplementing SetMRMLSceneInternal and setting the events to listen should be enough.
|
protected |
Get MRML scene observerManager. It points to the scene callback.
|
protected |
|
protected |
Return the event id currently processed or 0 if any.
|
protected |
Invokes any modified events that are 'pending', meaning they were generated while the DisableModifiedEvent flag was nonzero.
|
virtual |
Reimplemented in vtkMRMLLayoutLogic, vtkSlicerCropVolumeLogic, vtkMRMLModelDisplayableManager, vtkMRMLSliceLayerLogic, vtkSlicerVolumesLogic, vtkSlicerVolumeRenderingLogic, vtkSlicerMultiVolumeRenderingLogic, vtkMRMLSliceLogic, vtkSlicerTransformLogic, vtkSlicerSegmentationsModuleLogic, vtkMRMLVolumeRenderingDisplayableManager, vtkSlicerApplicationLogic, vtkMRMLApplicationLogic, vtkMRMLAbstractDisplayableManager, vtkSlicerSceneViewsModuleLogic, vtkSlicerSubjectHierarchyModuleLogic, vtkMRMLAnnotationDisplayableManager, vtkSlicerReformatLogic, vtkSlicerUnitsLogic, vtkSlicerCLIModuleLogic, vtkSlicerMarkupsLogic, vtkMRMLMarkupsDisplayableManager2D, vtkMRMLMarkupsDisplayableManager3D, vtkSlicerTablesLogic, vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLAbstractSliceViewDisplayableManager, vtkMRMLSliceLinkLogic, vtkSlicerViewControllersLogic, vtkMRMLModelSliceDisplayableManager, vtkMRMLViewDisplayableManager, vtkSlicerTerminologiesModuleLogic, vtkMRMLAbstractThreeDViewDisplayableManager, vtkSlicerDoubleArraysLogic, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, vtkMRMLModelHierarchyLogic, vtkSlicerDataModuleLogic, vtkMRMLCrosshairDisplayableManager, vtkMRMLColorLogic, vtkSlicerCamerasModuleLogic, vtkMRMLVolumeGlyphSliceDisplayableManager, vtkMRMLAnnotationRulerDisplayableManager, vtkMRMLMarkupsFiducialDisplayableManager2D, vtkMRMLMarkupsFiducialDisplayableManager3D, vtkMRMLSegmentationsDisplayableManager2D, vtkSlicerScriptedLoadableModuleLogic, vtkMRMLCameraDisplayableManager, vtkMRMLLightBoxRendererManagerProxy, vtkMRMLOrientationMarkerDisplayableManager, vtkMRMLRulerDisplayableManager, vtkMRMLThreeDReformatDisplayableManager, vtkMRMLDisplayableHierarchyLogic, vtkMRMLRemoteIOLogic, vtkMRMLAnnotationBidimensionalDisplayableManager, vtkMRMLAnnotationFiducialDisplayableManager, vtkMRMLAnnotationTextDisplayableManager, vtkSlicerModelsLogic, vtkSlicerFiducialsLogic, vtkMRMLAnnotationAngleDisplayableManager, vtkMRMLAnnotationROIDisplayableManager, vtkMRMLAnnotationSplineDisplayableManager, vtkMRMLAnnotationStickyDisplayableManager, vtkMRMLCrosshairDisplayableManager3D, vtkMRMLScriptedDisplayableManager, vtkAtlasCreatorLogic, vtkDataIOManagerLogic, vtkSlicerModuleLogic, vtkSlicerColorLogic, and vtkSlicerAnnotationModuleLogic.
|
static |
|
protectedvirtual |
overrides the vtkObject method so that all changes to the node which would normally generate a ModifiedEvent can be grouped into an 'atomic' operation. Typical usage would be to disable modified events, call a series of Set* operations, and then re-enable modified events and call InvokePendingModifiedEvent to invoke the event (if any of the Set* calls actually changed the values of the instance variables).
|
staticprotected |
MRMLLogicCallback is a static function to relay modified events from the logics.
|
staticprotected |
MRMLNodesCallback is a static function to relay modified events from the nodes.
|
staticprotected |
MRMLSceneCallback is a static function to relay modified events from the MRML Scene In subclass, MRMLSceneCallback can also be used to relay event from observe MRML node(s)
|
static |
|
protectedvirtual |
Called after a scene is set to the logic and nodes are registered (RegisterNodes()). The scene events to observe are already set in SetMRMLSceneInternal(). By default, ObserveMRMLScene() calls UpdateFromMRMLScene(). Overide for a custom behavior.
Reimplemented in vtkSlicerVolumeRenderingLogic, vtkSlicerAnnotationModuleLogic, vtkSlicerMarkupsLogic, vtkSlicerUnitsLogic, and vtkSlicerModelsLogic.
|
inlineprotectedvirtual |
Called after the corresponding MRML event is triggered.
Reimplemented in vtkMRMLSliceLogic, vtkSlicerVolumeRenderingLogic, vtkMRMLSliceLayerLogic, vtkSlicerUnitsLogic, vtkMRMLLayoutLogic, vtkSlicerSceneViewsModuleLogic, vtkMRMLCameraDisplayableManager, vtkMRMLSliceLinkLogic, and vtkMRMLThreeDReformatDisplayableManager.
Definition at line 313 of file vtkMRMLAbstractLogic.h.
|
protectedvirtual |
If vtkMRMLScene::EndBatchProcessEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event Internally calls UpdateFromMRMLScene. Can be reimplemented to change the default behavior.
Reimplemented in vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLModelSliceDisplayableManager, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, vtkMRMLSliceLinkLogic, and vtkMRMLSegmentationsDisplayableManager2D.
|
inlineprotectedvirtual |
If vtkMRMLScene::EndCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkSlicerAnnotationModuleLogic, vtkMRMLModelDisplayableManager, vtkMRMLMarkupsDisplayableManager2D, vtkMRMLAnnotationDisplayableManager, vtkMRMLVolumeRenderingDisplayableManager, vtkMRMLMarkupsDisplayableManager3D, vtkSlicerSceneViewsModuleLogic, vtkMRMLMarkupsFiducialDisplayableManager2D, vtkMRMLMarkupsFiducialDisplayableManager3D, vtkMRMLAnnotationFiducialDisplayableManager, vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLCameraDisplayableManager, vtkMRMLModelSliceDisplayableManager, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, and vtkMRMLSegmentationsDisplayableManager2D.
Definition at line 274 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::EndImportEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkMRMLSliceLogic, vtkMRMLVolumeRenderingDisplayableManager, vtkSlicerSceneViewsModuleLogic, vtkMRMLCameraDisplayableManager, and vtkMRMLSliceLinkLogic.
Definition at line 284 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::EndRestoreEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkMRMLSliceLogic, vtkMRMLLayoutLogic, vtkMRMLVolumeRenderingDisplayableManager, vtkSlicerSceneViewsModuleLogic, vtkMRMLCameraDisplayableManager, and vtkMRMLSliceLinkLogic.
Definition at line 294 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::SceneNewEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Definition at line 299 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::NodeAddedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkMRMLSliceLogic, vtkSlicerSegmentationsModuleLogic, vtkSlicerVolumeRenderingLogic, vtkSlicerAnnotationModuleLogic, vtkSlicerMarkupsLogic, vtkMRMLModelDisplayableManager, vtkMRMLMarkupsDisplayableManager2D, vtkMRMLAnnotationDisplayableManager, vtkMRMLVolumeRenderingDisplayableManager, vtkSlicerCLIModuleLogic, vtkMRMLMarkupsDisplayableManager3D, vtkSlicerSceneViewsModuleLogic, vtkSlicerMultiVolumeRenderingLogic, vtkMRMLCameraDisplayableManager, vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLModelSliceDisplayableManager, vtkMRMLSliceLinkLogic, vtkMRMLThreeDReformatDisplayableManager, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, and vtkMRMLSegmentationsDisplayableManager2D.
Definition at line 304 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::NodeRemovedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkMRMLSliceLogic, vtkSlicerVolumeRenderingLogic, vtkSlicerMarkupsLogic, vtkMRMLModelDisplayableManager, vtkMRMLMarkupsDisplayableManager2D, vtkMRMLAnnotationDisplayableManager, vtkMRMLVolumeRenderingDisplayableManager, vtkMRMLMarkupsDisplayableManager3D, vtkMRMLModelHierarchyLogic, vtkSlicerMultiVolumeRenderingLogic, vtkMRMLCameraDisplayableManager, vtkMRMLDisplayableHierarchyLogic, vtkSlicerDataModuleLogic, vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLAnnotationROIDisplayableManager, vtkMRMLModelSliceDisplayableManager, vtkMRMLSliceLinkLogic, vtkMRMLThreeDReformatDisplayableManager, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, and vtkMRMLSegmentationsDisplayableManager2D.
Definition at line 309 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::StartBatchProcessEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkSlicerUnitsLogic, and vtkMRMLSliceLinkLogic.
Definition at line 257 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::StartCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkMRMLSliceLogic, vtkMRMLModelDisplayableManager, vtkMRMLVolumeRenderingDisplayableManager, vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLModelSliceDisplayableManager, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, vtkMRMLSegmentationsDisplayableManager2D, and vtkMRMLVolumeGlyphSliceDisplayableManager.
Definition at line 269 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::StartImportEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkMRMLCameraDisplayableManager, and vtkMRMLSliceLinkLogic.
Definition at line 279 of file vtkMRMLAbstractLogic.h.
|
inlineprotectedvirtual |
If vtkMRMLScene::StartRestoreEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented in vtkMRMLLayoutLogic, and vtkMRMLSliceLinkLogic.
Definition at line 289 of file vtkMRMLAbstractLogic.h.
void vtkMRMLAbstractLogic::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
protectedvirtual |
Receives all the events fired by the logics. To listen to a logic, you can add an observer using GetMRMLLogicsCallbackCommand(). To be reimplemented in subclasses if needed.
Reimplemented in vtkMRMLSliceLogic.
|
protectedvirtual |
Receives all the events fired by the nodes. To listen to a node, you can add an observer using GetMRMLNodesCallbackCommand() or use the utility macros vtk[SetAndObserve|Observe]MRMLNode[Event]Macro ProcessMRMLNodesEvents calls OnMRMLNodeModified when event is vtkCommand::ModifiedEvent.
Reimplemented in vtkSlicerVolumesLogic, vtkSlicerAnnotationModuleLogic, vtkMRMLModelDisplayableManager, vtkMRMLVolumeRenderingDisplayableManager, vtkMRMLSliceLayerLogic, vtkMRMLMarkupsDisplayableManager2D, vtkMRMLAbstractDisplayableManager, vtkSlicerCLIModuleLogic, vtkMRMLAnnotationDisplayableManager, vtkMRMLMarkupsDisplayableManager3D, vtkMRMLCameraDisplayableManager, vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLModelSliceDisplayableManager, vtkMRMLViewDisplayableManager, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, vtkSlicerMarkupsLogic, vtkMRMLSegmentationsDisplayableManager2D, vtkMRMLVolumeGlyphSliceDisplayableManager, and vtkMRMLScriptedDisplayableManager.
|
protectedvirtual |
Receives all the events fired by the scene. By default, it calls OnMRMLScene*Event based on the event passed.
Reimplemented in vtkMRMLSliceLayerLogic, vtkSlicerCamerasModuleLogic, and vtkMRMLScriptedDisplayableManager.
|
inlineprotectedvirtual |
Register node classes into the MRML scene. Called each time a new scene is set. Do nothing by default. Can be reimplemented in derivated classes.
Reimplemented in vtkSlicerSegmentationsModuleLogic, vtkSlicerVolumeRenderingLogic, vtkSlicerMarkupsLogic, vtkSlicerUnitsLogic, vtkSlicerCropVolumeLogic, vtkSlicerMultiVolumeRenderingLogic, vtkSlicerViewControllersLogic, vtkSlicerSceneViewsModuleLogic, vtkSlicerDataModuleLogic, and vtkSlicerAnnotationModuleLogic.
Definition at line 347 of file vtkMRMLAbstractLogic.h.
|
static |
|
protected |
Typically called by a subclass in the derived SetMRMLSceneInternal to observe specific node events.
|
protected |
|
protected |
Set InMRMLLogicsCallback flag. In InMRMLLogicsCallback, loop are avoided by checking the value of the flag.
|
protected |
Set InMRMLNodesCallback flag. In InMRMLNodesCallback, loop are avoided by checking the value of the flag.
|
protected |
Set MRMLSceneCallback flag True means ProcessMRMLEvent has already been called In MRMLSceneCallback, loop are avoided by checking the value of the flag
|
virtual |
Reimplemented in vtkSlicerCLIModuleLogic.
void vtkMRMLAbstractLogic::SetMRMLScene | ( | vtkMRMLScene * | newScene | ) |
Set and observe the MRMLScene.
|
protectedvirtual |
Called each time a new scene is set. Can be reimplemented in derivated classes. Doesn't observe the scene by default, that means that UpdateFromMRMLScene() won't be called by default when a scene is imported, closed or restored, only when a new scene is set.
Reimplemented in vtkMRMLSliceLogic, vtkSlicerSegmentationsModuleLogic, vtkSlicerVolumeRenderingLogic, vtkSlicerAnnotationModuleLogic, vtkMRMLColorLogic, vtkMRMLApplicationLogic, vtkSlicerTerminologiesModuleLogic, vtkSlicerMarkupsLogic, vtkMRMLAbstractDisplayableManager, vtkSlicerUnitsLogic, vtkMRMLSliceLayerLogic, vtkMRMLMarkupsDisplayableManager2D, vtkMRMLLayoutLogic, vtkMRMLAnnotationDisplayableManager, vtkSlicerCLIModuleLogic, vtkSlicerSubjectHierarchyModuleLogic, vtkMRMLMarkupsDisplayableManager3D, vtkSlicerModelsLogic, vtkMRMLModelHierarchyLogic, vtkSlicerMultiVolumeRenderingLogic, vtkMRMLDisplayableHierarchyLogic, vtkSlicerCamerasModuleLogic, vtkSlicerDataModuleLogic, vtkMRMLSliceLinkLogic, vtkSlicerSceneViewsModuleLogic, and vtkMRMLScriptedDisplayableManager.
|
protected |
Set event id currently processed or 0 if any.
|
inlineprotected |
Start modifying the logic. Disable Modify events. Returns the previous state of DisableModifiedEvent flag that should be passed to EndModify() method
Definition at line 449 of file vtkMRMLAbstractLogic.h.
|
protectedvirtual |
Called anytime a scene is not set to the logic anymore (e.g. a new or no scene is set) Reimplement the method to delete all the scene specific information such as a node IDs, pointers...
Reimplemented in vtkMRMLModelDisplayableManager, vtkMRMLLayoutLogic, vtkMRMLLinearTransformsDisplayableManager3D, vtkMRMLModelSliceDisplayableManager, vtkMRMLThreeDReformatDisplayableManager, vtkMRMLSegmentationsDisplayableManager3D, vtkMRMLTransformsDisplayableManager2D, vtkMRMLTransformsDisplayableManager3D, vtkMRMLVolumeGlyphSliceDisplayableManager, and vtkMRMLSegmentationsDisplayableManager2D.
|
protectedvirtual |
Called everytime the scene has been significantly changed. If the scene BatchProcessState events are observed (in SetMRMLSceneInternal() ), UpdateFromMRMLScene is called after each batch process (Close, Import, Restore...). It is also being called by default when a new scene is set (SetMRMLScene).
Reimplemented in vtkMRMLSliceLogic, vtkSlicerMarkupsLogic, vtkMRMLModelDisplayableManager, vtkMRMLLayoutLogic, vtkMRMLMarkupsDisplayableManager2D, vtkMRMLAnnotationDisplayableManager, vtkSlicerSubjectHierarchyModuleLogic, vtkMRMLMarkupsDisplayableManager3D, vtkSlicerMultiVolumeRenderingLogic, vtkSlicerDataModuleLogic, vtkMRMLThreeDReformatDisplayableManager, and vtkMRMLVolumeGlyphSliceDisplayableManager.