All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
SurgSim::Collision Namespace Reference

Classes

class  BoxCapsuleDcdContact
 Class to calculate intersections between Boxes and Capsules. More...
 
class  BoxDoubleSidedPlaneDcdContact
 Class to calculate intersections between Boxes and Planes. More...
 
class  BoxPlaneDcdContact
 Class to calculate intersections between Boxes and Planes. More...
 
class  BoxSphereDcdContact
 Class to calculate intersections between a box and a sphere. More...
 
class  CapsuleSphereDcdContact
 Class to calculate intersections between a capsule and a sphere. More...
 
class  CollisionPair
 Collision Pair class, it signifies a pair of items that should be checked with the collision algorithm, this structure will be used for input as well as output, as contacts get appended to the contacts list when found. More...
 
struct  Contact
 Contact data structure used when two representations touch each other The convention is that if body 1 is moved along the normal vector by a distance depth (or equivalently if body 2 is moved the same distance in the opposite direction) then the penetration depth will be reduced to zero. More...
 
class  ContactCalculation
 Base class responsible for calculating contact data between two given shapes, calculateContact needs to determine whether the two shapes intersect, and if yes calculate the correct data for this contact, which consists of, the normal to displace the first shape so that the two shapes just barely touch. More...
 
class  DefaultContactCalculation
 A default calculation, it does nothing and can be used as a placeholder. More...
 
class  OctreeDcdContact
 Class to calculate intersections between an Octree and other shapes. More...
 
class  Representation
 Wrapper class to use for the collision operation, handles its enclosed shaped and a possible local to global coordinate system transform, if the physics representation is a nullptr or a has gone out of scope ASSERT's will be triggered. More...
 
class  ShapeCollisionRepresentation
 Use a Shape as a Collision Representation, any SurgSim::Physics::Representation can be used as a backing representation. More...
 
class  SphereDoubleSidedPlaneDcdContact
 Class to calculate intersections between Spheres and DoubleSidedPlanes. More...
 
class  SpherePlaneDcdContact
 Class to calculate intersections between Spheres and Planes. More...
 
class  SphereSphereDcdContact
 Class to calculate intersections between spheres. More...
 
class  TriangleMeshPlaneDcdContact
 Class to calculate intersections between a triangle mesh and a plane. More...
 
class  TriangleMeshTriangleMeshDcdContact
 Class to calculate intersections between a triangle mesh and a triangle mesh. More...
 

Typedefs

typedef std::unordered_map
< std::shared_ptr
< SurgSim::Collision::Representation >
, std::list< std::shared_ptr
< SurgSim::Collision::Contact > > > 
ContactMapType
 

Functions

 SURGSIM_REGISTER (SurgSim::Framework::Component, SurgSim::Collision::ShapeCollisionRepresentation, ShapeCollisionRepresentation)
 
 SURGSIM_STATIC_REGISTRATION (ShapeCollisionRepresentation)
 

Typedef Documentation

typedef std::unordered_map<std::shared_ptr<SurgSim::Collision::Representation>, std::list<std::shared_ptr<SurgSim::Collision::Contact> > > SurgSim::Collision::ContactMapType

Function Documentation

SurgSim::Collision::SURGSIM_REGISTER ( SurgSim::Framework::Component  ,
SurgSim::Collision::ShapeCollisionRepresentation  ,
ShapeCollisionRepresentation   
)
SurgSim::Collision::SURGSIM_STATIC_REGISTRATION ( ShapeCollisionRepresentation  )