NorMIT-nav
2023.01.05-dev+develop.0da12
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
cxManualTool.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 CXMANUALTOOL_H_
14
#define CXMANUALTOOL_H_
15
16
#include "cxResourceExport.h"
17
18
#include <QMutex>
19
#include "
cxToolImpl.h
"
20
#include "
vtkForwardDeclarations.h
"
21
22
namespace
cx
23
{
24
36
class
cxResource_EXPORT
ManualTool
:
public
ToolImpl
37
{
38
Q_OBJECT
39
public
:
40
41
explicit
ManualTool
(
const
QString& uid,
const
QString& name =
""
);
42
virtual
~
ManualTool
();
43
virtual
std::set<Type> getTypes()
const
;
44
virtual
vtkPolyDataPtr
getGraphicsPolyData()
const
;
45
virtual
void
setTransformSaveFile
(
const
QString& filename){}
46
virtual
bool
getVisible()
const
;
47
virtual
QString getUid()
const
;
48
virtual
QString getName()
const
;
49
virtual
int
getIndex()
const
;
50
virtual
bool
isCalibrated()
const
;
51
virtual
double
getTimestamp()
const
;
52
virtual
void
set_prMt(
const
Transform3D
& prMt,
double
timestamp=-1);
53
54
virtual
Transform3D
getCalibration_sMt()
const
;
55
virtual
std::map<QString, Vector3D>
getReferencePoints
()
const
{
return
std::map<QString, Vector3D>(); }
56
virtual
void
setVisible(
bool
vis);
57
58
private
slots:
59
void
read3DCrossHairSlot(
double
toolTipOffset)
const
;
60
private
:
61
// constant data
62
ProbeDefinition
mSector;
63
vtkSTLReaderPtr
mSTLReader;
64
mutable
vtkCursor3DPtr
mCrossHair;
65
66
bool
mVisible;
67
double
mTimestamp;
68
void
update3DCrossHair(
double
toolTipOffset)
const
;
69
};
70
71
typedef
boost::shared_ptr<ManualTool>
ManualToolPtr
;
72
73
}
// end namespace
74
75
#endif
/*SSCMANULATOOL_H_*/
cx::ProbeDefinition
Definition of characteristics for an Ultrasound Probe Sector.
Definition:
cxProbeDefinition.h:101
cx::ManualTool::setTransformSaveFile
virtual void setTransformSaveFile(const QString &filename)
Definition:
cxManualTool.h:45
vtkCursor3DPtr
vtkSmartPointer< class vtkCursor3D > vtkCursor3DPtr
Definition:
vtkForwardDeclarations.h:48
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
vtkSTLReaderPtr
vtkSmartPointer< class vtkSTLReader > vtkSTLReaderPtr
Definition:
vtkForwardDeclarations.h:131
cx::ManualTool
A manual tool that is unconnected to any hardware.
Definition:
cxManualTool.h:36
cx::Transform3D
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Definition:
cxLandmarkPatientRegistrationWidget.h:33
cx::ManualTool::getReferencePoints
virtual std::map< QString, Vector3D > getReferencePoints() const
Definition:
cxManualTool.h:55
cx::ManualToolPtr
boost::shared_ptr< class ManualTool > ManualToolPtr
Definition:
cxForwardDeclarations.h:43
vtkForwardDeclarations.h
cx::vtkPolyDataPtr
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
Definition:
cxCenterlineRegistration.h:42
cxToolImpl.h
cx::ToolImpl
Common functionality for Tool subclasses.
Definition:
cxToolImpl.h:30
CX
source
resource
core
Tool
cxManualTool.h
Generated on Thu Jan 5 2023 03:15:54 for NorMIT-nav by
1.8.17