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
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
29
31class VTK_MRML_DISPLAYABLEMANAGER_EXPORT vtkMRMLOrientationMarkerDisplayableManager
33{
35
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
41protected:
42
45
47 void Create() override;
48
52 void OnMRMLDisplayableNodeModifiedEvent(vtkObject* caller) override;
53
56
59
60private:
61
63 void operator=(const vtkMRMLOrientationMarkerDisplayableManager&) = delete;
64
65 class vtkInternal;
66 vtkInternal * Internal;
67};
68
69#endif
MRML node to represent camera node.
void OnMRMLDisplayableNodeModifiedEvent(vtkObject *caller) override
static vtkMRMLOrientationMarkerDisplayableManager * New()
void PrintSelf(ostream &os, vtkIndent indent) override
void UpdateFromViewNode()
Update the renderer from the view node properties.
void UpdateFromRenderer()
Update the renderer based on the master renderer (the one that the orientation marker follows)
void Create() override
Observe the View node and initialize the renderer accordingly.