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

#include <RigidContactMapper.h>

Inheritance diagram for sofa::component::collision::ContactMapper< OBBCollisionModel< sofa::defaulttype::Rigid3Types >, TVec3Types >:

Public Member Functions

sofa::defaulttype::index_type addPoint (const typename TVec3Types::Coord &P, sofa::defaulttype::index_type index, typename TVec3Types::Real &r)
 
- Public Member Functions inherited from sofa::component::collision::RigidContactMapper< OBBCollisionModel< sofa::defaulttype::Rigid3Types >, TVec3Types >
void setCollisionModel (MCollisionModel *model)
 
void cleanup ()
 
MMechanicalStatecreateMapping (const char *name="contactPoints")
 
void resize (std::size_t size)
 
index_type addPoint (const Coord &P, index_type 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 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::RigidContactMapper< OBBCollisionModel< sofa::defaulttype::Rigid3Types >, 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< OBBCollisionModel< sofa::defaulttype::Rigid3Types >, TVec3Types >
 RigidContactMapper ()
 

Function details

template<class TVec3Types >
sofa::defaulttype::index_type sofa::component::collision::ContactMapper< OBBCollisionModel< sofa::defaulttype::Rigid3Types >, TVec3Types >::addPoint ( const typename TVec3Types::Coord &  P,
sofa::defaulttype::index_type  index,
typename TVec3Types::Real &  r 
)
inline