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
vtkMRMLViewLinkLogic.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Copyright (c) Kapteyn Astronomical Institute
4 University of Groningen, Groningen, Netherlands. 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 Davide Punzo, Kapteyn Astronomical Institute,
16 and was supported through the European Research Council grant nr. 291531.
17
18==============================================================================*/
19
31
32#ifndef __vtkMRMLViewLinkLogic_h
33#define __vtkMRMLViewLinkLogic_h
34
35// MRMLLogic includes
37
38// STD includes
39#include <vector>
40
41class vtkMRMLViewNode;
43
44class VTK_MRML_LOGIC_EXPORT vtkMRMLViewLinkLogic : public vtkMRMLAbstractLogic
45{
46public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
52protected:
55
56 // On a change in scene, we need to manage the observations.
57 void SetMRMLSceneInternal(vtkMRMLScene* newScene) override;
58
59 void OnMRMLSceneNodeAdded(vtkMRMLNode* node) override;
60 void OnMRMLSceneNodeRemoved(vtkMRMLNode* node) override;
61 void OnMRMLNodeModified(vtkMRMLNode* node) override;
62
65
68
69private:
71 void operator=(const vtkMRMLViewLinkLogic&) = delete;
72
73};
74
75#endif
MRML node to represent camera node.
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.
static vtkMRMLViewLinkLogic * New()
The Usual VTK class functions.
void BroadcastCameraNodeEvent(vtkMRMLCameraNode *cameraNode)
Broadcast a camera node to other camera nodes.
void OnMRMLNodeModified(vtkMRMLNode *node) override
void OnMRMLSceneNodeRemoved(vtkMRMLNode *node) override
~vtkMRMLViewLinkLogic() override
void SetMRMLSceneInternal(vtkMRMLScene *newScene) override
void BroadcastViewNodeEvent(vtkMRMLViewNode *viewNode)
Broadcast a view node to other view nodes.
void PrintSelf(ostream &os, vtkIndent indent) override
void OnMRMLSceneNodeAdded(vtkMRMLNode *node) override
MRML node to represent a 3D view.