AGX Dynamics  2.35.0.1
agx::ConstraintImplementation::SolverBodyView Class Reference

#include <ConstraintImplementation.h>

+ Inheritance diagram for agx::ConstraintImplementation::SolverBodyView:

Public Member Functions

 SolverBodyView (const SolverBodyView &other)
 Copy constructor. More...
 
 SolverBodyView (ConstrainedBodiesState &state)
 Internal, use ConstriantImplementation::getSolverView(). More...
 
agx::RigidBody * getPermutedBodyAt (agx::UInt i)
 
const agx::RigidBody * getPermutedBodyAt (agx::UInt i) const
 
ConstrainedBodiesState & getState ()
 
const ConstrainedBodiesState & getState () const
 
- Public Member Functions inherited from agx::ConstraintImplementation::BodyView
 BodyView (const BodyView &other)
 Copy constructor. More...
 
 BodyView (const ConstrainedBodiesState::BodiesInfo &info, const ConstraintRigidBodyContainer &bodies)
 Internal, use ConstriantImplementation::getUserView(). 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...
 

Detailed Description

Definition at line 286 of file ConstraintImplementation.h.

Constructor & Destructor Documentation

◆ SolverBodyView() [1/2]

agx::ConstraintImplementation::SolverBodyView::SolverBodyView ( ConstrainedBodiesState &  state)

Internal, use ConstriantImplementation::getSolverView().

Construct given current state.

Definition at line 1339 of file ConstraintImplementation.h.

◆ SolverBodyView() [2/2]

agx::ConstraintImplementation::SolverBodyView::SolverBodyView ( const SolverBodyView &  other)

Copy constructor.

Definition at line 1344 of file ConstraintImplementation.h.

Member Function Documentation

◆ getPermutedBodyAt() [1/2]

RigidBody * agx::ConstraintImplementation::SolverBodyView::getPermutedBodyAt ( agx::UInt  i)
Returns
rigid body at index given current permutation

Definition at line 1367 of file ConstraintImplementation.h.

References agxAssert.

◆ getPermutedBodyAt() [2/2]

const RigidBody * agx::ConstraintImplementation::SolverBodyView::getPermutedBodyAt ( agx::UInt  i) const
Returns
rigid body at index given current permutation

Definition at line 1359 of file ConstraintImplementation.h.

References agxAssert.

◆ getState() [1/2]

ConstraintImplementation::ConstrainedBodiesState & agx::ConstraintImplementation::SolverBodyView::getState ( )
Returns
current state

Definition at line 1354 of file ConstraintImplementation.h.

◆ getState() [2/2]

const ConstraintImplementation::ConstrainedBodiesState & agx::ConstraintImplementation::SolverBodyView::getState ( ) const
Returns
current state

Definition at line 1349 of file ConstraintImplementation.h.


The documentation for this class was generated from the following file: