dart
|
A simple struct that contains the indexing of a BodyNode and its parent DegreesOfFreedom. More...
#include <ReferentialSkeleton.hpp>
Public Member Functions | |
IndexMap () | |
Default constructor. More... | |
bool | isExpired () const |
Returns true if nothing in this entry is mapping to a valid index any longer. More... | |
Public Attributes | |
std::size_t | mBodyNodeIndex |
Index of the BodyNode. | |
std::size_t | mJointIndex |
Index of the parent Joint. | |
std::vector< std::size_t > | mDofIndices |
Indices of the parent DegreesOfFreedom. | |
A simple struct that contains the indexing of a BodyNode and its parent DegreesOfFreedom.
dart::dynamics::ReferentialSkeleton::IndexMap::IndexMap | ( | ) |
Default constructor.
Initializes mBodyNodeIndex and mJointIndex to INVALID_INDEX
bool dart::dynamics::ReferentialSkeleton::IndexMap::isExpired | ( | ) | const |
Returns true if nothing in this entry is mapping to a valid index any longer.