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
qMRMLClipNodeDisplayWidget.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
4 Queen's University, Kingston, ON, Canada. All Rights Reserved.
5
6 See COPYRIGHT.txt
7 or http://www.slicer.org/copyright/copyright.txt for details.
8
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14
15 This file was originally developed by Kyle Sunderland, PerkLab, Queen's University
16 and was supported in part through NIH grant R01 HL153166.
17
18==============================================================================*/
19
20#ifndef __qMRMLClipNodeDisplayWidget_h
21#define __qMRMLClipNodeDisplayWidget_h
22
23// Qt includes
24#include <qMRMLWidget.h>
25
26// CTK includes
27#include <ctkVTKObject.h>
28
29// qMRML includes
30#include "qMRMLWidgetsExport.h"
31#include "vtkMRMLClipNode.h"
32
33class qMRMLClipNodeDisplayWidgetPrivate;
34class vtkMRMLNode;
36
37class QMRML_WIDGETS_EXPORT qMRMLClipNodeDisplayWidget : public qMRMLWidget
38{
39 Q_OBJECT
40 QVTK_OBJECT
41public:
42 qMRMLClipNodeDisplayWidget(QWidget* parent = nullptr);
44
46
47public slots:
52
53protected slots:
56
57protected:
58 QScopedPointer<qMRMLClipNodeDisplayWidgetPrivate> d_ptr;
59
60private:
61 Q_DECLARE_PRIVATE(qMRMLClipNodeDisplayWidget);
62 Q_DISABLE_COPY(qMRMLClipNodeDisplayWidget);
63};
64
65#endif
QScopedPointer< qMRMLClipNodeDisplayWidgetPrivate > d_ptr
~qMRMLClipNodeDisplayWidget() override
void setMRMLDisplayNode(vtkMRMLDisplayNode *node)
Set the clip node to represent.
vtkMRMLDisplayNode * mrmlDisplayNode() const
void setMRMLDisplayNode(vtkMRMLNode *node)
Utility function to be connected to signals/slots.
qMRMLClipNodeDisplayWidget(QWidget *parent=nullptr)
qMRMLWidget(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
Abstract class that contains graphical display properties for displayable nodes.
Abstract Superclass for all specific types of MRML nodes.