Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLOrientationMarkerDisplayableManager.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 __vtkMRMLOrientationMarkerDisplayableManager_h
21 #define __vtkMRMLOrientationMarkerDisplayableManager_h
22 
23 // MRMLDisplayableManager includes
25 #include "vtkMRMLDisplayableManagerExport.h"
26 
27 // MRML includes
28 class vtkMRMLCameraNode;
29 
31 class VTK_MRML_DISPLAYABLEMANAGER_EXPORT vtkMRMLOrientationMarkerDisplayableManager
33 {
34  friend class vtkRendererUpdateObserver;
35 
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41 protected:
42 
45 
47  void Create() override;
48 
52  void OnMRMLDisplayableNodeModifiedEvent(vtkObject* caller) override;
53 
55  void UpdateFromViewNode();
56 
58  void UpdateFromRenderer();
59 
60 private:
61 
63  void operator=(const vtkMRMLOrientationMarkerDisplayableManager&) = delete;
64 
65  class vtkInternal;
66  vtkInternal * Internal;
67 };
68 
69 #endif
Displayable manager that displays orientation marker in a slice or 3D view.
Superclass for displayable manager classes.
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkMRMLAbstractDisplayableManager * New()
virtual void OnMRMLDisplayableNodeModifiedEvent(vtkObject *caller)
MRML node to represent camera node.