AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
agx::Physics::GranularBody::ContactConstraint32Ptr Class Reference

Pointer to a entity instance of type Physics.GranularBody.ContactConstraint32. More...

#include <ContactConstraint32Entity.h>

+ Inheritance diagram for agx::Physics::GranularBody::ContactConstraint32Ptr:

Public Types

typedef ContactConstraint32Data DataType
 
typedef ContactConstraint32Instance InstanceType
 
typedef ContactConstraint32Model ModelType
 

Public Member Functions

AGXPHYSICS_EXPORT ContactConstraint32Ptr ()
 
AGXPHYSICS_EXPORT ContactConstraint32Ptr (agxData::EntityStorage *storage, agx::Index id)
 
AGXPHYSICS_EXPORT ContactConstraint32Ptr (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ContactConstraint32Ptr (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::UInt32 & body1 ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & body1 () const
 
AGXPHYSICS_EXPORT agx::UInt32 & body2 ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & body2 () const
 
AGXPHYSICS_EXPORT agx::UInt32 & cachedContactId ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & cachedContactId () const
 
AGXPHYSICS_EXPORT agx::Real32 & charContactTime ()
 
AGXPHYSICS_EXPORT agx::Real32 const & charContactTime () const
 
AGXPHYSICS_EXPORT agx::Real32 & charMass ()
 
AGXPHYSICS_EXPORT agx::Real32 const & charMass () const
 
AGXPHYSICS_EXPORT agx::UInt32 & contactIndex ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & contactIndex () const
 
ContactConstraint32Data * getData ()
 
const ContactConstraint32Data * getData () const
 
AGXPHYSICS_EXPORT agx::JacobianMeta32 & GMeta ()
 
AGXPHYSICS_EXPORT agx::JacobianMeta32 const & GMeta () const
 
AGXPHYSICS_EXPORT ContactConstraint32Instance instance ()
 
AGXPHYSICS_EXPORT const ContactConstraint32Instance instance () const
 
AGXPHYSICS_EXPORT agx::Bool & isImpacting ()
 
AGXPHYSICS_EXPORT agx::Bool const & isImpacting () const
 
AGXPHYSICS_EXPORT agx::UInt32 & iterationCount ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & iterationCount () const
 
AGXPHYSICS_EXPORT agx::UInt32 & jacobianIndex ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & jacobianIndex () const
 
AGXPHYSICS_EXPORT agx::UInt32 & materialIndex ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & materialIndex () const
 
AGXPHYSICS_EXPORT agx::Real32 & nonlinearMultiplier ()
 
AGXPHYSICS_EXPORT agx::Real32 const & nonlinearMultiplier () const
 
AGXPHYSICS_EXPORT ContactConstraint32Semantics * operator-> ()
 
AGXPHYSICS_EXPORT const ContactConstraint32Semantics * operator-> () const
 
AGXPHYSICS_EXPORT ContactConstraint32Ptr & operator= (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ContactConstraint32Ptr & operator= (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::Real32 & restingCompliance ()
 
AGXPHYSICS_EXPORT agx::Real32 const & restingCompliance () const
 
AGXPHYSICS_EXPORT agx::Real32 & rollingResistanceMu ()
 
AGXPHYSICS_EXPORT agx::Real32 const & rollingResistanceMu () const
 
AGXPHYSICS_EXPORT agx::UInt32 & rowIndex ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & rowIndex () const
 
AGXPHYSICS_EXPORT agx::UInt32 & solveBody1 ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & solveBody1 () const
 
AGXPHYSICS_EXPORT agx::UInt32 & solveBody2 ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & solveBody2 () const
 
AGXPHYSICS_EXPORT agx::Real32 & twistLimitMultiplier ()
 
AGXPHYSICS_EXPORT agx::Real32 const & twistLimitMultiplier () const
 
- 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.GranularBody.ContactConstraint32.

Definition at line 246 of file ContactConstraint32Entity.h.

Member Typedef Documentation

◆ DataType

Definition at line 250 of file ContactConstraint32Entity.h.

◆ InstanceType

Definition at line 251 of file ContactConstraint32Entity.h.

◆ ModelType

Constructor & Destructor Documentation

◆ ContactConstraint32Ptr() [1/4]

AGXPHYSICS_EXPORT agx::Physics::GranularBody::ContactConstraint32Ptr::ContactConstraint32Ptr ( )

◆ ContactConstraint32Ptr() [2/4]

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

◆ ContactConstraint32Ptr() [3/4]

AGXPHYSICS_EXPORT agx::Physics::GranularBody::ContactConstraint32Ptr::ContactConstraint32Ptr ( const agxData::EntityPtr &  ptr)

◆ ContactConstraint32Ptr() [4/4]

AGXPHYSICS_EXPORT agx::Physics::GranularBody::ContactConstraint32Ptr::ContactConstraint32Ptr ( const agxData::EntityInstance &  instance)

Member Function Documentation

◆ body1() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::body1 ( )
Returns
reference to the body1 attribute

◆ body1() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::body1 ( ) const
Returns
const reference to the body1 attribute

◆ body2() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::body2 ( )
Returns
reference to the body2 attribute

◆ body2() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::body2 ( ) const
Returns
const reference to the body2 attribute

◆ cachedContactId() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::cachedContactId ( )
Returns
reference to the cachedContactId attribute

◆ cachedContactId() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::cachedContactId ( ) const
Returns
const reference to the cachedContactId attribute

◆ charContactTime() [1/2]

AGXPHYSICS_EXPORT agx::Real32 & agx::Physics::GranularBody::ContactConstraint32Ptr::charContactTime ( )
Returns
reference to the charContactTime attribute

◆ charContactTime() [2/2]

AGXPHYSICS_EXPORT agx::Real32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::charContactTime ( ) const
Returns
const reference to the charContactTime attribute

◆ charMass() [1/2]

AGXPHYSICS_EXPORT agx::Real32 & agx::Physics::GranularBody::ContactConstraint32Ptr::charMass ( )
Returns
reference to the charMass attribute

◆ charMass() [2/2]

AGXPHYSICS_EXPORT agx::Real32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::charMass ( ) const
Returns
const reference to the charMass attribute

◆ contactIndex() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::contactIndex ( )
Returns
reference to the contactIndex attribute

◆ contactIndex() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::contactIndex ( ) const
Returns
const reference to the contactIndex attribute

◆ getData() [1/2]

ContactConstraint32Data * agx::Physics::GranularBody::ContactConstraint32Ptr::getData ( )

◆ getData() [2/2]

const ContactConstraint32Data * agx::Physics::GranularBody::ContactConstraint32Ptr::getData ( ) const

◆ GMeta() [1/2]

AGXPHYSICS_EXPORT agx::JacobianMeta32 & agx::Physics::GranularBody::ContactConstraint32Ptr::GMeta ( )
Returns
reference to the GMeta attribute

◆ GMeta() [2/2]

AGXPHYSICS_EXPORT agx::JacobianMeta32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::GMeta ( ) const
Returns
const reference to the GMeta attribute

◆ instance() [1/2]

AGXPHYSICS_EXPORT ContactConstraint32Instance agx::Physics::GranularBody::ContactConstraint32Ptr::instance ( )

◆ instance() [2/2]

AGXPHYSICS_EXPORT const ContactConstraint32Instance agx::Physics::GranularBody::ContactConstraint32Ptr::instance ( ) const

◆ isImpacting() [1/2]

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

◆ isImpacting() [2/2]

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

◆ iterationCount() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::iterationCount ( )
Returns
reference to the iterationCount attribute

◆ iterationCount() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::iterationCount ( ) const
Returns
const reference to the iterationCount attribute

◆ jacobianIndex() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::jacobianIndex ( )
Returns
reference to the jacobianIndex attribute

◆ jacobianIndex() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::jacobianIndex ( ) const
Returns
const reference to the jacobianIndex attribute

◆ materialIndex() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::materialIndex ( )
Returns
reference to the materialIndex attribute

◆ materialIndex() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::materialIndex ( ) const
Returns
const reference to the materialIndex attribute

◆ nonlinearMultiplier() [1/2]

AGXPHYSICS_EXPORT agx::Real32 & agx::Physics::GranularBody::ContactConstraint32Ptr::nonlinearMultiplier ( )
Returns
reference to the nonlinearMultiplier attribute

◆ nonlinearMultiplier() [2/2]

AGXPHYSICS_EXPORT agx::Real32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::nonlinearMultiplier ( ) const
Returns
const reference to the nonlinearMultiplier attribute

◆ operator->() [1/2]

AGXPHYSICS_EXPORT ContactConstraint32Semantics * agx::Physics::GranularBody::ContactConstraint32Ptr::operator-> ( )

◆ operator->() [2/2]

AGXPHYSICS_EXPORT const ContactConstraint32Semantics * agx::Physics::GranularBody::ContactConstraint32Ptr::operator-> ( ) const

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ restingCompliance() [1/2]

AGXPHYSICS_EXPORT agx::Real32 & agx::Physics::GranularBody::ContactConstraint32Ptr::restingCompliance ( )
Returns
reference to the restingCompliance attribute

◆ restingCompliance() [2/2]

AGXPHYSICS_EXPORT agx::Real32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::restingCompliance ( ) const
Returns
const reference to the restingCompliance attribute

◆ rollingResistanceMu() [1/2]

AGXPHYSICS_EXPORT agx::Real32 & agx::Physics::GranularBody::ContactConstraint32Ptr::rollingResistanceMu ( )
Returns
reference to the rollingResistanceMu attribute

◆ rollingResistanceMu() [2/2]

AGXPHYSICS_EXPORT agx::Real32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::rollingResistanceMu ( ) const
Returns
const reference to the rollingResistanceMu attribute

◆ rowIndex() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::rowIndex ( )
Returns
reference to the rowIndex attribute

◆ rowIndex() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::rowIndex ( ) const
Returns
const reference to the rowIndex attribute

◆ solveBody1() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::solveBody1 ( )
Returns
reference to the solveBody1 attribute

◆ solveBody1() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::solveBody1 ( ) const
Returns
const reference to the solveBody1 attribute

◆ solveBody2() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::GranularBody::ContactConstraint32Ptr::solveBody2 ( )
Returns
reference to the solveBody2 attribute

◆ solveBody2() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::solveBody2 ( ) const
Returns
const reference to the solveBody2 attribute

◆ twistLimitMultiplier() [1/2]

AGXPHYSICS_EXPORT agx::Real32 & agx::Physics::GranularBody::ContactConstraint32Ptr::twistLimitMultiplier ( )
Returns
reference to the twistLimitMultiplier attribute

◆ twistLimitMultiplier() [2/2]

AGXPHYSICS_EXPORT agx::Real32 const & agx::Physics::GranularBody::ContactConstraint32Ptr::twistLimitMultiplier ( ) const
Returns
const reference to the twistLimitMultiplier attribute

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