CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxStreamPropertiesWidget.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 CXSTREAMPROPERTIESWIDGET_H
12 #define CXSTREAMPROPERTIESWIDGET_H
13 
14 #include "cxGuiExport.h"
15 #include "cxTabbedWidget.h"
16 
17 namespace cx
18 {
19 typedef boost::shared_ptr<class StringPropertySelectTrackedStream> StringPropertySelectTrackedStreamPtr;
20 typedef boost::shared_ptr<class TransferFunction3DWidget> TransferFunction3DWidgetPtr;
21 typedef boost::shared_ptr<class ShadingWidget> ShadingWidgetPtr;
22 typedef boost::shared_ptr<class TrackedStream> TrackedStreamPtr;
23 
30 class cxGui_EXPORT StreamPropertiesWidget : public TabbedWidget
31 {
32  Q_OBJECT
33 public:
34  StreamPropertiesWidget(PatientModelServicePtr patientModelService, ViewServicePtr viewService, QWidget* parent);
35 
36 private slots:
37  void streamSelectedSlot();
38  void streamingSlot(bool isStreaming);
39  void firstFrame();
40 private:
41  StringPropertySelectTrackedStreamPtr mSelectStream;
42  TransferFunction3DWidgetPtr mTransferFunctionWidget;
43  ShadingWidgetPtr mShadingWidget;
44  TrackedStreamPtr mTrackedStream;
45 };
46 } //cx
47 
48 #endif // CXSTREAMPROPERTIESWIDGET_H
boost::shared_ptr< class TransferFunction3DWidget > TransferFunction3DWidgetPtr
boost::shared_ptr< class TrackedStream > TrackedStreamPtr
boost::shared_ptr< class ViewService > ViewServicePtr
boost::shared_ptr< class ShadingWidget > ShadingWidgetPtr
boost::shared_ptr< class StringPropertySelectTrackedStream > StringPropertySelectTrackedStreamPtr
Interface for making widgets with a hierarchy of tabs.
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Widget for displaying and manipulating TrackedStream properties.
Namespace for all CustusX production code.