|
AGX Dynamics
2.37.2.0
|
Interface to the bodies, either user or solver, since these bodies can differ when e.g., a body is merged. More...
#include <ConstraintImplementation.h>
Inheritance diagram for agx::ConstraintImplementation::BodyView:Public Member Functions | |
| BodyView (const ConstrainedBodiesState::BodiesInfo &info, const ConstraintRigidBodyContainer &bodies) | |
| Internal, use ConstriantImplementation::getUserView(). More... | |
| BodyView (const BodyView &other) | |
| Copy constructor. More... | |
| const ConstraintRigidBodyContainer & | getBodies () const |
| agx::RigidBody * | getBodyAt (agx::UInt i) |
| const agx::RigidBody * | getBodyAt (agx::UInt i) const |
| agx::UInt | getNumBodies () const |
| agx::UInt | getNumDynamicBodies () const |
| agx::UInt | getNumNonStaticBodies () const |
| BodyView & | operator= (const BodyView &)=delete |
| Hidden, unsupported. More... | |
Interface to the bodies, either user or solver, since these bodies can differ when e.g., a body is merged.
Definition at line 232 of file ConstraintImplementation.h.
| agx::ConstraintImplementation::BodyView::BodyView | ( | const ConstrainedBodiesState::BodiesInfo & | info, |
| const ConstraintRigidBodyContainer & | bodies | ||
| ) |
Internal, use ConstriantImplementation::getUserView().
Construct given info and bodies container.
Definition at line 1302 of file ConstraintImplementation.h.
| agx::ConstraintImplementation::BodyView::BodyView | ( | const BodyView & | other | ) |
Copy constructor.
Definition at line 1306 of file ConstraintImplementation.h.
| const ConstraintRigidBodyContainer & agx::ConstraintImplementation::BodyView::getBodies | ( | ) | const |
Definition at line 1334 of file ConstraintImplementation.h.
Definition at line 1324 of file ConstraintImplementation.h.
References agxAssert, and getNumBodies().
Referenced by agx::ConstraintImplementation::SolverBodyView::getPermutedBodyAt().
Definition at line 1329 of file ConstraintImplementation.h.
References agxAssert, and getNumBodies().
| UInt agx::ConstraintImplementation::BodyView::getNumBodies | ( | ) | const |
Definition at line 1320 of file ConstraintImplementation.h.
References agx::Container::size().
Referenced by getBodyAt(), and agx::ConstraintImplementation::SolverBodyView::getPermutedBodyAt().
| UInt agx::ConstraintImplementation::BodyView::getNumDynamicBodies | ( | ) | const |
Definition at line 1310 of file ConstraintImplementation.h.
References agx::ConstraintImplementation::ConstrainedBodiesState::BodiesInfo::numDynamicBodies().
| UInt agx::ConstraintImplementation::BodyView::getNumNonStaticBodies | ( | ) | const |
Definition at line 1315 of file ConstraintImplementation.h.
References agx::ConstraintImplementation::ConstrainedBodiesState::BodiesInfo::numNonStaticBodies().
Hidden, unsupported.