Frame class.
More...
#include <Repere.h>
|
| Repere () |
| Constructors. More...
|
|
| Repere (vec3 _U, vec3 _V, vec3 _W, vec3 _O) |
|
| Repere (const Repere &repere) |
|
virtual | ~Repere () |
| Destructor. More...
|
|
void | set (vec3 _U, vec3 _V, vec3 _W, vec3 _O) |
| Set global coordinates of local axis U,V,W and origin O. More...
|
|
void | setU (vec3 _U) |
|
void | setV (vec3 _V) |
|
void | setW (vec3 _W) |
|
void | setO (vec3 _O) |
|
vec3 | getU () const |
| Get global coordinates of local axis U,V,W and origin O. More...
|
|
vec3 | getV () const |
|
vec3 | getW () const |
|
vec3 | getO () const |
|
vec3 | vectorFromLocalToGlobal (const vec3 &local) |
| Get global coordinates of vector expressed in local coordinates. More...
|
|
vec3 | vectorFromGlobalToLocal (const vec3 &global) |
| Get local coordinates of vector expressed in global coordinates. More...
|
|
vec3 | positionFromLocalToGlobal (const vec3 &local) |
| Get global coordinates of a point expressed in local coordinates. More...
|
|
vec3 | positionFromGlobalToLocal (const vec3 &global) |
| Get local coordinates of a point expressed in global coordinates. More...
|
|
| Base () |
| Default constructor. More...
|
|
| Base (const Base &other) |
| Copy constructor. More...
|
|
virtual | ~Base () |
| Destructor. More...
|
|
std::string | getName () |
| Get the name of the object. More...
|
|
void | setName (const std::string &_name) |
| Set the name of the object. More...
|
|
|
vec3 | U |
| Coordinates of local axis U in global frame. More...
|
|
vec3 | V |
| Coordinates of local axis V in global frame. More...
|
|
vec3 | W |
| Coordinates of local axis W in global frame. More...
|
|
vec3 | O |
| Origin of the local frame in the global frame. More...
|
|
decimal | LtoG [4][4] |
| Local to global frame matrix. More...
|
|
decimal | GtoL [4][4] |
| Global to local frame matrix. More...
|
|
std::string | name |
| Each instantiated object may be named. More...
|
|
Frame class.
Definition at line 25 of file Repere.h.
◆ Repere() [1/3]
Constructors.
Definition at line 31 of file Repere.h.
◆ Repere() [2/3]
Repere::Repere |
( |
vec3 |
_U, |
|
|
vec3 |
_V, |
|
|
vec3 |
_W, |
|
|
vec3 |
_O |
|
) |
| |
◆ Repere() [3/3]
Repere::Repere |
( |
const Repere & |
repere | ) |
|
◆ ~Repere()
virtual Repere::~Repere |
( |
| ) |
|
|
inlinevirtual |
Destructor.
Definition at line 36 of file Repere.h.
◆ getO()
vec3 Repere::getO |
( |
| ) |
const |
|
inline |
◆ getU()
vec3 Repere::getU |
( |
| ) |
const |
|
inline |
Get global coordinates of local axis U,V,W and origin O.
Definition at line 46 of file Repere.h.
◆ getV()
vec3 Repere::getV |
( |
| ) |
const |
|
inline |
◆ getW()
vec3 Repere::getW |
( |
| ) |
const |
|
inline |
◆ positionFromGlobalToLocal()
vec3 Repere::positionFromGlobalToLocal |
( |
const vec3 & |
global | ) |
|
Get local coordinates of a point expressed in global coordinates.
Definition at line 98 of file Repere.cpp.
◆ positionFromLocalToGlobal()
vec3 Repere::positionFromLocalToGlobal |
( |
const vec3 & |
local | ) |
|
Get global coordinates of a point expressed in local coordinates.
Definition at line 83 of file Repere.cpp.
◆ set()
void Repere::set |
( |
vec3 |
_U, |
|
|
vec3 |
_V, |
|
|
vec3 |
_W, |
|
|
vec3 |
_O |
|
) |
| |
|
inline |
Set global coordinates of local axis U,V,W and origin O.
Definition at line 39 of file Repere.h.
◆ setO()
void Repere::setO |
( |
vec3 |
_O | ) |
|
|
inline |
◆ setU()
void Repere::setU |
( |
vec3 |
_U | ) |
|
|
inline |
◆ setV()
void Repere::setV |
( |
vec3 |
_V | ) |
|
|
inline |
◆ setW()
void Repere::setW |
( |
vec3 |
_W | ) |
|
|
inline |
◆ updateMatrices()
void Repere::updateMatrices |
( |
| ) |
|
|
protected |
Update the global and local frame matrices.
Definition at line 42 of file Repere.cpp.
◆ vectorFromGlobalToLocal()
vec3 Repere::vectorFromGlobalToLocal |
( |
const vec3 & |
global | ) |
|
Get local coordinates of vector expressed in global coordinates.
Definition at line 73 of file Repere.cpp.
◆ vectorFromLocalToGlobal()
vec3 Repere::vectorFromLocalToGlobal |
( |
const vec3 & |
local | ) |
|
Get global coordinates of vector expressed in local coordinates.
Definition at line 63 of file Repere.cpp.
◆ GtoL
decimal Repere::GtoL[4][4] |
|
protected |
Global to local frame matrix.
Definition at line 73 of file Repere.h.
◆ LtoG
decimal Repere::LtoG[4][4] |
|
protected |
Local to global frame matrix.
Definition at line 72 of file Repere.h.
Origin of the local frame in the global frame.
Definition at line 70 of file Repere.h.
Coordinates of local axis U in global frame.
Definition at line 67 of file Repere.h.
Coordinates of local axis V in global frame.
Definition at line 68 of file Repere.h.
Coordinates of local axis W in global frame.
Definition at line 69 of file Repere.h.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/codetympan/checkouts/latest/Tympan/geometric_methods/AcousticRaytracer/Geometry/Repere.h
- /home/docs/checkouts/readthedocs.org/user_builds/codetympan/checkouts/latest/Tympan/geometric_methods/AcousticRaytracer/Geometry/Repere.cpp