AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agx::Physics::SolveIslandPtr Class Reference

Pointer to a entity instance of type Physics.SolveIsland. More...

#include <SolveIslandEntity.h>

+ Inheritance diagram for agx::Physics::SolveIslandPtr:

Public Types

typedef SolveIslandData DataType
 
typedef SolveIslandInstance InstanceType
 
typedef SolveIslandModel ModelType
 
- Public Types inherited from agx::Physics::InteractionGroupPtr
typedef InteractionGroupData DataType
 
typedef InteractionGroupInstance InstanceType
 
typedef InteractionGroupModel ModelType
 

Public Member Functions

AGXPHYSICS_EXPORT SolveIslandPtr ()
 
AGXPHYSICS_EXPORT SolveIslandPtr (agxData::EntityStorage *storage, agx::Index id)
 
AGXPHYSICS_EXPORT SolveIslandPtr (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT SolveIslandPtr (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::UInt & currentIteration ()
 
AGXPHYSICS_EXPORT agx::UInt const & currentIteration () const
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & directBodies ()
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & directBodies () const
 
AGXPHYSICS_EXPORT agx::UInt & directSolveCostEstimate ()
 
AGXPHYSICS_EXPORT agx::UInt const & directSolveCostEstimate () const
 
SolveIslandData * getData ()
 
const SolveIslandData * getData () const
 
AGXPHYSICS_EXPORT agxData::Array< agx::Physics::SolveGroupPtr > & groups ()
 
AGXPHYSICS_EXPORT agxData::Array< agx::Physics::SolveGroupPtr > const & groups () const
 
AGXPHYSICS_EXPORT SolveIslandInstance instance ()
 
AGXPHYSICS_EXPORT const SolveIslandInstance instance () const
 
AGXPHYSICS_EXPORT agx::Bool & isImpacting ()
 
AGXPHYSICS_EXPORT agx::Bool const & isImpacting () const
 
AGXPHYSICS_EXPORT agx::Bool & iterativeFrictionRefinement ()
 
AGXPHYSICS_EXPORT agx::Bool const & iterativeFrictionRefinement () const
 
AGXPHYSICS_EXPORT SolveIslandSemantics * operator-> ()
 
AGXPHYSICS_EXPORT const SolveIslandSemantics * operator-> () const
 
AGXPHYSICS_EXPORT SolveIslandPtr & operator= (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT SolveIslandPtr & operator= (const agxData::EntityPtr &ptr)
 
- Public Member Functions inherited from agx::Physics::InteractionGroupPtr
AGXPHYSICS_EXPORT InteractionGroupPtr ()
 
AGXPHYSICS_EXPORT InteractionGroupPtr (agxData::EntityStorage *storage, agx::Index id)
 
AGXPHYSICS_EXPORT InteractionGroupPtr (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT InteractionGroupPtr (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::Vec4f & color ()
 
AGXPHYSICS_EXPORT agx::Vec4f const & color () const
 
InteractionGroupData * getData ()
 
const InteractionGroupData * getData () const
 
AGXPHYSICS_EXPORT InteractionGroupInstance instance ()
 
AGXPHYSICS_EXPORT const InteractionGroupInstance instance () const
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & nodes ()
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & nodes () const
 
AGXPHYSICS_EXPORT InteractionGroupSemantics * operator-> ()
 
AGXPHYSICS_EXPORT const InteractionGroupSemantics * operator-> () const
 
AGXPHYSICS_EXPORT InteractionGroupPtr & operator= (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT InteractionGroupPtr & operator= (const agxData::EntityPtr &ptr)
 
- Public Member Functions inherited from agxData::EntityPtr
 EntityPtr ()
 
 EntityPtr (agxData::EntityStorage *storage, agx::Index id)
 
 EntityPtr (const agxData::EntityInstance &instance)
 
 EntityPtr (const agxData::EntityPtr &other)=default
 
 ~EntityPtr ()=default
 
agx::Index calculateIndex () const
 Calculate the index using the indirect id.
 
agxData::EntityPtr copy ()
 Create a copy instance in the same storage.
 
agxData::EntityPtr copy (agxData::EntityStorage *target)
 Copy instance to another storage.
 
void copyAttributes (agxData::EntityPtr source)
 Copy instance attributes to an existing target instance.
 
template<typename T >
T & dataSet ()
 
template<typename T >
const T & dataSet () const
 
void destroy ()
 Remove the entity from the active storage.
 
agxData::EntityData * getData ()
 
const agxData::EntityData * getData () const
 
agx::Index getId () const
 
agxData::EntityModel * getModel ()
 
const agxData::EntityModel * getModel () const
 
agxData::EntityStorage * getStorage () const
 
agx::UInt32 hash () const
 
void init (agxData::EntityStorage *storage, agx::Index id)
 Set the target storage and id.
 
agxData::EntityInstance instance ()
 
const agxData::EntityInstance instance () const
 
void invalidate ()
 Invalidate the entity pointer.
 
bool isInstanceOf (agxData::EntityModel *model) const
 
bool isValid () const
 
 operator bool () const
 
bool operator! () const
 
bool operator!= (const EntityPtr &rhs) const
 
template<typename T >
agxData::ArrayAttributeT< T >::Type & operator() (const agxData::ArrayAttributeT< T > *attribute)
 Array attribute.
 
template<typename T >
const agxData::ArrayAttributeT< T >::Type & operator() (const agxData::ArrayAttributeT< T > *attribute) const
 
template<typename T >
agxData::HashSetAttributeT< T >::Type & operator() (const agxData::HashSetAttributeT< T > *attribute)
 HashSet attribute.
 
template<typename T >
const agxData::HashSetAttributeT< T >::Type & operator() (const agxData::HashSetAttributeT< T > *attribute) const
 
template<typename T >
T & operator() (const agxData::PointerAttributeT< T > *attribute)
 Pointer attribute.
 
template<typename T >
const T & operator() (const agxData::PointerAttributeT< T > *attribute) const
 
template<typename T >
T & operator() (const agxData::ScalarAttributeT< T > *attribute)
 Access the value of a specific attribute.
 
template<typename T >
const T & operator() (const agxData::ScalarAttributeT< T > *attribute) const
 
template<typename T >
T & operator() (const agxData::SharedAttributeT< T > *attribute)
 Shared attribute.
 
template<typename T >
const T & operator() (const agxData::SharedAttributeT< T > *attribute) const
 
template<typename T >
agxData::VectorAttributeT< T >::Type & operator() (const agxData::VectorAttributeT< T > *attribute)
 Vector attribute.
 
template<typename T >
const agxData::VectorAttributeT< T >::Type & operator() (const agxData::VectorAttributeT< T > *attribute) const
 
template<typename T >
ArrayAttributeT< T >::Type & operator() (const ArrayAttributeT< T > *attribute)
 
template<typename T >
const ArrayAttributeT< T >::Type & operator() (const ArrayAttributeT< T > *attribute) const
 
template<typename T >
HashSetAttributeT< T >::Type & operator() (const HashSetAttributeT< T > *attribute)
 
template<typename T >
const HashSetAttributeT< T >::Type & operator() (const HashSetAttributeT< T > *attribute) const
 
template<typename T >
VectorAttributeT< T >::Type & operator() (const VectorAttributeT< T > *attribute)
 
template<typename T >
const VectorAttributeT< T >::Type & operator() (const VectorAttributeT< T > *attribute) const
 
bool operator< (const EntityPtr &rhs) const
 
EntityPtr & operator= (const EntityPtr &other)=default
 
EntityPtr & operator= (EntityPtr &&)=default
 
bool operator== (const EntityPtr &rhs) const
 
bool operator> (const EntityPtr &rhs) const
 
void print () const
 
void print (std::ostream &stream) const
 
void swapId (EntityPtr &other)
 Swap id with another instance.
 
void swapIndex (EntityPtr &other)
 Swap index with another instance.
 
void transfer (agxData::EntityStorage *target)
 Transfer instance to another storage.
 
void verifyIndex () const
 Check for broken ptr, by verifying that the id is active in the storage.
 

Additional Inherited Members

- Static Public Member Functions inherited from agxData::EntityPtr
static EntityPtr createWithIndex (EntityStorage *storage, agx::Index index)
 
static void TransformToAscii (void *targetBuffer, const void *sourceBuffer, size_t numElements)
 

Detailed Description

Pointer to a entity instance of type Physics.SolveIsland.

Definition at line 185 of file SolveIslandEntity.h.

Member Typedef Documentation

◆ DataType

typedef SolveIslandData agx::Physics::SolveIslandPtr::DataType

Definition at line 189 of file SolveIslandEntity.h.

◆ InstanceType

typedef SolveIslandInstance agx::Physics::SolveIslandPtr::InstanceType

Definition at line 190 of file SolveIslandEntity.h.

◆ ModelType

Constructor & Destructor Documentation

◆ SolveIslandPtr() [1/4]

AGXPHYSICS_EXPORT agx::Physics::SolveIslandPtr::SolveIslandPtr ( )

◆ SolveIslandPtr() [2/4]

AGXPHYSICS_EXPORT agx::Physics::SolveIslandPtr::SolveIslandPtr ( agxData::EntityStorage *  storage,
agx::Index  id 
)

◆ SolveIslandPtr() [3/4]

AGXPHYSICS_EXPORT agx::Physics::SolveIslandPtr::SolveIslandPtr ( const agxData::EntityPtr &  ptr)

◆ SolveIslandPtr() [4/4]

AGXPHYSICS_EXPORT agx::Physics::SolveIslandPtr::SolveIslandPtr ( const agxData::EntityInstance &  instance)

Member Function Documentation

◆ currentIteration() [1/2]

AGXPHYSICS_EXPORT agx::UInt & agx::Physics::SolveIslandPtr::currentIteration ( )
Returns
reference to the currentIteration attribute

◆ currentIteration() [2/2]

AGXPHYSICS_EXPORT agx::UInt const & agx::Physics::SolveIslandPtr::currentIteration ( ) const
Returns
const reference to the currentIteration attribute

◆ directBodies() [1/2]

AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & agx::Physics::SolveIslandPtr::directBodies ( )
Returns
reference to the directBodies attribute

◆ directBodies() [2/2]

AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & agx::Physics::SolveIslandPtr::directBodies ( ) const
Returns
const reference to the directBodies attribute

◆ directSolveCostEstimate() [1/2]

AGXPHYSICS_EXPORT agx::UInt & agx::Physics::SolveIslandPtr::directSolveCostEstimate ( )
Returns
reference to the directSolveCostEstimate attribute

◆ directSolveCostEstimate() [2/2]

AGXPHYSICS_EXPORT agx::UInt const & agx::Physics::SolveIslandPtr::directSolveCostEstimate ( ) const
Returns
const reference to the directSolveCostEstimate attribute

◆ getData() [1/2]

SolveIslandData * agx::Physics::SolveIslandPtr::getData ( )

◆ getData() [2/2]

const SolveIslandData * agx::Physics::SolveIslandPtr::getData ( ) const

◆ groups() [1/2]

AGXPHYSICS_EXPORT agxData::Array< agx::Physics::SolveGroupPtr > & agx::Physics::SolveIslandPtr::groups ( )
Returns
reference to the groups attribute

◆ groups() [2/2]

AGXPHYSICS_EXPORT agxData::Array< agx::Physics::SolveGroupPtr > const & agx::Physics::SolveIslandPtr::groups ( ) const
Returns
const reference to the groups attribute

◆ instance() [1/2]

AGXPHYSICS_EXPORT SolveIslandInstance agx::Physics::SolveIslandPtr::instance ( )

◆ instance() [2/2]

AGXPHYSICS_EXPORT const SolveIslandInstance agx::Physics::SolveIslandPtr::instance ( ) const

◆ isImpacting() [1/2]

AGXPHYSICS_EXPORT agx::Bool & agx::Physics::SolveIslandPtr::isImpacting ( )
Returns
reference to the isImpacting attribute

◆ isImpacting() [2/2]

AGXPHYSICS_EXPORT agx::Bool const & agx::Physics::SolveIslandPtr::isImpacting ( ) const
Returns
const reference to the isImpacting attribute

◆ iterativeFrictionRefinement() [1/2]

AGXPHYSICS_EXPORT agx::Bool & agx::Physics::SolveIslandPtr::iterativeFrictionRefinement ( )
Returns
reference to the iterativeFrictionRefinement attribute

◆ iterativeFrictionRefinement() [2/2]

AGXPHYSICS_EXPORT agx::Bool const & agx::Physics::SolveIslandPtr::iterativeFrictionRefinement ( ) const
Returns
const reference to the iterativeFrictionRefinement attribute

◆ operator->() [1/2]

AGXPHYSICS_EXPORT SolveIslandSemantics * agx::Physics::SolveIslandPtr::operator-> ( )

◆ operator->() [2/2]

AGXPHYSICS_EXPORT const SolveIslandSemantics * agx::Physics::SolveIslandPtr::operator-> ( ) const

◆ operator=() [1/2]

AGXPHYSICS_EXPORT SolveIslandPtr & agx::Physics::SolveIslandPtr::operator= ( const agxData::EntityInstance &  instance)

◆ operator=() [2/2]

AGXPHYSICS_EXPORT SolveIslandPtr & agx::Physics::SolveIslandPtr::operator= ( const agxData::EntityPtr &  ptr)

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