Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qMRMLAnnotationFiducialProjectionPropertyWidget.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 
21 ==============================================================================*/
22 
23 #ifndef __qMRMLAnnotationFiducialProjectionPropertyWidget_h
24 #define __qMRMLAnnotationFiducialProjectionPropertyWidget_h
25 
26 // CTK includes
27 #include <ctkPimpl.h>
28 #include <ctkVTKObject.h>
29 
30 // SlicerQt includes
31 #include "qMRMLWidget.h"
32 
33 #include "qSlicerAnnotationsModuleWidgetsExport.h"
34 
35 class qMRMLAnnotationFiducialProjectionPropertyWidgetPrivate;
37 
39 class Q_SLICER_MODULE_ANNOTATIONS_WIDGETS_EXPORT
41  : public qMRMLWidget
42 {
43  Q_OBJECT
44  QVTK_OBJECT
45 
46 public:
50 
51 public slots:
52  void setMRMLFiducialNode(vtkMRMLAnnotationFiducialNode* fiducialNode);
53  void setProjectionVisibility(bool showProjection);
54  void setProjectionColor(QColor newColor);
55  void setUseFiducialColor(bool useFiducialColor);
56  void setOutlinedBehindSlicePlane(bool outlinedBehind);
57 
58 protected slots:
59  void updateWidgetFromDisplayNode();
60 
61 protected:
62  QScopedPointer<qMRMLAnnotationFiducialProjectionPropertyWidgetPrivate> d_ptr;
63 
64 private:
67 
68 };
69 
70 #endif
MRML node to represent a fiducial in the Annotations module - deprecated.
Base class for any widget that requires a MRML Scene.
Definition: qMRMLWidget.h:35
QScopedPointer< qMRMLAnnotationFiducialProjectionPropertyWidgetPrivate > d_ptr