Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
qMRMLTransformInfoWidget.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 Andras Lasso and Franklin King at
17 PerkLab, Queen's University and was supported through the Applied Cancer
18 Research Unit program of Cancer Care Ontario with funds provided by the
19 Ontario Ministry of Health and Long-Term Care.
20
21==============================================================================*/
22
23
24#ifndef __qMRMLTransformInfoWidget_h
25#define __qMRMLTransformInfoWidget_h
26
27// CTK includes
28#include <ctkPimpl.h>
29#include <ctkVTKObject.h>
30
31// Slicer includes
32#include "qMRMLWidget.h"
33
34#include "qSlicerTransformsModuleWidgetsExport.h"
35
36class qMRMLTransformInfoWidgetPrivate;
38class vtkMRMLNode;
39
40class Q_SLICER_MODULE_TRANSFORMS_WIDGETS_EXPORT
42 : public qMRMLWidget
43{
44 Q_OBJECT
45 QVTK_OBJECT
46
47public:
49 qMRMLTransformInfoWidget(QWidget *parent=nullptr);
51
53
55
56public slots:
57
61
62 void setMRMLScene(vtkMRMLScene* scene) override;
63
67
69 void processEvent(vtkObject* sender, void* callData, unsigned long eventId, void* clientData);
70
71protected slots:
74
75protected:
76
77 void showEvent(QShowEvent *) override;
78
79 QScopedPointer<qMRMLTransformInfoWidgetPrivate> d_ptr;
80
81private:
82 Q_DECLARE_PRIVATE(qMRMLTransformInfoWidget);
83 Q_DISABLE_COPY(qMRMLTransformInfoWidget);
84};
85
86#endif
void setMRMLScene(vtkMRMLScene *scene) override
void showEvent(QShowEvent *) override
vtkMRMLScene * mrmlScene() const
qMRMLTransformInfoWidget(QWidget *parent=nullptr)
~qMRMLTransformInfoWidget() override
QScopedPointer< qMRMLTransformInfoWidgetPrivate > d_ptr
void setMRMLTransformNode(vtkMRMLTransformNode *transformNode)
void setMRMLTransformNode(vtkMRMLNode *node)
vtkMRMLTransformNode * mrmlTransformNode() const
void processEvent(vtkObject *sender, void *callData, unsigned long eventId, void *clientData)
Process event function.
void updateTransformVectorDisplayFromMRML()
qMRMLWidget(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.
MRML node for representing a transformation between this node space and a parent node space.