NorMIT-nav
22.09
An IGT application
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
i
l
m
o
p
q
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
i
j
l
m
n
o
p
r
s
t
v
Enumerations
Enumerator
a
c
d
g
h
i
l
n
p
r
s
t
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Variables
c
f
i
l
m
o
p
q
r
s
t
v
Typedefs
c
d
f
h
m
o
p
q
s
u
v
Macros
_
a
b
c
d
e
f
g
i
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
cxSlicePropertiesWidget.cpp
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
#include "
cxSlicePropertiesWidget.h
"
12
13
#include "
cxDataInterface.h
"
14
#include "
cxVolumeInfoWidget.h
"
15
#include "
cxSelectDataStringProperty.h
"
16
#include "
cxDataSelectWidget.h
"
17
#include "
cxOverlayWidget.h
"
18
#include "
cxColorWidget.h
"
19
#include "
cxTransferFunction2DOpacityWidget.h
"
20
#include "
cxTransferFunction2DColorWidget.h
"
21
#include "
cxPatientModelService.h
"
22
23
namespace
cx
24
{
25
26
SlicePropertiesWidget::SlicePropertiesWidget(
PatientModelServicePtr
patientModelService,
ViewServicePtr
viewService, QWidget* parent) :
27
TabbedWidget
(parent,
"slice_properties_widget"
,
"Slice Properties"
)
28
{
29
this->setToolTip(
"2D Image properties"
);
30
StringPropertyActiveDataPtr
activeDataProperty =
StringPropertyActiveData::New
(patientModelService,
"image|trackedStream"
);
31
this->
insertWidgetAtTop
(
new
DataSelectWidget
(viewService, patientModelService,
this
, activeDataProperty));
32
this->
addTab
(
new
ColorWidget
(patientModelService,
this
),
"Color"
);
33
this->
addTab
(
new
OverlayWidget
(patientModelService, viewService,
this
),
"Overlay"
);
34
// this->addTab(new VolumeInfoWidget(patientModelService, this), "Info");//Not neccesary as this is part of Volume Properties?
35
}
36
37
SlicePropertiesWidget::~SlicePropertiesWidget
()
38
{}
39
40
41
}
//end namespace cx
cx::TabbedWidget::addTab
void addTab(BaseWidget *newTab, QString newTabName)
Definition:
cxTabbedWidget.cpp:37
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::StringPropertyActiveData::New
static StringPropertyActiveDataPtr New(PatientModelServicePtr patientModelService, QString typeRegexp=".*")
Definition:
cxSelectDataStringProperty.h:28
cx::SlicePropertiesWidget::~SlicePropertiesWidget
virtual ~SlicePropertiesWidget()
Definition:
cxSlicePropertiesWidget.cpp:37
cxSlicePropertiesWidget.h
cxVolumeInfoWidget.h
cxOverlayWidget.h
cxColorWidget.h
cx::StringPropertyActiveDataPtr
boost::shared_ptr< class StringPropertyActiveData > StringPropertyActiveDataPtr
Definition:
cxSelectDataStringProperty.h:18
cx::TabbedWidget
Interface for making widgets with a hierarchy of tabs.
Definition:
cxTabbedWidget.h:34
cxDataInterface.h
cx::PatientModelServicePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Definition:
cxLogicManager.h:25
cx::ViewServicePtr
boost::shared_ptr< class ViewService > ViewServicePtr
Definition:
cxLogicManager.h:28
cxPatientModelService.h
cx::TabbedWidget::insertWidgetAtTop
void insertWidgetAtTop(QWidget *newWidget)
Definition:
cxTabbedWidget.cpp:44
cx::ColorWidget
Definition:
cxColorWidget.h:35
cxTransferFunction2DOpacityWidget.h
cxDataSelectWidget.h
cxTransferFunction2DColorWidget.h
cxSelectDataStringProperty.h
cx::DataSelectWidget
Definition:
cxDataSelectWidget.h:38
cx::OverlayWidget
Definition:
cxOverlayWidget.h:32
CX
source
gui
dataWidgets
cxSlicePropertiesWidget.cpp
Generated on Tue Sep 13 2022 11:06:12 for NorMIT-nav by
1.8.17