Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
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
41{
42 Q_OBJECT
43 QVTK_OBJECT
44public:
47
50 explicit qMRMLDisplayNodeViewComboBox(QWidget* parent = nullptr);
52
54
59
60public slots:
65 void setMRMLDisplayNode(vtkMRMLNode* displayNode);
66
67protected slots:
70
71protected:
72 QScopedPointer<qMRMLDisplayNodeViewComboBoxPrivate> d_ptr;
73
74private:
75 Q_DECLARE_PRIVATE(qMRMLDisplayNodeViewComboBox);
76 Q_DISABLE_COPY(qMRMLDisplayNodeViewComboBox);
77};
78
79#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.