Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkMRMLTransformsDisplayableManager3D.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 __vtkMRMLTransformsDisplayableManager3D_h
24#define __vtkMRMLTransformsDisplayableManager3D_h
25
26// MRMLDisplayableManager includes
28
29#include "vtkSlicerTransformsModuleMRMLDisplayableManagerExport.h"
30
36class VTK_SLICER_TRANSFORMS_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT vtkMRMLTransformsDisplayableManager3D
38{
39public:
40
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
45protected:
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
62
64 void Create() override;
65
66private:
67
69 void operator=(const vtkMRMLTransformsDisplayableManager3D&) = delete;
70
71 class vtkInternal;
72 vtkInternal* Internal;
73 friend class vtkInternal;
74};
75
76#endif
Abstract Superclass for all specific types of MRML nodes.
void OnMRMLSceneNodeAdded(vtkMRMLNode *node) override
void UpdateFromMRML() override
Update Actors based on transforms in the scene.
void ProcessMRMLNodesEvents(vtkObject *caller, unsigned long event, void *callData) override
void PrintSelf(ostream &os, vtkIndent indent) override
void OnMRMLSceneNodeRemoved(vtkMRMLNode *node) override
static vtkMRMLTransformsDisplayableManager3D * New()
void Create() override
Initialize the displayable manager.