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::SpherePlaneDcdContact Class Reference

Class to calculate intersections between Spheres and Planes. More...

#include <SurgSim/Collision/SpherePlaneDcdContact.h>

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

Public Member Functions

 SpherePlaneDcdContact ()
 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)
 Calculate the actual contact between two shapes of the given CollisionPair. More...
 

Detailed Description

Class to calculate intersections between Spheres and Planes.

Constructor & Destructor Documentation

SurgSim::Collision::SpherePlaneDcdContact::SpherePlaneDcdContact ( )

Constructor.

Member Function Documentation

void SurgSim::Collision::SpherePlaneDcdContact::doCalculateContact ( std::shared_ptr< CollisionPair pair)
privatevirtual

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::SpherePlaneDcdContact::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: