Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLTransformsDisplayableManager2D.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: 3D Slicer
4 
5  Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
6 
7  See COPYRIGHT.txt
8  or http://www.slicer.org/copyright/copyright.txt for details.
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  This file was originally developed by Andras Lasso and Franklin King at
17  PerkLab, Queen's University and was supported through the Applied Cancer
18  Research Unit program of Cancer Care Ontario with funds provided by the
19  Ontario Ministry of Health and Long-Term Care.
20 
21 ==============================================================================*/
22 
23 #ifndef __vtkMRMLTransformsDisplayableManager2D_h
24 #define __vtkMRMLTransformsDisplayableManager2D_h
25 
26 // MRMLDisplayableManager includes
28 #include "vtkSlicerTransformsModuleMRMLDisplayableManagerExport.h"
29 
35 class VTK_SLICER_TRANSFORMS_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT vtkMRMLTransformsDisplayableManager2D
37 {
38 
39 public:
40 
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
45 protected:
46 
49 
50  void UnobserveMRMLScene() override;
51  void OnMRMLSceneNodeAdded(vtkMRMLNode* node) override;
52  void OnMRMLSceneNodeRemoved(vtkMRMLNode* node) override;
53  void ProcessMRMLNodesEvents(vtkObject* caller, unsigned long event, void* callData) override;
54 
56  void UpdateFromMRML() override;
57 
58  void OnMRMLSceneStartClose() override;
59  void OnMRMLSceneEndClose() override;
60 
61  void OnMRMLSceneEndBatchProcess() override;
62 
65  void Create() override;
66 
67 private:
68 
70  void operator=(const vtkMRMLTransformsDisplayableManager2D&) = delete;
71 
72  class vtkInternal;
73  vtkInternal * Internal;
74  friend class vtkInternal;
75 };
76 
77 #endif
virtual void OnMRMLSceneStartClose()
virtual void OnMRMLSceneEndClose()
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void OnMRMLSceneNodeAdded(vtkMRMLNode *)
virtual void UnobserveMRMLScene()
virtual void OnMRMLSceneEndBatchProcess()
virtual void OnMRMLSceneNodeRemoved(vtkMRMLNode *)
void ProcessMRMLNodesEvents(vtkObject *caller, unsigned long event, void *callData) override
static vtkMRMLAbstractSliceViewDisplayableManager * New()
Displayable manager for showing transforms in slice (2D) views.
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167