NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxClippingWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXCLIPPINGWIDGET_H_
13 #define CXCLIPPINGWIDGET_H_
14 
15 #include "cxGuiExport.h"
16 
17 #include "cxBaseWidget.h"
18 #include "cxForwardDeclarations.h"
19 class QCheckBox;
20 
21 namespace cx
22 {
23 typedef boost::shared_ptr<class StringPropertySelectData> StringPropertySelectDataPtr;
24 
32 /*
33  * \class ClippingWidget
34  *
35  * \date Aug 25, 2010
36  * \author Christian Askeland, SINTEF
37  */
38 
39 class cxGui_EXPORT ClippingWidget: public BaseWidget
40 {
41 Q_OBJECT
42 
43 public:
44  ClippingWidget(VisServicesPtr services, QWidget* parent);
45 
46 private:
47  InteractiveClipperPtr mInteractiveClipper;
48 
49  QCheckBox* mUseClipperCheckBox;
50  QCheckBox* mInvertPlaneCheckBox;
51  StringPropertyBasePtr mPlaneAdapter;
52  StringPropertySelectDataPtr mDataAdapter;
53  VisServicesPtr mServices;
54 private slots:
55  void setupUI();
56  void clipperChangedSlot();
57  void clearButtonClickedSlot();
58  void saveButtonClickedSlot();
59  void imageChangedSlot();
60 };
61 
65 }//namespace cx
66 
67 #endif /* CXCLIPPINGWIDGET_H_ */
cxBaseWidget.h
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::BaseWidget
Interface for QWidget which handles widgets uniformly for the system.
Definition: cxBaseWidget.h:88
cxForwardDeclarations.h
cx::VisServicesPtr
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
cx::ClippingWidget
Definition: cxClippingWidget.h:39
cx::InteractiveClipperPtr
boost::shared_ptr< class InteractiveClipper > InteractiveClipperPtr
Definition: cxForwardDeclarations.h:157
cx::StringPropertyBasePtr
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
Definition: cxIGTLinkStreamerService.h:20
cx::StringPropertySelectDataPtr
boost::shared_ptr< class StringPropertySelectData > StringPropertySelectDataPtr
Definition: cxClippingWidget.h:23