3D Reference
More...
Detailed Description
3D Reference
Definition at line 16 of file Repere3D.hpp.
#include <Repere3D.hpp>
List of all members.
Public Member Functions |
| Repere3D (const Repere3D *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.
|
| Repere3D (const Repere3D *ref) |
| This will construct a repere which is equal to the reference, but which is expressed in the reference.
|
const Repere3D * | ref () const |
void | changeRef (const Repere3D *) |
| This function change the reference of the facet, the origin, vector i, j and k are updated.
|
void | setRef (const Repere3D *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::vec4 | i () const |
jblas::vec4 | globalI () const |
jblas::vec4 | j () const |
jblas::vec4 | globalJ () const |
jblas::vec4 | k () const |
jblas::vec4 | globalK () const |
jblas::vec4 | origin () const |
jblas::vec4 | globalOrigin () const |
void | compose (const geom::T3DEuler &) |
jblas::vec | toEuler () const |
void | fromEuler (const jblas::vec &) |
jblas::vec4 | localToGlobal (jblas::vec4 v) const |
jblas::vec4 | globalToLocal (jblas::vec4 v) 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 |
template<typename _T > |
void | setI (const _T &ni) |
template<typename _T > |
void | setJ (const _T &nj) |
template<typename _T > |
void | setK (const _T &nk) |
template<typename _T > |
void | setOrigin (const _T &no) |
Static Public Member Functions |
static Repere3D * | copyRepere3D (Repere3D *r) |
static const Repere3D * | global () |
Private Member Functions |
| Repere3D () |
| This constructor will create a Global reference.
|
void | initIdentityRepere3D () |
Private Attributes |
const Repere3D * | m_ref |
jblas::vec4 | m_i |
jblas::vec4 | m_j |
jblas::vec4 | m_k |
jblas::vec4 | m_origin |
bool | m_t3d_uptodate |
geom::T3DEuler | m_thisToRef |
ublas::range | range03 |
Static Private Attributes |
static Repere3D * | s_globalRef |
Member Function Documentation
- Returns:
- the first vector of the repere (expressed in the ref Repere3D)
Definition at line 67 of file Repere3D.hpp.
- Returns:
- the second vector of the repere (expressed in the ref Repere3D)
Definition at line 75 of file Repere3D.hpp.
- Returns:
- the third vector of the repere (expressed in the ref Repere3D)
Definition at line 83 of file Repere3D.hpp.
- Returns:
- the reference repere associated with this local repere
Definition at line 51 of file Repere3D.hpp.
Referenced by setRef().
- Parameters:
-
ni | new value for the first vector of the repere |
Definition at line 129 of file Repere3D.hpp.
- Parameters:
-
nj | new value for the second vector of the repere |
Definition at line 137 of file Repere3D.hpp.
- Parameters:
-
nk | new value for the third vector of the repere |
Definition at line 145 of file Repere3D.hpp.
- Parameters:
-
no | new value for the origin of the repere |
Definition at line 153 of file Repere3D.hpp.
- Returns:
- a vector with the euler coordinate (position, angles)
The documentation for this class was generated from the following file: