Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLCrosshairDisplayableManager3D.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: 3D Slicer
4 
5  Copyright (c) Kitware Inc.
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 (PerkLab, Queen's University).
17 
18 ==============================================================================*/
19 
20 #ifndef __vtkMRMLCrosshairDisplayableManager3D_h
21 #define __vtkMRMLCrosshairDisplayableManager3D_h
22 
23 // MRMLDisplayableManager includes
25 #include "vtkMRMLDisplayableManagerExport.h"
26 
30 class VTK_MRML_DISPLAYABLEMANAGER_EXPORT vtkMRMLCrosshairDisplayableManager3D :
32 {
33 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
39 protected:
42 
45  void Create() override;
46 
48  void AdditionalInitializeStep() override;
49 
50 private:
52  void operator=(const vtkMRMLCrosshairDisplayableManager3D&) = delete;
53 
54  void UnobserveMRMLScene() override;
55  void ObserveMRMLScene() override;
56  void UpdateFromMRMLScene() override;
57  void OnMRMLNodeModified(vtkMRMLNode* node) override;
58 
59  class vtkInternal;
60  vtkInternal * Internal;
61 };
62 
63 #endif
Displayable manager for the crosshair on 3D views.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void OnMRMLNodeModified(vtkMRMLNode *)
virtual void UnobserveMRMLScene()
static vtkMRMLAbstractThreeDViewDisplayableManager * New()
virtual void ObserveMRMLScene()
virtual void UpdateFromMRMLScene()
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167