Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLSegmentationsDisplayableManager2D.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
4  Queen's University, Kingston, ON, Canada. All Rights Reserved.
5 
6  See COPYRIGHT.txt
7  or http://www.slicer.org/copyright/copyright.txt for details.
8 
9  Unless required by applicable law or agreed to in writing, software
10  distributed under the License is distributed on an "AS IS" BASIS,
11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  See the License for the specific language governing permissions and
13  limitations under the License.
14 
15  This file was originally developed by Csaba Pinter, PerkLab, Queen's University
16  and was supported through the Applied Cancer Research Unit program of Cancer Care
17  Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
18 
19 ==============================================================================*/
20 
21 #ifndef __vtkMRMLSegmentationsDisplayableManager2D_h
22 #define __vtkMRMLSegmentationsDisplayableManager2D_h
23 
24 // MRMLDisplayableManager includes
26 
27 #include "vtkSlicerSegmentationsModuleMRMLDisplayableManagerExport.h"
28 
33 class VTK_SLICER_SEGMENTATIONS_MODULE_MRMLDISPLAYABLEMANAGER_EXPORT vtkMRMLSegmentationsDisplayableManager2D
35 {
36 
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41 
44  virtual std::string GetDataProbeInfoStringForPosition(double xyz[3]) VTK_OVERRIDE;
45 
46 protected:
47  virtual void UnobserveMRMLScene() VTK_OVERRIDE;
48  virtual void OnMRMLSceneNodeAdded(vtkMRMLNode* node) VTK_OVERRIDE;
49  virtual void OnMRMLSceneNodeRemoved(vtkMRMLNode* node) VTK_OVERRIDE;
50  virtual void ProcessMRMLNodesEvents(vtkObject* caller, unsigned long event, void* callData) VTK_OVERRIDE;
51 
53  virtual void UpdateFromMRML() VTK_OVERRIDE;
54 
55  virtual void OnMRMLSceneStartClose() VTK_OVERRIDE;
56  virtual void OnMRMLSceneEndClose() VTK_OVERRIDE;
57 
58  virtual void OnMRMLSceneEndBatchProcess() VTK_OVERRIDE;
59 
61  virtual void Create() VTK_OVERRIDE;
62 
63 protected:
65  virtual ~vtkMRMLSegmentationsDisplayableManager2D();
66 
67 private:
68  vtkMRMLSegmentationsDisplayableManager2D(const vtkMRMLSegmentationsDisplayableManager2D&);// Not implemented
69  void operator=(const vtkMRMLSegmentationsDisplayableManager2D&); // Not Implemented
70 
71  class vtkInternal;
72  vtkInternal * Internal;
73  friend class vtkInternal;
74 };
75 
76 #endif
Displayable manager for showing segmentations in slice (2D) views.
virtual void UnobserveMRMLScene()
virtual std::string GetDataProbeInfoStringForPosition(double vtkNotUsed(xyz)[3])
static vtkMRMLAbstractSliceViewDisplayableManager * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135