Jafar
|
This class represent a Repere which can be used as a reference for other. More...
This class represent a Repere which can be used as a reference for other.
Definition at line 16 of file Repere.hpp.
#include <Repere.hpp>
Classes | |
class | Driver |
class | VectorsDriver |
Public Member Functions | |
Repere (Driver *driver) | |
virtual Atom< dimension >::Type | type () const |
virtual BoundingBox< dimension > | boundingBox () const |
const Repere< dimension > * | reference () const |
HomogenousVecD | origin () const |
HomogenousVecD | vec (unsigned int index) const |
HomogenousVecD | convertIn (const HomogenousVecD &v, const Repere *dstRepere) const |
Convert the vector v in the repere dstRepere. | |
HomogenousVecD | convertInGlobal (const HomogenousVecD &v) const |
void | localToReference (MatrixD &) const |
void | referenceToLocal (MatrixD &) const |
void | localToGlobal (typename Repere< dimension >::MatrixD &dst) const |
void | globalToLocal (typename Repere< dimension >::MatrixD &dst) const |
void | localToRepere (typename Repere< dimension >::MatrixD &dst, const Repere *r) const |
void | repereToLocal (typename Repere< dimension >::MatrixD &dst, const Repere *r) const |
Static Public Member Functions | |
static const Repere< dimension > * | global () |
Private Types | |
typedef boost::numeric::ublas::bounded_vector < double, dimension+1 > | HomogenousVecD |
typedef boost::numeric::ublas::bounded_vector < double, dimension > | VecD |
typedef boost::numeric::ublas::bounded_matrix < double, dimension+1,dimension+1 > | MatrixD |
Private Member Functions | |
Repere () | |
Construct the global reference. | |
Private Attributes | |
Driver * | m_driver |
Static Private Attributes | |
static Repere< dimension > * | s_globalRef = 0 |
jafar::geom::Repere< dimension >::Repere | ( | ) | [private] |
Construct the global reference.
Should be called once and for all.
Definition at line 69 of file RepereImpl.hpp.
References JFR_ASSERT.
BoundingBox< dimension > jafar::geom::Repere< dimension >::boundingBox | ( | ) | const [inline, virtual] |
Implements jafar::geom::Atom< dimension >.
Definition at line 84 of file RepereImpl.hpp.
Repere< dimension >::HomogenousVecD jafar::geom::Repere< dimension >::convertIn | ( | const HomogenousVecD & | v, |
const Repere< dimension > * | dstRepere | ||
) | const [inline] |
Convert the vector v in the repere dstRepere.
v | vector express in this reference |
dstRepere | destination reference |
Definition at line 106 of file RepereImpl.hpp.
const Repere< dimension > * jafar::geom::Repere< dimension >::reference | ( | ) | const [inline] |
Reimplemented from jafar::geom::Atom< dimension >.
Definition at line 90 of file RepereImpl.hpp.
Referenced by jafar::geom::Atom< dimension >::reference().
virtual Atom<dimension>::Type jafar::geom::Repere< dimension >::type | ( | ) | const [inline, virtual] |
Implements jafar::geom::Atom< dimension >.
Definition at line 51 of file Repere.hpp.
Repere< dimension >::HomogenousVecD jafar::geom::Repere< dimension >::vec | ( | unsigned int | index | ) | const [inline] |
Definition at line 100 of file RepereImpl.hpp.
References JFR_ASSERT.
Generated on Wed Oct 15 2014 00:37:37 for Jafar by doxygen 1.7.6.1 |