SOFA plugin: BulletCollisionDetection  master
Open source framework for multi-physics simuation
sofa::component::collision::ContactMapper< BulletConvexHullModel, TVec3Types > Class Template Reference

#include <BulletRigidContactMapper.h>

Inheritance diagram for sofa::component::collision::ContactMapper< BulletConvexHullModel, 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::BulletRigidContactMapper< BulletConvexHullModel, TVec3Types >
void setCollisionModel (MCollisionModel *model)
 
void cleanup ()
 
MMechanicalStatecreateMapping (const char *name="contactPoints")
 
void resize (int size)
 
int addPoint (const Coord &P, int index, Real &)
 
void update ()
 
void updateXfree ()
 

Additional Inherited Members

- Public Attributes inherited from sofa::component::collision::BulletRigidContactMapper< BulletConvexHullModel, TVec3Types >
MCollisionModelmodel
 
simulation::Node::SPtr child
 
MMapping::SPtr mapping
 
MMechanicalState::SPtr outmodel
 
int nbp
 
- Protected Member Functions inherited from sofa::component::collision::BulletRigidContactMapper< BulletConvexHullModel, TVec3Types >
 BulletRigidContactMapper ()
 

Function details

◆ addPoint()

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