AGX Dynamics 2.42.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::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.
 
 BodyView (const ConstrainedBodiesState::BodiesInfo &info, const ConstraintRigidBodyContainer &bodies)
 Internal, use ConstriantImplementation::getUserView().
 
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.
 

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 1377 of file ConstraintImplementation.h.

◆ SolverBodyView() [2/2]

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

Copy constructor.

Definition at line 1382 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 1405 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 1397 of file ConstraintImplementation.h.

References agxAssert.

◆ getState() [1/2]

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

Definition at line 1392 of file ConstraintImplementation.h.

◆ getState() [2/2]

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

Definition at line 1387 of file ConstraintImplementation.h.


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