|
|
| MultiBody (const MultiBody::Type _type) |
|
| MultiBody (XMLNode &_node) |
| Parse a multibody from an XML node.
|
|
| MultiBody (const MultiBody &) |
| Copy.
|
|
| MultiBody (MultiBody &&) |
| Move.
|
|
| ~MultiBody () |
|
void | InitializeDOFs (const Boundary *const _b) |
|
|
MultiBody & | operator= (const MultiBody &) |
| Copy.
|
|
MultiBody & | operator= (MultiBody &&) |
| Move.
|
|
|
MultiBody::Type | GetType () const noexcept |
| Get the type for this MultiBody.
|
|
bool | IsActive () const noexcept |
| Is this MultiBody an active type?
|
|
bool | IsPassive () const noexcept |
| Is this MultiBody a non-active type?
|
|
bool | IsInternal () const noexcept |
| Is this MultiBody an internal type?
|
|
bool | IsComposite () const noexcept |
|
size_t | DOF () const noexcept |
| Get the number of DOF for this multibody.
|
|
size_t | PosDOF () const noexcept |
| Get the number of positional DOF for this multibody's base.
|
|
size_t | OrientationDOF () const noexcept |
| Get the number of orientational DOF for this multibody's base.
|
|
size_t | JointDOF () const noexcept |
| Get the number of joint DOF for this multibody.
|
|
const std::vector< double > & | GetCurrentDOFs () const noexcept |
| Get the current DOFs for this configuration, as set by Configure().
|
|
std::vector< double > | GetCurrentCfg () noexcept |
| Get the current configuration dofs (no velocity), as set by Configure().
|
|
|
size_t | GetNumBodies () const noexcept |
| Get the number of bodies in this multibody.
|
|
const std::vector< Body > & | GetBodies () const noexcept |
| Get all of the internal bodies.
|
|
std::vector< const Body * > | GetEndEffectors () const noexcept |
|
Body * | GetBody (const size_t _i) noexcept |
|
const Body * | GetBody (const size_t _i) const noexcept |
|
size_t | AddBody (Body &&_body) |
|
Body * | GetBase () noexcept |
| Get the base body.
|
|
const Body * | GetBase () const noexcept |
|
void | SetBaseBody (const size_t _index) |
|
Body::Type | GetBaseType () const noexcept |
| Get the body type of the base body.
|
|
Body::MovementType | GetBaseMovementType () const noexcept |
| Get the movement type of the base body.
|
|
|
const Vector3d & | GetCenterOfMass () const noexcept |
| Get the center of mass.
|
|
double | GetBoundingSphereRadius () const noexcept |
| Get the bounding sphere radius.
|
|
|
const std::vector< std::unique_ptr< Connection > > & | GetJoints () const noexcept |
| Get the Connections in this multibody.
|
|
Connection * | GetJoint (const size_t _i) noexcept |
|
const DofType & | GetDOFType (const size_t _i) const noexcept |
| Get the DOF type for a specific degree of freedom.
|
|
const std::vector< DofInfo > & | GetDofInfo () const noexcept |
| Get the DOF info for a specific degree of freedom.
|
|
void | UpdateJointLimits () noexcept |
|
|
void | Configure (const Cfg &_c) |
|
void | Configure (const std::vector< double > &_v) |
|
void | PushToNearestValidConfiguration () |
|
|
void | Read (std::istream &_is, CountingStreamBuffer &_cbs) |
|
void | Write (std::ostream &_os) const |
|
A geometric object in workspace (such as an obstacle or robot) with one or more sub-components, referred to as Bodies.