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
qMRMLDisplayNodeViewComboBox.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 __qMRMLDisplayNodeViewComboBox_h
22#define __qMRMLDisplayNodeViewComboBox_h
23
24// CTK includes
25#include <ctkVTKObject.h>
26
27// qMRML includes
29class qMRMLDisplayNodeViewComboBoxPrivate;
30
31// VTK includes
34
40class QMRML_WIDGETS_EXPORT qMRMLDisplayNodeViewComboBox
42{
43 Q_OBJECT
44 QVTK_OBJECT
45public:
48
51 explicit qMRMLDisplayNodeViewComboBox(QWidget* parent = nullptr);
53
55
60
61public slots:
66 void setMRMLDisplayNode(vtkMRMLNode* displayNode);
67
68protected slots:
71
72protected:
73 QScopedPointer<qMRMLDisplayNodeViewComboBoxPrivate> d_ptr;
74
75private:
76 Q_DECLARE_PRIVATE(qMRMLDisplayNodeViewComboBox);
77 Q_DISABLE_COPY(qMRMLDisplayNodeViewComboBox);
78};
79
80#endif
qMRMLCheckableNodeComboBox(QWidget *parent=nullptr)
vtkMRMLDisplayNode * mrmlDisplayNode() const
void setMRMLDisplayNode(vtkMRMLNode *displayNode)
~qMRMLDisplayNodeViewComboBox() override
qMRMLCheckableNodeComboBox Superclass
Superclass typedef.
QScopedPointer< qMRMLDisplayNodeViewComboBoxPrivate > d_ptr
void setMRMLDisplayNode(vtkMRMLDisplayNode *node)
Set the display node to observe.
QList< vtkMRMLAbstractViewNode * > uncheckedViewNodes() const
Return a list of view nodes the display node is not visible into.
qMRMLDisplayNodeViewComboBox(QWidget *parent=nullptr)
QList< vtkMRMLAbstractViewNode * > checkedViewNodes() const
Return a list of view nodes the display node is visible into.
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D,...
Abstract class that contains graphical display properties for displayable nodes.
Abstract Superclass for all specific types of MRML nodes.