Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
jafar::geom::Repere< dimension > Class Template Reference

This class represent a Repere which can be used as a reference for other. More...


Detailed Description

template<int dimension>
class jafar::geom::Repere< dimension >

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>

Inheritance diagram for jafar::geom::Repere< dimension >:
Inheritance graph
[legend]

List of all members.

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

Driverm_driver

Static Private Attributes

static Repere< dimension > * s_globalRef = 0

Constructor & Destructor Documentation

template<int dimension>
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.


Member Function Documentation

template<int dimension>
BoundingBox< dimension > jafar::geom::Repere< dimension >::boundingBox ( ) const [inline, virtual]
Returns:
the bounding box that completely include this Atom.

Implements jafar::geom::Atom< dimension >.

Definition at line 84 of file RepereImpl.hpp.

template<int dimension>
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.

Parameters:
vvector express in this reference
dstReperedestination reference
Returns:
the vector v as expressed in repere dstRepere

Definition at line 106 of file RepereImpl.hpp.

template<int dimension>
const Repere< dimension > * jafar::geom::Repere< dimension >::reference ( ) const [inline]
Returns:
the repere in which coordinates of this Atom are expressed

Reimplemented from jafar::geom::Atom< dimension >.

Definition at line 90 of file RepereImpl.hpp.

Referenced by jafar::geom::Atom< dimension >::reference().

template<int dimension>
virtual Atom<dimension>::Type jafar::geom::Repere< dimension >::type ( ) const [inline, virtual]
Returns:
the type of the object.

Implements jafar::geom::Atom< dimension >.

Definition at line 51 of file Repere.hpp.

template<int dimension>
Repere< dimension >::HomogenousVecD jafar::geom::Repere< dimension >::vec ( unsigned int  index) const [inline]
Returns:
the coordinate of the ith vector in the repere of the reference.

Definition at line 100 of file RepereImpl.hpp.

References JFR_ASSERT.


The documentation for this class was generated from the following files:
 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