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

#include <BarycentricContactMapper.h>

Mapper for LineModel. More...

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

Detailed Description

template<class DataTypes>
class sofa::component::collision::ContactMapper< LineCollisionModel< sofa::defaulttype::Vec3Types >, DataTypes >

Mapper for LineModel.

Public Member Functions

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

template<class DataTypes >
index_type sofa::component::collision::ContactMapper< LineCollisionModel< sofa::defaulttype::Vec3Types >, DataTypes >::addPointB ( const Coord ,
index_type  index,
Real ,
const defaulttype::Vector3 &  baryP 
)
inline
template<class DataTypes >
index_type sofa::component::collision::ContactMapper< LineCollisionModel< sofa::defaulttype::Vec3Types >, DataTypes >::addPointB ( const Coord P,
index_type  index,
Real r 
)
inline