DART  6.10.1
dart::collision::CollisionDetector::CollisionObjectManager Class Referenceabstract

#include <CollisionDetector.hpp>

Inheritance diagram for dart::collision::CollisionDetector::CollisionObjectManager:
dart::collision::CollisionDetector::ManagerForSharableCollisionObjects dart::collision::CollisionDetector::ManagerForUnsharableCollisionObjects

Public Member Functions

 CollisionObjectManager (CollisionDetector *cd)
 Constructor. More...
 
virtual std::shared_ptr< CollisionObjectclaimCollisionObject (const dynamics::ShapeFrame *shapeFrame)=0
 Claim CollisionObject associated with shapeFrame. More...
 
CollisionDetectorgetCollisionDetector ()
 Returns collision detector. More...
 
virtual ~CollisionObjectManager ()=default
 Virtual destructor. More...
 

Protected Attributes

CollisionDetectormCollisionDetector
 

Constructor & Destructor Documentation

◆ CollisionObjectManager()

dart::collision::CollisionDetector::CollisionObjectManager::CollisionObjectManager ( CollisionDetector cd)

Constructor.

◆ ~CollisionObjectManager()

virtual dart::collision::CollisionDetector::CollisionObjectManager::~CollisionObjectManager ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ claimCollisionObject()

virtual std::shared_ptr<CollisionObject> dart::collision::CollisionDetector::CollisionObjectManager::claimCollisionObject ( const dynamics::ShapeFrame shapeFrame)
pure virtual

Claim CollisionObject associated with shapeFrame.

New CollisionObject will be created if it hasn't created yet for shapeFrame.

Implemented in dart::collision::CollisionDetector::ManagerForSharableCollisionObjects, and dart::collision::CollisionDetector::ManagerForUnsharableCollisionObjects.

◆ getCollisionDetector()

CollisionDetector * dart::collision::CollisionDetector::CollisionObjectManager::getCollisionDetector ( )

Returns collision detector.

Member Data Documentation

◆ mCollisionDetector

CollisionDetector* dart::collision::CollisionDetector::CollisionObjectManager::mCollisionDetector
protected