Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
jafar::facetsmap::Repere Class Reference

Detailed Description

Definition at line 12 of file repere.hpp.

Inheritance diagram for jafar::facetsmap::Repere:
Inheritance graph
[legend]

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 Repereref () 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 ReperecopyRepere (Repere *r)
static const Repereglobal ()

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 Reperem_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 Reperes_globalRef

Member Function Documentation

Returns:
the first vector of the repere (expressed in the ref Repere)

Definition at line 67 of file repere.hpp.

Referenced by jafar::facetsmap::Facet::globalNormal().

Returns:
the second vector of the repere (expressed in the ref Repere)

Definition at line 71 of file repere.hpp.

Referenced by jafar::facetsmap::Facet::globalAxe1().

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.

const Repere* jafar::facetsmap::Repere::ref ( ) const [inline]
Returns:
the reference repere associated with this local repere

Definition at line 51 of file repere.hpp.

Referenced by jafar::facetsmap::Facet::globalAxe1(), jafar::facetsmap::Facet::globalNormal(), and setRef().

void jafar::facetsmap::Repere::setI ( jblas::vec3  ni) [inline, protected]
Parameters:
ninew value for the first vector of the repere

Definition at line 116 of file repere.hpp.

void jafar::facetsmap::Repere::setJ ( jblas::vec3  nj) [inline, protected]
Parameters:
njnew value for the second vector of the repere

Definition at line 120 of file repere.hpp.

void jafar::facetsmap::Repere::setK ( jblas::vec3  nk) [inline, protected]
Parameters:
nknew value for the third vector of the repere

Definition at line 124 of file repere.hpp.

void jafar::facetsmap::Repere::setOrigin ( jblas::vec3  no) [inline, protected]
Parameters:
nonew 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:35 for Jafar by doxygen 1.7.6.1
LAAS-CNRS