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
cxTransformEigenAddons.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
13
/*
14
* sscTransformEigenAddons.h
15
*
16
* Plugin extension for the eigen::Transform type
17
*
18
*
19
* Created on: Apr 24, 2011
20
* Author: christiana
21
*/
22
23
Vector3d vector(
const
Vector3d& v)
const
;
24
Vector3d
unitVector
(
const
Vector3d& v)
const
;
25
Vector3d coord(
const
Vector3d& v)
const
;
26
Transform inv()
27
const
;
28
boost::array<double, 16>
flatten
()
const
;
29
explicit
Transform(vtkMatrix4x4* m);
30
explicit
Transform(
double
* m);
31
vtkMatrix4x4Ptr
getVtkMatrix
()
32
const
;
33
vtkTransformPtr
getVtkTransform
()
34
const
;
35
std::ostream&
put
(std::ostream& s,
int
indent=0,
char
newline=
'\n'
)
const
;
36
static
Transform
fromString
(
const
QString& text,
bool
* ok=0);
37
static
Transform fromVtkMatrix(
vtkMatrix4x4Ptr
m);
38
static
Transform fromFloatArray(
float
m[4][4]);
39
vtkMatrix4x4Ptr
vtkSmartPointer< class vtkMatrix4x4 > vtkMatrix4x4Ptr
Definition:
cxMathBase.h:37
cx_transform3D_internal::getVtkTransform
vtkTransformPtr getVtkTransform(const Eigen::Affine3d *self)
Definition:
cxTransform3D.cpp:79
cx_transform3D_internal::fromString
Eigen::Affine3d fromString(const QString &text, bool *_ok)
Definition:
cxTransform3D.cpp:112
cx_transform3D_internal::put
std::ostream & put(const Eigen::Affine3d *self, std::ostream &s, int indent, char newline)
Definition:
cxTransform3D.cpp:87
vtkTransformPtr
vtkSmartPointer< class vtkTransform > vtkTransformPtr
Definition:
cxMathBase.h:41
cx_transform3D_internal::getVtkMatrix
vtkMatrix4x4Ptr getVtkMatrix(const Eigen::Affine3d *self)
Definition:
cxTransform3D.cpp:67
cx::unitVector
Vector3D unitVector(double thetaXY, double thetaZ)
compute a unit vector given angles xy in the xy plane and z meaning the elevation from the xy plane.
Definition:
cxVector3D.cpp:56
cx_transform3D_internal::flatten
boost::array< double, 16 > flatten(const Eigen::Affine3d *self)
Definition:
cxTransform3D.cpp:26
CX
source
resource
core
Math
cxTransformEigenAddons.h
Generated on Thu Jan 5 2023 03:15:53 for NorMIT-nav by
1.8.17