SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::component::collision::ContactMapper< CapsuleCollisionModel< sofa::defaulttype::Vec3Types >, DataTypes > Class Template Reference

#include <BarycentricContactMapper.h>

Inheritance diagram for sofa::component::collision::ContactMapper< CapsuleCollisionModel< sofa::defaulttype::Vec3Types >, DataTypes >:

Public Member Functions

index_type addPoint (const Coord &P, index_type index, Real &r)
 Adding a point of the global referentiel to the mapping. More...
 
- Public Member Functions inherited from sofa::component::collision::BarycentricContactMapper< CapsuleCollisionModel< sofa::defaulttype::Vec3Types >, DataTypes >
 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 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

- Public Attributes inherited from sofa::component::collision::BarycentricContactMapper< CapsuleCollisionModel< sofa::defaulttype::Vec3Types >, DataTypes >
MCollisionModelmodel
 
MMapping::SPtr mapping
 
MMapper::SPtr mapper
 
- 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)
 

Function details

template<class DataTypes >
index_type sofa::component::collision::ContactMapper< CapsuleCollisionModel< sofa::defaulttype::Vec3Types >, DataTypes >::addPoint ( const Coord &  ,
index_type  ,
Real &   
)
inlinevirtual

Adding a point of the global referentiel to the mapping.

Reimplemented from sofa::component::collision::BaseContactMapper< DataTypes >.