SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes > Class Template Reference

#include <BarycentricContactMapper.h>

Base class for all mappers using BarycentricMapping. More...

Inheritance diagram for sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >:

Detailed Description

template<class TCollisionModel, class DataTypes>
class sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >

Base class for all mappers using BarycentricMapping.

Public Attributes

MCollisionModelmodel
 
MMapping::SPtr mapping
 
MMapper::SPtr mapper
 

Public Member Functions

 BarycentricContactMapper ()
 
void setCollisionModel (MCollisionModel *model)
 
void cleanup ()
 
MMechanicalStatecreateMapping (const char *name="contactPoints")
 
void resize (index_type size)
 
void update ()
 
void updateXfree ()
 
void updateX0 ()
 
- Public Member Functions inherited from sofa::component::collision::BaseContactMapper< DataTypes >
virtual ~BaseContactMapper ()
 
virtual index_type addPoint (const Coord &, index_type, Real &)
 Adding a point of the global referentiel to the mapping. More...
 
virtual index_type addPointB (const Coord &P, index_type elementId, Real &r, const sofa::defaulttype::Vector3 &)
 
index_type addPointB (const Coord &P, index_type elementId, Real &r)
 

Additional Inherited Members

- Static Public Member Functions inherited from sofa::component::collision::BaseContactMapper< DataTypes >
static BaseContactMapper< DataTypes > * Create (core::CollisionModel *model, const std::string &name=std::string("default"))
 
static ContactMapper< TCollisionModel, DataTypes > * create (ContactMapper< TCollisionModel, DataTypes > *, core::CollisionModel *arg)
 

Attribute details

template<class TCollisionModel, class DataTypes>
MMapper::SPtr sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::mapper
template<class TCollisionModel, class DataTypes>
MMapping::SPtr sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::mapping
template<class TCollisionModel, class DataTypes>
MCollisionModel* sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::model

Constructor details

template<class TCollisionModel, class DataTypes>
sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::BarycentricContactMapper ( )
inline

Function details

template<class TCollisionModel , class DataTypes >
void sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::cleanup ( )
virtual
template<class TCollisionModel , class DataTypes >
BarycentricContactMapper< TCollisionModel, DataTypes >::MMechanicalState * sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::createMapping ( const char *  name = "contactPoints")
virtual
template<class TCollisionModel, class DataTypes>
void sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::resize ( index_type  size)
inlinevirtual
template<class TCollisionModel, class DataTypes>
void sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::setCollisionModel ( MCollisionModel model)
inline
template<class TCollisionModel, class DataTypes>
void sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::update ( )
inlinevirtual
template<class TCollisionModel, class DataTypes>
void sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::updateX0 ( )
inline
template<class TCollisionModel, class DataTypes>
void sofa::component::collision::BarycentricContactMapper< TCollisionModel, DataTypes >::updateXfree ( )
inlinevirtual