Slicer 5.7
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
qMRMLNavigationView.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 Julien Finet, Kitware Inc.
17 and was partially funded by NIH grant 3P41RR013218-12S1
18
19==============================================================================*/
20
21#ifndef __qMRMLNavigationView_h
22#define __qMRMLNavigationView_h
23
24// CTK includes
25#include <ctkVTKObject.h>
26#include <ctkVTKThumbnailView.h>
27
28#include "qMRMLWidgetsExport.h"
29
30class qMRMLNavigationViewPrivate;
31class vtkMRMLScene;
32class vtkMRMLViewNode;
33
38class QMRML_WIDGETS_EXPORT qMRMLNavigationView : public ctkVTKThumbnailView
39{
40 Q_OBJECT
41 QVTK_OBJECT
42
43public:
45 typedef ctkVTKThumbnailView Superclass;
46
48 explicit qMRMLNavigationView(QWidget* parent = nullptr);
50
51public slots:
52
54 void setMRMLScene(vtkMRMLScene* newScene);
55
57 void setMRMLViewNode(vtkMRMLViewNode* newViewNode);
59
60protected slots:
63
64protected:
65 QScopedPointer<qMRMLNavigationViewPrivate> d_ptr;
66
67private:
68 Q_DECLARE_PRIVATE(qMRMLNavigationView);
69 Q_DISABLE_COPY(qMRMLNavigationView);
70};
71
72#endif
QScopedPointer< qMRMLNavigationViewPrivate > d_ptr
void setMRMLViewNode(vtkMRMLViewNode *newViewNode)
Set/Get viewNode.
vtkMRMLViewNode * mrmlViewNode() const
ctkVTKThumbnailView Superclass
Superclass typedef.
void setMRMLScene(vtkMRMLScene *newScene)
Set the MRML scene that should be listened for events.
~qMRMLNavigationView() override
void updateFromMRMLViewNode()
qMRMLNavigationView(QWidget *parent=nullptr)
Constructors.
A set of MRML Nodes that supports serialization and undo/redo.
MRML node to represent a 3D view.