Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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
28 #include "vtkSlicerModuleLogic.h"
29 
30 // STD includes
31 #include <cstdlib>
32 
33 #include "vtkSlicerViewControllersModuleLogicExport.h"
34 
36 class vtkMRMLSliceNode;
37 class vtkMRMLViewNode;
38 
40 class VTK_SLICER_VIEWCONTROLLERS_MODULE_LOGIC_EXPORT vtkSlicerViewControllersLogic :
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
48 public:
49 
54  vtkMRMLSliceNode* GetDefaultSliceViewNode();
55 
60  vtkMRMLViewNode* GetDefaultThreeDViewNode();
61 
66  vtkMRMLPlotViewNode* GetDefaultPlotViewNode();
67 
69  void ResetAllViewNodesToDefault();
70 
71 protected:
74 
76  void RegisterNodes() override;
77 
78 private:
80  void operator=(const vtkSlicerViewControllersLogic&) = delete;
81 
82 };
83 
84 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSlicerModuleLogic * New()
The Usual vtk class functions.
MRML node to represent Plot view parameters.
MRML node for storing a slice through RAS space.
MRML node to represent a 3D view.