|
AGX Dynamics
2.37.3.2
|
Information about which DimensionState1Dof is using which slot in a RigidBody. More...
#include <PackingInfo.h>
Public Member Functions | |
| PackingInfo () | |
| A default-constructed PackingInfo is empty, i.e., it tracks no PhysicalDimension. More... | |
| PackingInfo (Rotational1DofState *dimension) | |
| A packing info tracking the given dimension only. More... | |
| void | assertValid () const |
| Rotational1DofState ** | begin () |
| bool | contains (const Rotational1DofState *dimension) const |
| bool | contains (const agx::RigidBody *body) const |
| Rotational1DofState ** | end () |
| void | erase (const Rotational1DofState *dimension) |
| agx::RigidBody * | getBody () |
| agx::UInt8 | getFreeSlot () const |
| int | getSize () const |
| bool | isEmpty () const |
| bool | isFull () const |
| void | newSlot (Rotational1DofState *dimension) |
| Rotational1DofState *& | operator[] (const agx::UInt8 slot) |
| const Rotational1DofState * | operator[] (const agx::UInt8 slot) const |
| void | restore (agxStream::InputArchive &in) |
| void | store (agxStream::OutputArchive &out) const |
Information about which DimensionState1Dof is using which slot in a RigidBody.
It is important that the information stored here is kept in sync with the body and slot stored in the DimensionState1Dof.
Used by the slot mapper.
Definition at line 55 of file PackingInfo.h.
| agxPowerLine::detail::PackingInfo::PackingInfo | ( | ) |
A default-constructed PackingInfo is empty, i.e., it tracks no PhysicalDimension.
| agxPowerLine::detail::PackingInfo::PackingInfo | ( | Rotational1DofState * | dimension | ) |
A packing info tracking the given dimension only.
The given dimension's current slot is used to initialize the PackingInfo.
| void agxPowerLine::detail::PackingInfo::assertValid | ( | ) | const |
| Rotational1DofState** agxPowerLine::detail::PackingInfo::begin | ( | ) |
| bool agxPowerLine::detail::PackingInfo::contains | ( | const Rotational1DofState * | dimension | ) | const |
| bool agxPowerLine::detail::PackingInfo::contains | ( | const agx::RigidBody * | body | ) | const |
| Rotational1DofState** agxPowerLine::detail::PackingInfo::end | ( | ) |
| void agxPowerLine::detail::PackingInfo::erase | ( | const Rotational1DofState * | dimension | ) |
| agx::RigidBody* agxPowerLine::detail::PackingInfo::getBody | ( | ) |
| agx::UInt8 agxPowerLine::detail::PackingInfo::getFreeSlot | ( | ) | const |
| int agxPowerLine::detail::PackingInfo::getSize | ( | ) | const |
| bool agxPowerLine::detail::PackingInfo::isEmpty | ( | ) | const |
| bool agxPowerLine::detail::PackingInfo::isFull | ( | ) | const |
| void agxPowerLine::detail::PackingInfo::newSlot | ( | Rotational1DofState * | dimension | ) |
| Rotational1DofState*& agxPowerLine::detail::PackingInfo::operator[] | ( | const agx::UInt8 | slot | ) |
| const Rotational1DofState* agxPowerLine::detail::PackingInfo::operator[] | ( | const agx::UInt8 | slot | ) | const |
| void agxPowerLine::detail::PackingInfo::restore | ( | agxStream::InputArchive & | in | ) |
| void agxPowerLine::detail::PackingInfo::store | ( | agxStream::OutputArchive & | out | ) | const |