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

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

#include <ParticlePairContactEntity.h>

+ Inheritance diagram for agx::Physics::ParticlePairContactPtr:

Public Types

typedef ParticlePairContactData DataType
 
typedef ParticlePairContactInstance InstanceType
 
typedef ParticlePairContactModel ModelType
 
- Public Types inherited from agx::Physics::ContactPtr
typedef ContactData DataType
 
typedef ContactInstance InstanceType
 
typedef ContactModel ModelType
 
- Public Types inherited from agx::Physics::InteractionPtr
typedef InteractionData DataType
 
typedef InteractionInstance InstanceType
 
typedef InteractionModel ModelType
 

Public Member Functions

AGXPHYSICS_EXPORT ParticlePairContactPtr ()
 
AGXPHYSICS_EXPORT ParticlePairContactPtr (agxData::EntityStorage *storage, agx::Index id)
 
AGXPHYSICS_EXPORT ParticlePairContactPtr (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ParticlePairContactPtr (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::Real32 & charContactTime ()
 
AGXPHYSICS_EXPORT agx::Real32 const & charContactTime () const
 
AGXPHYSICS_EXPORT agx::Real & contactEnergy ()
 
AGXPHYSICS_EXPORT agx::Real const & contactEnergy () const
 
AGXPHYSICS_EXPORT agx::Real & depth ()
 
AGXPHYSICS_EXPORT agx::Real const & depth () const
 
AGXPHYSICS_EXPORT agx::Bool & enabled ()
 
AGXPHYSICS_EXPORT agx::Bool const & enabled () const
 
ParticlePairContactData * getData ()
 
const ParticlePairContactData * getData () const
 
AGXPHYSICS_EXPORT agx::Real & impactNormalForce ()
 
AGXPHYSICS_EXPORT agx::Real const & impactNormalForce () const
 
AGXPHYSICS_EXPORT ParticlePairContactInstance instance ()
 
AGXPHYSICS_EXPORT const ParticlePairContactInstance instance () const
 
AGXPHYSICS_EXPORT agx::Bool & isImpacting ()
 
AGXPHYSICS_EXPORT agx::Bool const & isImpacting () const
 
AGXPHYSICS_EXPORT agx::Vec3 & localForce ()
 
AGXPHYSICS_EXPORT agx::Vec3 const & localForce () const
 
AGXPHYSICS_EXPORT agx::Vec3f & normal ()
 
AGXPHYSICS_EXPORT agx::Vec3f const & normal () const
 
AGXPHYSICS_EXPORT ParticlePairContactSemantics * operator-> ()
 
AGXPHYSICS_EXPORT const ParticlePairContactSemantics * operator-> () const
 
AGXPHYSICS_EXPORT ParticlePairContactPtr & operator= (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ParticlePairContactPtr & operator= (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::UInt32 & particle1 ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & particle1 () const
 
AGXPHYSICS_EXPORT agx::UInt32 & particle2 ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & particle2 () const
 
AGXPHYSICS_EXPORT agx::UInt32 & particleId1 ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & particleId1 () const
 
AGXPHYSICS_EXPORT agx::UInt32 & particleId2 ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & particleId2 () const
 
AGXPHYSICS_EXPORT agx::Vec3 & point ()
 
AGXPHYSICS_EXPORT agx::Vec3 const & point () const
 
AGXPHYSICS_EXPORT agx::Vec3f & tangentU ()
 
AGXPHYSICS_EXPORT agx::Vec3f const & tangentU () const
 
AGXPHYSICS_EXPORT agx::Vec3f & tangentV ()
 
AGXPHYSICS_EXPORT agx::Vec3f const & tangentV () const
 
AGXPHYSICS_EXPORT agx::Real32 & timeStamp ()
 
AGXPHYSICS_EXPORT agx::Real32 const & timeStamp () const
 
AGXPHYSICS_EXPORT agx::Vec3f & velocity ()
 
AGXPHYSICS_EXPORT agx::Vec3f const & velocity () const
 
- Public Member Functions inherited from agx::Physics::ContactPtr
AGXPHYSICS_EXPORT ContactPtr ()
 
AGXPHYSICS_EXPORT ContactPtr (agxData::EntityStorage *storage, agx::Index id)
 
AGXPHYSICS_EXPORT ContactPtr (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ContactPtr (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::UInt32 & constraintIndex ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & constraintIndex () const
 
AGXPHYSICS_EXPORT agx::UInt32 & contactZoneIndex ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & contactZoneIndex () const
 
AGXPHYSICS_EXPORT agx::UInt16 & contactZoneSlot ()
 
AGXPHYSICS_EXPORT agx::UInt16 const & contactZoneSlot () const
 
ContactData * getData ()
 
const ContactData * getData () const
 
AGXPHYSICS_EXPORT ContactInstance instance ()
 
AGXPHYSICS_EXPORT const ContactInstance instance () const
 
AGXPHYSICS_EXPORT agx::Physics::ContactMaterialPtr & material ()
 
AGXPHYSICS_EXPORT agx::Physics::ContactMaterialPtr const & material () const
 
AGXPHYSICS_EXPORT ContactSemantics * operator-> ()
 
AGXPHYSICS_EXPORT const ContactSemantics * operator-> () const
 
AGXPHYSICS_EXPORT ContactPtr & operator= (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ContactPtr & operator= (const agxData::EntityPtr &ptr)
 
- Public Member Functions inherited from agx::Physics::InteractionPtr
AGXPHYSICS_EXPORT InteractionPtr ()
 
AGXPHYSICS_EXPORT InteractionPtr (agxData::EntityStorage *storage, agx::Index id)
 
AGXPHYSICS_EXPORT InteractionPtr (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT InteractionPtr (const agxData::EntityPtr &ptr)
 
InteractionData * getData ()
 
const InteractionData * getData () const
 
AGXPHYSICS_EXPORT agx::Physics::GraphNodePtr & graphNode ()
 
AGXPHYSICS_EXPORT agx::Physics::GraphNodePtr const & graphNode () const
 
AGXPHYSICS_EXPORT InteractionInstance instance ()
 
AGXPHYSICS_EXPORT const InteractionInstance instance () const
 
AGXPHYSICS_EXPORT InteractionSemantics * operator-> ()
 
AGXPHYSICS_EXPORT const InteractionSemantics * operator-> () const
 
AGXPHYSICS_EXPORT InteractionPtr & operator= (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT InteractionPtr & operator= (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::SolveModel *& solveModel ()
 
AGXPHYSICS_EXPORT agx::SolveModel *const & solveModel () 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.ParticlePairContact.

Definition at line 240 of file ParticlePairContactEntity.h.

Member Typedef Documentation

◆ DataType

typedef ParticlePairContactData agx::Physics::ParticlePairContactPtr::DataType

Definition at line 244 of file ParticlePairContactEntity.h.

◆ InstanceType

typedef ParticlePairContactInstance agx::Physics::ParticlePairContactPtr::InstanceType

Definition at line 245 of file ParticlePairContactEntity.h.

◆ ModelType

Constructor & Destructor Documentation

◆ ParticlePairContactPtr() [1/4]

AGXPHYSICS_EXPORT agx::Physics::ParticlePairContactPtr::ParticlePairContactPtr ( )

◆ ParticlePairContactPtr() [2/4]

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

◆ ParticlePairContactPtr() [3/4]

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

◆ ParticlePairContactPtr() [4/4]

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

Member Function Documentation

◆ charContactTime() [1/2]

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

◆ charContactTime() [2/2]

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

◆ contactEnergy() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ParticlePairContactPtr::contactEnergy ( )
Returns
reference to the contactEnergy attribute

◆ contactEnergy() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ParticlePairContactPtr::contactEnergy ( ) const
Returns
const reference to the contactEnergy attribute

◆ depth() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ParticlePairContactPtr::depth ( )
Returns
reference to the depth attribute

◆ depth() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ParticlePairContactPtr::depth ( ) const
Returns
const reference to the depth attribute

◆ enabled() [1/2]

AGXPHYSICS_EXPORT agx::Bool & agx::Physics::ParticlePairContactPtr::enabled ( )
Returns
reference to the enabled attribute

◆ enabled() [2/2]

AGXPHYSICS_EXPORT agx::Bool const & agx::Physics::ParticlePairContactPtr::enabled ( ) const
Returns
const reference to the enabled attribute

◆ getData() [1/2]

ParticlePairContactData * agx::Physics::ParticlePairContactPtr::getData ( )

◆ getData() [2/2]

const ParticlePairContactData * agx::Physics::ParticlePairContactPtr::getData ( ) const

◆ impactNormalForce() [1/2]

AGXPHYSICS_EXPORT agx::Real & agx::Physics::ParticlePairContactPtr::impactNormalForce ( )
Returns
reference to the impactNormalForce attribute

◆ impactNormalForce() [2/2]

AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ParticlePairContactPtr::impactNormalForce ( ) const
Returns
const reference to the impactNormalForce attribute

◆ instance() [1/2]

AGXPHYSICS_EXPORT ParticlePairContactInstance agx::Physics::ParticlePairContactPtr::instance ( )

◆ instance() [2/2]

AGXPHYSICS_EXPORT const ParticlePairContactInstance agx::Physics::ParticlePairContactPtr::instance ( ) const

◆ isImpacting() [1/2]

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

◆ isImpacting() [2/2]

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

◆ localForce() [1/2]

AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ParticlePairContactPtr::localForce ( )
Returns
reference to the localForce attribute

◆ localForce() [2/2]

AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ParticlePairContactPtr::localForce ( ) const
Returns
const reference to the localForce attribute

◆ normal() [1/2]

AGXPHYSICS_EXPORT agx::Vec3f & agx::Physics::ParticlePairContactPtr::normal ( )
Returns
reference to the normal attribute

◆ normal() [2/2]

AGXPHYSICS_EXPORT agx::Vec3f const & agx::Physics::ParticlePairContactPtr::normal ( ) const
Returns
const reference to the normal attribute

◆ operator->() [1/2]

AGXPHYSICS_EXPORT ParticlePairContactSemantics * agx::Physics::ParticlePairContactPtr::operator-> ( )

◆ operator->() [2/2]

AGXPHYSICS_EXPORT const ParticlePairContactSemantics * agx::Physics::ParticlePairContactPtr::operator-> ( ) const

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ particle1() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::ParticlePairContactPtr::particle1 ( )
Returns
reference to the particle1 attribute

◆ particle1() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::ParticlePairContactPtr::particle1 ( ) const
Returns
const reference to the particle1 attribute

◆ particle2() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::ParticlePairContactPtr::particle2 ( )
Returns
reference to the particle2 attribute

◆ particle2() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::ParticlePairContactPtr::particle2 ( ) const
Returns
const reference to the particle2 attribute

◆ particleId1() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::ParticlePairContactPtr::particleId1 ( )
Returns
reference to the particleId1 attribute

◆ particleId1() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::ParticlePairContactPtr::particleId1 ( ) const
Returns
const reference to the particleId1 attribute

◆ particleId2() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::ParticlePairContactPtr::particleId2 ( )
Returns
reference to the particleId2 attribute

◆ particleId2() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::ParticlePairContactPtr::particleId2 ( ) const
Returns
const reference to the particleId2 attribute

◆ point() [1/2]

AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ParticlePairContactPtr::point ( )
Returns
reference to the point attribute

◆ point() [2/2]

AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ParticlePairContactPtr::point ( ) const
Returns
const reference to the point attribute

◆ tangentU() [1/2]

AGXPHYSICS_EXPORT agx::Vec3f & agx::Physics::ParticlePairContactPtr::tangentU ( )
Returns
reference to the tangentU attribute

◆ tangentU() [2/2]

AGXPHYSICS_EXPORT agx::Vec3f const & agx::Physics::ParticlePairContactPtr::tangentU ( ) const
Returns
const reference to the tangentU attribute

◆ tangentV() [1/2]

AGXPHYSICS_EXPORT agx::Vec3f & agx::Physics::ParticlePairContactPtr::tangentV ( )
Returns
reference to the tangentV attribute

◆ tangentV() [2/2]

AGXPHYSICS_EXPORT agx::Vec3f const & agx::Physics::ParticlePairContactPtr::tangentV ( ) const
Returns
const reference to the tangentV attribute

◆ timeStamp() [1/2]

AGXPHYSICS_EXPORT agx::Real32 & agx::Physics::ParticlePairContactPtr::timeStamp ( )
Returns
reference to the timeStamp attribute

◆ timeStamp() [2/2]

AGXPHYSICS_EXPORT agx::Real32 const & agx::Physics::ParticlePairContactPtr::timeStamp ( ) const
Returns
const reference to the timeStamp attribute

◆ velocity() [1/2]

AGXPHYSICS_EXPORT agx::Vec3f & agx::Physics::ParticlePairContactPtr::velocity ( )
Returns
reference to the velocity attribute

◆ velocity() [2/2]

AGXPHYSICS_EXPORT agx::Vec3f const & agx::Physics::ParticlePairContactPtr::velocity ( ) const
Returns
const reference to the velocity attribute

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