AGX Dynamics 2.41.3.0
Loading...
Searching...
No Matches
agx::ConstraintImplementation::SolverBodyView Class Reference

#include <ConstraintImplementation.h>

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

Public Member Functions

 SolverBodyView (const SolverBodyView &other)
 Copy constructor.
 
 SolverBodyView (ConstrainedBodiesState &state)
 Internal, use ConstriantImplementation::getSolverView().
 
agx::RigidBodygetPermutedBodyAt (agx::UInt i)
 
const agx::RigidBodygetPermutedBodyAt (agx::UInt i) const
 
ConstrainedBodiesStategetState ()
 
const ConstrainedBodiesStategetState () const
 
- Public Member Functions inherited from agx::ConstraintImplementation::BodyView
 BodyView (const BodyView &other)
 Copy constructor.
 
 BodyView (const ConstrainedBodiesState::BodiesInfo &info, const ConstraintRigidBodyContainer &bodies)
 Internal, use ConstriantImplementation::getUserView().
 
const ConstraintRigidBodyContainergetBodies () const
 
agx::RigidBodygetBodyAt (agx::UInt i)
 
const agx::RigidBodygetBodyAt (agx::UInt i) const
 
agx::UInt getNumBodies () const
 
agx::UInt getNumDynamicBodies () const
 
agx::UInt getNumNonStaticBodies () const
 
BodyViewoperator= (const BodyView &)=delete
 Hidden, unsupported.
 

Detailed Description

Definition at line 284 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 1345 of file ConstraintImplementation.h.

◆ SolverBodyView() [2/2]

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

Copy constructor.

Definition at line 1350 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 1373 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 1365 of file ConstraintImplementation.h.

References agxAssert.

◆ getState() [1/2]

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

Definition at line 1360 of file ConstraintImplementation.h.

◆ getState() [2/2]

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

Definition at line 1355 of file ConstraintImplementation.h.


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