CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxTransferFunction2DOpacityWidget.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 #ifndef CXTRANSFERFUNCTION2DOPACITYWIDGET_H_
12 #define CXTRANSFERFUNCTION2DOPACITYWIDGET_H_
13 
14 #include "cxGuiExport.h"
15 
16 #include "cxBaseWidget.h"
19 
20 namespace cx
21 {
35 class cxGui_EXPORT TransferFunction2DOpacityWidget : public BaseWidget
36 {
37  Q_OBJECT
38 
39 public:
40  TransferFunction2DOpacityWidget(ActiveDataPtr activeData, QWidget* parent);
42 
43 private slots:
44  void activeImageChangedSlot();
45 
46 protected:
51 
52  void updateLLR(ImagePtr image);
53 };
54 
58 }//end namespace cx
59 
60 #endif /* CXTRANSFERFUNCTION2DOPACITYWIDGET_H_ */
boost::shared_ptr< class Image > ImagePtr
Definition: cxDicomWidget.h:27
boost::shared_ptr< class ActiveImageProxy > ActiveImageProxyPtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
Definition: cxColorWidget.h:21
boost::shared_ptr< DoublePropertyImageTFDataBase > DoublePropertyImageTFDataBasePtr
Interface for QWidget which handles widgets uniformly for the system.
Definition: cxBaseWidget.h:88
TransferFunctionAlphaWidget * mTransferFunctionAlphaWidget
Namespace for all CustusX production code.