DART
6.10.1
|
This struct is used to store sources of ShapeFrames that the CollisionGroup is subscribed to, alongside the last version number of that source, as known by this CollisionGroup. More...
Classes | |
struct | ChildInfo |
This is information pertaining to a child of the source. More... | |
Public Member Functions | |
CollisionSource (const Source &source, std::size_t lastKnownVersion) | |
Constructor. More... | |
Public Attributes | |
Source | mSource |
The source of ShapeFrames. More... | |
std::size_t | mLastKnownVersion |
The last known version of that source. More... | |
std::unordered_map< const dynamics::ShapeFrame *, ObjectInfo * > | mObjects |
The set of objects that pertain to this source. More... | |
std::unordered_map< const Child *, ChildInfo > | mChildren |
The last known versions of the children related to this source. More... | |
This struct is used to store sources of ShapeFrames that the CollisionGroup is subscribed to, alongside the last version number of that source, as known by this CollisionGroup.
|
inline |
Constructor.
std::unordered_map<const Child*, ChildInfo> dart::collision::CollisionGroup::CollisionSource< Source, Child >::mChildren |
The last known versions of the children related to this source.
This is used by SkeletonSources to keep track of their child BodyNode versions.
std::size_t dart::collision::CollisionGroup::CollisionSource< Source, Child >::mLastKnownVersion |
The last known version of that source.
std::unordered_map<const dynamics::ShapeFrame*, ObjectInfo*> dart::collision::CollisionGroup::CollisionSource< Source, Child >::mObjects |
The set of objects that pertain to this source.
Source dart::collision::CollisionGroup::CollisionSource< Source, Child >::mSource |
The source of ShapeFrames.