Slicer 5.4
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
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
41class Q_SLICER_MODULE_MARKUPS_WIDGETS_EXPORT
43 : public qMRMLWidget
44{
45 Q_OBJECT
46 QVTK_OBJECT
47
48public:
50 qMRMLMarkupsFiducialProjectionPropertyWidget(QWidget *newParent = nullptr);
52
53public slots:
56 void setProjectionVisibility(bool showProjection);
57 void setProjectionColor(QColor newColor);
58 void setUseFiducialColor(bool useFiducialColor);
59 void setOutlinedBehindSlicePlane(bool outlinedBehind);
60 void setProjectionOpacity(double opacity);
61
62protected slots:
64
65protected:
66 QScopedPointer<qMRMLMarkupsFiducialProjectionPropertyWidgetPrivate> d_ptr;
67
68private:
71
72};
73
74#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)
Base class for any widget that requires a MRML Scene.
Definition qMRMLWidget.h:36