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
vtkSlicerViewControllersLogic.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
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 Csaba Pinter, PerkLab, Queen's University
17 and was supported through the Applied Cancer Research Unit program of Cancer Care
18 Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
19
20==============================================================================*/
21
22// .NAME vtkSlicerViewControllersLogic - slicer logic class for SliceViewControllers module
23
24#ifndef __vtkSlicerViewControllersLogic_h
25#define __vtkSlicerViewControllersLogic_h
26
27// Slicer includes
29
30// STD includes
31#include <cstdlib>
32
33#include "vtkSlicerViewControllersModuleLogicExport.h"
34
37class vtkMRMLViewNode;
38
39class VTK_SLICER_VIEWCONTROLLERS_MODULE_LOGIC_EXPORT vtkSlicerViewControllersLogic :
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47public:
48
54
60
66
69
70protected:
73
75 void RegisterNodes() override;
76
77private:
79 void operator=(const vtkSlicerViewControllersLogic&) = delete;
80
81};
82
83#endif
MRML node to represent Plot view parameters.
MRML node for storing a slice through RAS space.
MRML node to represent a 3D view.
vtkMRMLViewNode * GetDefaultThreeDViewNode()
void RegisterNodes() override
Register MRML Node classes to Scene. Gets called automatically when the MRMLScene is attached to this...
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMRMLPlotViewNode * GetDefaultPlotViewNode()
~vtkSlicerViewControllersLogic() override
vtkMRMLSliceNode * GetDefaultSliceViewNode()
void ResetAllViewNodesToDefault()
Reset all existing slice and 3D view nodes to default settings.
static vtkSlicerViewControllersLogic * New()