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
qMRMLMarkupsFiducialProjectionPropertyWidget.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) Brigham and Women's Hospital
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 Laurent Chauvin, Brigham and Women's
17 Hospital. The project was supported by grants 5P01CA067165,
18 5R01CA124377, 5R01CA138586, 2R44DE019322, 7R01CA124377,
19 5R42CA137886, 5R42CA137886
20 It was then updated for the Markups module by Nicole Aucoin, BWH.
21
22==============================================================================*/
23
24#ifndef __qMRMLMarkupsFiducialProjectionPropertyWidget_h
25#define __qMRMLMarkupsFiducialProjectionPropertyWidget_h
26
27// CTK includes
28#include <ctkPimpl.h>
29#include <ctkVTKObject.h>
30
31// Slicer includes
32#include "qMRMLWidget.h"
33
34#include "qSlicerMarkupsModuleWidgetsExport.h"
35
36class qMRMLMarkupsFiducialProjectionPropertyWidgetPrivate;
39
40class Q_SLICER_MODULE_MARKUPS_WIDGETS_EXPORT
42 : public qMRMLWidget
43{
44 Q_OBJECT
45 QVTK_OBJECT
46
47public:
49 qMRMLMarkupsFiducialProjectionPropertyWidget(QWidget *newParent = nullptr);
51
52public slots:
55 void setProjectionVisibility(bool showProjection);
56 void setProjectionColor(QColor newColor);
57 void setUseFiducialColor(bool useFiducialColor);
58 void setOutlinedBehindSlicePlane(bool outlinedBehind);
59 void setProjectionOpacity(double opacity);
60
61protected slots:
63
64protected:
65 QScopedPointer<qMRMLMarkupsFiducialProjectionPropertyWidgetPrivate> d_ptr;
66
67private:
70
71};
72
73#endif
void setProjectionVisibility(bool showProjection)
void setMRMLMarkupsNode(vtkMRMLMarkupsNode *markupsNode)
qMRMLMarkupsFiducialProjectionPropertyWidget(QWidget *newParent=nullptr)
void setMRMLMarkupsDisplayNode(vtkMRMLMarkupsDisplayNode *markupsDisplayNode)
QScopedPointer< qMRMLMarkupsFiducialProjectionPropertyWidgetPrivate > d_ptr
void setUseFiducialColor(bool useFiducialColor)
void setOutlinedBehindSlicePlane(bool outlinedBehind)
qMRMLWidget(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())