All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | List of all members
SurgSim::Collision::TriangleMeshTriangleMeshDcdContact Class Reference

Class to calculate intersections between a triangle mesh and a triangle mesh. More...

#include <SurgSim/Collision/TriangleMeshTriangleMeshDcdContact.h>

Inheritance diagram for SurgSim::Collision::TriangleMeshTriangleMeshDcdContact:
Inheritance graph
[legend]
Collaboration diagram for SurgSim::Collision::TriangleMeshTriangleMeshDcdContact:
Collaboration graph
[legend]

Public Member Functions

 TriangleMeshTriangleMeshDcdContact ()
 Constructor. More...
 
virtual std::pair< int, int > getShapeTypes () override
 Function that returns the shapes between which this class performs collision detection. More...
 
- Public Member Functions inherited from SurgSim::Collision::ContactCalculation
 ContactCalculation ()
 Constructor. More...
 
virtual ~ContactCalculation ()
 Destructor. More...
 
void calculateContact (std::shared_ptr< CollisionPair > pair)
 Function that handles asymmetric pair and calls the actual contact calculation routine of the sub class. More...
 

Private Member Functions

virtual void doCalculateContact (std::shared_ptr< CollisionPair > pair) override
 Calculate the actual contact between two shapes of the given CollisionPair. More...
 

Detailed Description

Class to calculate intersections between a triangle mesh and a triangle mesh.

Constructor & Destructor Documentation

SurgSim::Collision::TriangleMeshTriangleMeshDcdContact::TriangleMeshTriangleMeshDcdContact ( )

Constructor.

Member Function Documentation

void SurgSim::Collision::TriangleMeshTriangleMeshDcdContact::doCalculateContact ( std::shared_ptr< CollisionPair pair)
overrideprivatevirtual

Calculate the actual contact between two shapes of the given CollisionPair.

Parameters
pairThe symmetric pair that is under consideration.

Implements SurgSim::Collision::ContactCalculation.

std::pair< int, int > SurgSim::Collision::TriangleMeshTriangleMeshDcdContact::getShapeTypes ( )
overridevirtual

Function that returns the shapes between which this class performs collision detection.

Returns
int std::pair containing the shape types.

Implements SurgSim::Collision::ContactCalculation.


The documentation for this class was generated from the following files: