SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::collision::ContactMapper< RigidSphereModel, TVec3Types > Class Template Reference

#include <RigidContactMapper.h>

Inheritance diagram for sofa::component::collision::ContactMapper< RigidSphereModel, TVec3Types >:

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from sofa::component::collision::RigidContactMapper< RigidSphereModel, TVec3Types >
MCollisionModelmodel
 
simulation::Node::SPtr child
 
MMapping::SPtr mapping
 
MMechanicalState::SPtr outmodel
 
int nbp
 
- Static Public Member Functions inherited from sofa::component::collision::BaseContactMapper< TVec3Types >
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)
 
- Protected Member Functions inherited from sofa::component::collision::RigidContactMapper< RigidSphereModel, TVec3Types >
 RigidContactMapper ()
 

Function details

template<class TVec3Types >
int sofa::component::collision::ContactMapper< RigidSphereModel, TVec3Types >::addPoint ( const typename TVec3Types::Coord &  P,
int  index,
typename TVec3Types::Real &  r 
)
inline