DART  6.10.1
dart::collision::CollisionDetector::ManagerForUnsharableCollisionObjects Class Referencefinal

#include <CollisionDetector.hpp>

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

Classes

struct  CollisionObjectDeleter
 This deleter is responsible for deleting CollisionObject and removing it from mCollisionObjectMap when it is not shared by any CollisionGroups. More...
 

Public Member Functions

 ManagerForUnsharableCollisionObjects (CollisionDetector *cd)
 Constructor. More...
 
std::shared_ptr< CollisionObjectclaimCollisionObject (const dynamics::ShapeFrame *shapeFrame)
 Claim CollisionObject associated with shapeFrame. More...
 
CollisionDetectorgetCollisionDetector ()
 Returns collision detector. More...
 

Protected Attributes

CollisionDetectormCollisionDetector
 

Private Attributes

const CollisionObjectDeleter mCollisionObjectDeleter
 

Constructor & Destructor Documentation

◆ ManagerForUnsharableCollisionObjects()

dart::collision::CollisionDetector::ManagerForUnsharableCollisionObjects::ManagerForUnsharableCollisionObjects ( CollisionDetector cd)

Constructor.

Member Function Documentation

◆ claimCollisionObject()

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

Claim CollisionObject associated with shapeFrame.

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

Implements dart::collision::CollisionDetector::CollisionObjectManager.

◆ getCollisionDetector()

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

Returns collision detector.

Member Data Documentation

◆ mCollisionDetector

CollisionDetector* dart::collision::CollisionDetector::CollisionObjectManager::mCollisionDetector
protectedinherited

◆ mCollisionObjectDeleter

const CollisionObjectDeleter dart::collision::CollisionDetector::ManagerForUnsharableCollisionObjects::mCollisionObjectDeleter
private