DART
6.10.1
|
Information on a collision object belonging to this group. More...
#include <CollisionGroup.hpp>
Public Attributes | |
const dynamics::ShapeFrame * | mFrame |
The ShapeFrame for this object. More... | |
CollisionObjectPtr | mObject |
The CollisionObject that was generated by the CollisionDetector. More... | |
std::size_t | mLastKnownShapeID |
The ID of that last known shape that was held by the shape frame. More... | |
std::size_t | mLastKnownVersion |
The last known version of the last known shape that was held by the shape frame. More... | |
std::unordered_set< const void * > | mSources |
The set of all sources that indicate that this object should be in this group. More... | |
Information on a collision object belonging to this group.
This info enables us to keep track of when a ShapeFrame has changed and therefore when the object needs to be updated. It also remembers what sources instructed this object to belong to this group.
const dynamics::ShapeFrame* dart::collision::CollisionGroup::ObjectInfo::mFrame |
The ShapeFrame for this object.
std::size_t dart::collision::CollisionGroup::ObjectInfo::mLastKnownShapeID |
The ID of that last known shape that was held by the shape frame.
std::size_t dart::collision::CollisionGroup::ObjectInfo::mLastKnownVersion |
The last known version of the last known shape that was held by the shape frame.
CollisionObjectPtr dart::collision::CollisionGroup::ObjectInfo::mObject |
The CollisionObject that was generated by the CollisionDetector.
std::unordered_set<const void*> dart::collision::CollisionGroup::ObjectInfo::mSources |
The set of all sources that indicate that this object should be in this group.
In the current implementation, this may consist of: user (nullptr), Skeleton subscription, and/or BodyNode subscription.
When all sources are cleared out (via unsubscribing), this object will be removed from this group.