Detailed Description
Definition at line 12 of file repere.hpp.
List of all members.
Public Member Functions |
| Repere (const Repere *ref, jblas::vec3 origin, jblas::vec3 i, jblas::vec3 j, jblas::vec3 k) |
| This will construct a repere with the given origin, i, j and k.
|
| Repere (const Repere *ref) |
| This will construct a repere which is equal to the reference, but which is expressed in the reference.
|
const Repere * | ref () const |
void | changeRef (const Repere *) |
| This function change the reference of the facet, the origin, vector i, j and k are updated.
|
void | setRef (const Repere *ref) |
| This function set the reference of the facet, the origin, vector i, j and k are _not_ updated.
|
bool | isGlobal () const |
| This function tells if this repere is the global repere.
|
jblas::vec3 | i () const |
jblas::vec3 | j () const |
jblas::vec3 | k () const |
jblas::vec3 | origin () const |
jblas::vec3 | globalOrigin () const |
jblas::vec | toEuler () const |
void | fromEuler (const jblas::vec &) |
jblas::vec3 | localToGlobal (jblas::vec3 v, double l) const |
geom::T3DEuler | localToParent () const |
void | localToParent (geom::T3DEuler &) const |
geom::T3DEuler | parentToLocal () const |
void | parentToLocal (geom::T3DEuler &) const |
geom::T3DEuler | localToGlobal () const |
void | localToGlobal (geom::T3DEuler &) const |
geom::T3DEuler | globalToLocal () const |
void | globalToLocal (geom::T3DEuler &) const |
Static Public Member Functions |
static Repere * | copyRepere (Repere *r) |
static const Repere * | global () |
Protected Member Functions |
void | setI (jblas::vec3 ni) |
void | setJ (jblas::vec3 nj) |
void | setK (jblas::vec3 nk) |
void | setOrigin (jblas::vec3 no) |
Private Member Functions |
| Repere () |
| This constructor will create a Global reference.
|
void | initIdentityRepere () |
Private Attributes |
const Repere * | m_ref |
jblas::vec3 | m_i |
jblas::vec3 | m_j |
jblas::vec3 | m_k |
jblas::vec3 | m_origin |
bool | m_t3d_uptodate |
geom::T3DEuler | m_thisToRef |
Static Private Attributes |
static Repere * | s_globalRef |
Member Function Documentation
- Returns:
- the third vector of the repere (expressed in the ref Repere)
Definition at line 75 of file repere.hpp.
- Returns:
- the origin of the repere (expressed in the ref Repere)
Definition at line 79 of file repere.hpp.
- Parameters:
-
ni | new value for the first vector of the repere |
Definition at line 116 of file repere.hpp.
- Parameters:
-
nj | new value for the second vector of the repere |
Definition at line 120 of file repere.hpp.
- Parameters:
-
nk | new value for the third vector of the repere |
Definition at line 124 of file repere.hpp.
- Parameters:
-
no | new value for the origin of the repere |
Definition at line 128 of file repere.hpp.
- Returns:
- a vector with the euler coordinate (position, angles)
The documentation for this class was generated from the following file: