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
cxGuideRep2D.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
13
#ifndef CXGUIDEREP2D_H_
14
#define CXGUIDEREP2D_H_
15
16
#include "cxResourceVisualizationExport.h"
17
18
#include "
cxDataMetricRep.h
"
19
#include "
cxGraphicalPrimitives.h
"
20
#include "
cxPointMetric.h
"
21
#include "
cxViewportListener.h
"
22
23
namespace
cx
24
{
25
26
typedef
boost::shared_ptr<class GuideRep2D>
GuideRep2DPtr
;
27
36
class
cxResourceVisualization_EXPORT
GuideRep2D
:
public
DataMetricRep
37
{
38
Q_OBJECT
39
public
:
40
static
GuideRep2DPtr
New(
PatientModelServicePtr
dataManager,
const
QString& uid=
""
);
41
virtual
~GuideRep2D
() {}
42
43
virtual
QString
getType
()
const
{
return
"GuideRep2D"
; }
44
void
setSliceProxy(
SliceProxyPtr
slicer);
48
void
setOutlineWidth(
double
width);
49
50
void
setRequestedAccuracy(
double
accuracy);
51
52
protected
:
53
virtual
void
clear();
54
virtual
void
onModifiedStartRender();
55
56
private
:
57
GuideRep2D
(
PatientModelServicePtr
dataManager);
58
GuideRep2D
();
59
60
PatientModelServicePtr
mDataManager;
61
SliceProxyPtr
mSliceProxy;
62
vtkActorPtr
mCircleActor;
63
vtkSectorSourcePtr
mCircleSource;
64
double
mOutlineWidth;
65
double
mRequestedAccuracy;
66
};
67
68
}
69
70
#endif
/* CXGUIDEREP2D_H_ */
cx::GuideRep2D
Definition:
cxGuideRep2D.h:36
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cxGraphicalPrimitives.h
cx::GuideRep2D::~GuideRep2D
virtual ~GuideRep2D()
Definition:
cxGuideRep2D.h:41
cx::SliceProxyPtr
boost::shared_ptr< class SliceProxy > SliceProxyPtr
Definition:
cxForwardDeclarations.h:96
cx::PatientModelServicePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Definition:
cxLogicManager.h:25
cxViewportListener.h
cx::GuideRep2DPtr
boost::shared_ptr< class GuideRep2D > GuideRep2DPtr
Definition:
cxForwardDeclarations.h:75
cx::GuideRep2D::getType
virtual QString getType() const
Definition:
cxGuideRep2D.h:43
cxPointMetric.h
vtkActorPtr
vtkSmartPointer< class vtkActor > vtkActorPtr
Definition:
vtkForwardDeclarations.h:31
cx::DataMetricRep
Base class for all Data Metric reps.
Definition:
cxDataMetricRep.h:39
cxDataMetricRep.h
vtkSectorSourcePtr
vtkSmartPointer< class vtkSectorSource > vtkSectorSourcePtr
Definition:
vtkForwardDeclarations.h:126
CX
source
resource
view
Rep2D
cxGuideRep2D.h
Generated on Tue Sep 13 2022 11:06:17 for NorMIT-nav by
1.8.17