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

Pointer to a entity instance of type Physics.HierarchicalGrid.ContactZone. More...

#include <ContactZoneEntity.h>

+ Inheritance diagram for agx::Physics::HierarchicalGrid::ContactZonePtr:

Public Types

typedef ContactZoneData DataType
 
typedef ContactZoneInstance InstanceType
 
typedef ContactZoneModel ModelType
 

Public Member Functions

AGXPHYSICS_EXPORT ContactZonePtr ()
 
AGXPHYSICS_EXPORT ContactZonePtr (agxData::EntityStorage *storage, agx::Index id)
 
AGXPHYSICS_EXPORT ContactZonePtr (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ContactZonePtr (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agx::Vec4f & color ()
 
AGXPHYSICS_EXPORT agx::Vec4f const & color () const
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & geometryGeometryContacts ()
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & geometryGeometryContacts () const
 
ContactZoneData * getData ()
 
const ContactZoneData * getData () const
 
AGXPHYSICS_EXPORT agx::Vec3i & id ()
 
AGXPHYSICS_EXPORT agx::Vec3i const & id () const
 
AGXPHYSICS_EXPORT ContactZoneInstance instance ()
 
AGXPHYSICS_EXPORT const ContactZoneInstance instance () const
 
AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZoneDependencyPtr & interTierDependencyList ()
 
AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZoneDependencyPtr const & interTierDependencyList () const
 
AGXPHYSICS_EXPORT agx::Job *& job ()
 
AGXPHYSICS_EXPORT agx::Job *const & job () const
 
AGXPHYSICS_EXPORT agx::AtomicValue & numGeometryContacts ()
 
AGXPHYSICS_EXPORT agx::AtomicValue const & numGeometryContacts () const
 
AGXPHYSICS_EXPORT agx::AtomicValue & numParticleGeometryContacts ()
 
AGXPHYSICS_EXPORT agx::AtomicValue const & numParticleGeometryContacts () const
 
AGXPHYSICS_EXPORT agx::AtomicValue & numParticleParticleContacts ()
 
AGXPHYSICS_EXPORT agx::AtomicValue const & numParticleParticleContacts () const
 
AGXPHYSICS_EXPORT ContactZoneSemantics * operator-> ()
 
AGXPHYSICS_EXPORT const ContactZoneSemantics * operator-> () const
 
AGXPHYSICS_EXPORT ContactZonePtr & operator= (const agxData::EntityInstance &instance)
 
AGXPHYSICS_EXPORT ContactZonePtr & operator= (const agxData::EntityPtr &ptr)
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & particleGeometryContacts ()
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & particleGeometryContacts () const
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & particleParticleContacts ()
 
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & particleParticleContacts () const
 
AGXPHYSICS_EXPORT agxData::Array< agx::Physics::SolveGroupPtr > & solveGroups ()
 
AGXPHYSICS_EXPORT agxData::Array< agx::Physics::SolveGroupPtr > const & solveGroups () const
 
AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::CellPtr & spatialCell ()
 
AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::CellPtr const & spatialCell () const
 
AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::GridTierPtr & tier ()
 
AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::GridTierPtr const & tier () const
 
AGXPHYSICS_EXPORT agx::UInt32 & totNumContacts ()
 
AGXPHYSICS_EXPORT agx::UInt32 const & totNumContacts () const
 
AGXPHYSICS_EXPORT agx::UInt8 & type ()
 
AGXPHYSICS_EXPORT agx::UInt8 const & type () 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.HierarchicalGrid.ContactZone.

Definition at line 241 of file ContactZoneEntity.h.

Member Typedef Documentation

◆ DataType

Definition at line 245 of file ContactZoneEntity.h.

◆ InstanceType

Definition at line 246 of file ContactZoneEntity.h.

◆ ModelType

Constructor & Destructor Documentation

◆ ContactZonePtr() [1/4]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZonePtr::ContactZonePtr ( )

◆ ContactZonePtr() [2/4]

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

◆ ContactZonePtr() [3/4]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZonePtr::ContactZonePtr ( const agxData::EntityPtr &  ptr)

◆ ContactZonePtr() [4/4]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZonePtr::ContactZonePtr ( const agxData::EntityInstance &  instance)

Member Function Documentation

◆ color() [1/2]

AGXPHYSICS_EXPORT agx::Vec4f & agx::Physics::HierarchicalGrid::ContactZonePtr::color ( )
Returns
reference to the color attribute

◆ color() [2/2]

AGXPHYSICS_EXPORT agx::Vec4f const & agx::Physics::HierarchicalGrid::ContactZonePtr::color ( ) const
Returns
const reference to the color attribute

◆ geometryGeometryContacts() [1/2]

AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & agx::Physics::HierarchicalGrid::ContactZonePtr::geometryGeometryContacts ( )
Returns
reference to the geometryGeometryContacts attribute

◆ geometryGeometryContacts() [2/2]

AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & agx::Physics::HierarchicalGrid::ContactZonePtr::geometryGeometryContacts ( ) const
Returns
const reference to the geometryGeometryContacts attribute

◆ getData() [1/2]

ContactZoneData * agx::Physics::HierarchicalGrid::ContactZonePtr::getData ( )

◆ getData() [2/2]

const ContactZoneData * agx::Physics::HierarchicalGrid::ContactZonePtr::getData ( ) const

◆ id() [1/2]

AGXPHYSICS_EXPORT agx::Vec3i & agx::Physics::HierarchicalGrid::ContactZonePtr::id ( )
Returns
reference to the id attribute

◆ id() [2/2]

AGXPHYSICS_EXPORT agx::Vec3i const & agx::Physics::HierarchicalGrid::ContactZonePtr::id ( ) const
Returns
const reference to the id attribute

◆ instance() [1/2]

AGXPHYSICS_EXPORT ContactZoneInstance agx::Physics::HierarchicalGrid::ContactZonePtr::instance ( )

◆ instance() [2/2]

AGXPHYSICS_EXPORT const ContactZoneInstance agx::Physics::HierarchicalGrid::ContactZonePtr::instance ( ) const

◆ interTierDependencyList() [1/2]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZoneDependencyPtr & agx::Physics::HierarchicalGrid::ContactZonePtr::interTierDependencyList ( )
Returns
reference to the interTierDependencyList attribute

◆ interTierDependencyList() [2/2]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZoneDependencyPtr const & agx::Physics::HierarchicalGrid::ContactZonePtr::interTierDependencyList ( ) const
Returns
const reference to the interTierDependencyList attribute

◆ job() [1/2]

AGXPHYSICS_EXPORT agx::Job *& agx::Physics::HierarchicalGrid::ContactZonePtr::job ( )
Returns
reference to the job attribute

◆ job() [2/2]

AGXPHYSICS_EXPORT agx::Job *const & agx::Physics::HierarchicalGrid::ContactZonePtr::job ( ) const
Returns
const reference to the job attribute

◆ numGeometryContacts() [1/2]

AGXPHYSICS_EXPORT agx::AtomicValue & agx::Physics::HierarchicalGrid::ContactZonePtr::numGeometryContacts ( )
Returns
reference to the numGeometryContacts attribute

◆ numGeometryContacts() [2/2]

AGXPHYSICS_EXPORT agx::AtomicValue const & agx::Physics::HierarchicalGrid::ContactZonePtr::numGeometryContacts ( ) const
Returns
const reference to the numGeometryContacts attribute

◆ numParticleGeometryContacts() [1/2]

AGXPHYSICS_EXPORT agx::AtomicValue & agx::Physics::HierarchicalGrid::ContactZonePtr::numParticleGeometryContacts ( )
Returns
reference to the numParticleGeometryContacts attribute

◆ numParticleGeometryContacts() [2/2]

AGXPHYSICS_EXPORT agx::AtomicValue const & agx::Physics::HierarchicalGrid::ContactZonePtr::numParticleGeometryContacts ( ) const
Returns
const reference to the numParticleGeometryContacts attribute

◆ numParticleParticleContacts() [1/2]

AGXPHYSICS_EXPORT agx::AtomicValue & agx::Physics::HierarchicalGrid::ContactZonePtr::numParticleParticleContacts ( )
Returns
reference to the numParticleParticleContacts attribute

◆ numParticleParticleContacts() [2/2]

AGXPHYSICS_EXPORT agx::AtomicValue const & agx::Physics::HierarchicalGrid::ContactZonePtr::numParticleParticleContacts ( ) const
Returns
const reference to the numParticleParticleContacts attribute

◆ operator->() [1/2]

AGXPHYSICS_EXPORT ContactZoneSemantics * agx::Physics::HierarchicalGrid::ContactZonePtr::operator-> ( )

◆ operator->() [2/2]

AGXPHYSICS_EXPORT const ContactZoneSemantics * agx::Physics::HierarchicalGrid::ContactZonePtr::operator-> ( ) const

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ particleGeometryContacts() [1/2]

AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & agx::Physics::HierarchicalGrid::ContactZonePtr::particleGeometryContacts ( )
Returns
reference to the particleGeometryContacts attribute

◆ particleGeometryContacts() [2/2]

AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & agx::Physics::HierarchicalGrid::ContactZonePtr::particleGeometryContacts ( ) const
Returns
const reference to the particleGeometryContacts attribute

◆ particleParticleContacts() [1/2]

AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & agx::Physics::HierarchicalGrid::ContactZonePtr::particleParticleContacts ( )
Returns
reference to the particleParticleContacts attribute

◆ particleParticleContacts() [2/2]

AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > const & agx::Physics::HierarchicalGrid::ContactZonePtr::particleParticleContacts ( ) const
Returns
const reference to the particleParticleContacts attribute

◆ solveGroups() [1/2]

AGXPHYSICS_EXPORT agxData::Array< agx::Physics::SolveGroupPtr > & agx::Physics::HierarchicalGrid::ContactZonePtr::solveGroups ( )
Returns
reference to the solveGroups attribute

◆ solveGroups() [2/2]

AGXPHYSICS_EXPORT agxData::Array< agx::Physics::SolveGroupPtr > const & agx::Physics::HierarchicalGrid::ContactZonePtr::solveGroups ( ) const
Returns
const reference to the solveGroups attribute

◆ spatialCell() [1/2]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::CellPtr & agx::Physics::HierarchicalGrid::ContactZonePtr::spatialCell ( )
Returns
reference to the spatialCell attribute

◆ spatialCell() [2/2]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::CellPtr const & agx::Physics::HierarchicalGrid::ContactZonePtr::spatialCell ( ) const
Returns
const reference to the spatialCell attribute

◆ tier() [1/2]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::GridTierPtr & agx::Physics::HierarchicalGrid::ContactZonePtr::tier ( )
Returns
reference to the tier attribute

◆ tier() [2/2]

AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::GridTierPtr const & agx::Physics::HierarchicalGrid::ContactZonePtr::tier ( ) const
Returns
const reference to the tier attribute

◆ totNumContacts() [1/2]

AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::HierarchicalGrid::ContactZonePtr::totNumContacts ( )
Returns
reference to the totNumContacts attribute

◆ totNumContacts() [2/2]

AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::HierarchicalGrid::ContactZonePtr::totNumContacts ( ) const
Returns
const reference to the totNumContacts attribute

◆ type() [1/2]

AGXPHYSICS_EXPORT agx::UInt8 & agx::Physics::HierarchicalGrid::ContactZonePtr::type ( )
Returns
reference to the type attribute

◆ type() [2/2]

AGXPHYSICS_EXPORT agx::UInt8 const & agx::Physics::HierarchicalGrid::ContactZonePtr::type ( ) const
Returns
const reference to the type attribute

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