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

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 Repere3Dref () 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 Repere3DcopyRepere3D (Repere3D *r)
static const Repere3Dglobal ()

Private Member Functions

 Repere3D ()
 This constructor will create a Global reference.
void initIdentityRepere3D ()

Private Attributes

const Repere3Dm_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 Repere3Ds_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 origin of the repere (expressed in the ref Repere3D)

Definition at line 91 of file Repere3D.hpp.

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

Definition at line 51 of file Repere3D.hpp.

Referenced by setRef().

template<typename _T >
void jafar::geom::Repere3D::setI ( const _T &  ni) [inline]
Parameters:
ninew value for the first vector of the repere

Definition at line 129 of file Repere3D.hpp.

template<typename _T >
void jafar::geom::Repere3D::setJ ( const _T &  nj) [inline]
Parameters:
njnew value for the second vector of the repere

Definition at line 137 of file Repere3D.hpp.

template<typename _T >
void jafar::geom::Repere3D::setK ( const _T &  nk) [inline]
Parameters:
nknew value for the third vector of the repere

Definition at line 145 of file Repere3D.hpp.

template<typename _T >
void jafar::geom::Repere3D::setOrigin ( const _T &  no) [inline]
Parameters:
nonew 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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