SOFA API  56988ca1
Open source framework for multi-physics simuation
sofa::component::collision::geometry Namespace Reference

Classes

class  Cube
 
class  CubeCollisionModel
 
class  CylinderCollisionModel
 
class  TCylinder
 
class  SphereCollisionModel
 
class  TSphere
 
class  TriangleCollisionModel
 
class  TTriangle
 
class  PointCollisionModel
 
class  LineCollisionModel
 
class  TLine
 
class  TPoint
 
class  Ray
 
class  RayCollisionModel
 
class  Tetrahedron
 
class  TetrahedronCollisionModel
 
class  TriangleModelInRegularGrid
 
class  TriangleOctreeModel
 

Typedefs

using Cylinder = TCylinder< sofa::defaulttype::Rigid3Types >
 
using Line = TLine< sofa::defaulttype::Vec3Types >
 
using Point = TPoint< sofa::defaulttype::Vec3Types >
 
using Sphere = TSphere< sofa::defaulttype::Vec3Types >
 
using RigidSphere = TSphere< sofa::defaulttype::Rigid3Types >
 
using RigidSphereModel = SphereCollisionModel< sofa::defaulttype::Rigid3Types >
 
using Triangle = TTriangle< sofa::defaulttype::Vec3Types >
 

Functions

SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleName ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleVersion ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const chargetModuleComponentList ()
 
void init ()
 

Variables

int CubeCollisionModelClass
 
int RigidCylinderCollisionModelClass
 
int LineCollisionModelClass
 
int PointCollisionModelClass
 
int RayCollisionModelClass
 
int SphereModelClass
 
int TetrahedronCollisionModelClass
 
int TriangleCollisionModelClass
 
int TriangleModelInRegularGridClass
 
int TriangleOctreeModelClass = core::RegisterObject ("collision model using a triangular mesh mapped to an Octree").add < TriangleOctreeModel > ().addAlias ("TriangleOctree")
 

Typedef Documentation

◆ Cylinder

◆ Line

◆ Point

◆ RigidSphere

◆ RigidSphereModel

◆ Sphere

◆ Triangle

Function Documentation

◆ getModuleComponentList()

const char * sofa::component::collision::geometry::getModuleComponentList ( )

◆ getModuleName()

const char * sofa::component::collision::geometry::getModuleName ( )

◆ getModuleVersion()

const char * sofa::component::collision::geometry::getModuleVersion ( )

◆ init()

SOFA_COMPONENT_COLLISION_GEOMETRY_API void sofa::component::collision::geometry::init ( )

◆ initExternalModule()

void sofa::component::collision::geometry::initExternalModule ( )

Variable Documentation

◆ CubeCollisionModelClass

int sofa::component::collision::geometry::CubeCollisionModelClass
Initial value:
= core::RegisterObject("Collision model representing a cube")
.add< CubeCollisionModel >()

◆ LineCollisionModelClass

int sofa::component::collision::geometry::LineCollisionModelClass
Initial value:
= core::RegisterObject("collision model using a linear mesh, as described in MeshTopology")
.add< LineCollisionModel<sofa::defaulttype::Vec3Types> >()

◆ PointCollisionModelClass

int sofa::component::collision::geometry::PointCollisionModelClass
Initial value:
= core::RegisterObject("Collision model which represents a set of points")
.add< PointCollisionModel<defaulttype::Vec3Types> >()

◆ RayCollisionModelClass

int sofa::component::collision::geometry::RayCollisionModelClass
Initial value:
= core::RegisterObject("Collision model representing a ray in space, e.g. a mouse click")
.add< RayCollisionModel >()

◆ RigidCylinderCollisionModelClass

int sofa::component::collision::geometry::RigidCylinderCollisionModelClass
Initial value:
= core::RegisterObject("Collision model which represents a set of rigid cylinders")
.add< CylinderCollisionModel<defaulttype::Rigid3Types> >()

◆ SphereModelClass

int sofa::component::collision::geometry::SphereModelClass
Initial value:
= core::RegisterObject("Collision model which represents a set of Spheres")
.add<SphereCollisionModel<Vec3Types> >()
.add<SphereCollisionModel<Rigid3Types> >()

◆ TetrahedronCollisionModelClass

int sofa::component::collision::geometry::TetrahedronCollisionModelClass
Initial value:
= core::RegisterObject("collision model using a tetrahedral mesh, as described in BaseMeshTopology")
.add< TetrahedronCollisionModel >()

◆ TriangleCollisionModelClass

int sofa::component::collision::geometry::TriangleCollisionModelClass
Initial value:
= core::RegisterObject("collision model using a triangular mesh, as described in BaseMeshTopology")
.add< TriangleCollisionModel<defaulttype::Vec3Types> >()

◆ TriangleModelInRegularGridClass

int sofa::component::collision::geometry::TriangleModelInRegularGridClass
Initial value:
= core::RegisterObject ( "collision model using a triangular mesh in a regular grid, as described in BaseMeshTopology" )
.add< TriangleModelInRegularGrid >()

◆ TriangleOctreeModelClass

int sofa::component::collision::geometry::TriangleOctreeModelClass = core::RegisterObject ("collision model using a triangular mesh mapped to an Octree").add < TriangleOctreeModel > ().addAlias ("TriangleOctree")