21 #ifndef GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CORNERZONE_H_PLUGIN 22 #define GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CORNERZONE_H_PLUGIN 24 #define AGX_ENTITY_WRAPPER 1 28 # pragma warning(push) 30 # pragma warning( disable : 4505 ) 32 # pragma warning( disable : 4251 ) 34 # pragma warning( disable : 4355 ) 36 # pragma warning( disable: 4714 ) 50 namespace agx {
class Job; }
52 namespace agx {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
53 namespace agx {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
54 namespace agx {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
60 namespace HierarchicalGrid
63 class CornerZoneModel;
66 class CornerZoneInstance;
67 class CornerZoneSemantics;
92 virtual void shutdownCleanup()
override;
101 static const size_t internalZonesArraySize = 4;
110 virtual void configure(agx::TiXmlElement* eEntity)
override;
111 virtual void initAttributeAccessors()
override;
118 #ifndef AGX_PHYSICS_HIERARCHICALGRID_CORNERZONE_DATA_SET_OVERRIDE 119 #define AGX_PHYSICS_HIERARCHICALGRID_CORNERZONE_DATA_SET 123 CornerZoneInstance operator[] (
size_t index);
131 static const size_t internalZonesArraySize = 4;
152 virtual ~CornerZoneData() {}
153 virtual void setNumElements(
agx::Index numElements)
override;
156 CornerZoneData& operator= (
const CornerZoneData&) {
return *
this; }
186 void setJob(
agx::Job*
const& value);
191 friend class CornerZoneInstance;
192 CornerZoneSemantics();
220 CornerZoneData* getData();
221 const CornerZoneData* getData()
const;
271 CornerZoneInstance();
272 CornerZoneInstance(CornerZoneData* data,
agx::Index index);
277 CornerZoneData* getData();
278 const CornerZoneData* getData()
const;
335 inline CornerZoneInstance
agx::Physics::HierarchicalGrid::CornerZoneData::operator[] (
size_t index) {
return CornerZoneInstance(
this, (
agx::Index)index); }
342 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
349 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
357 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
366 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
411 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
418 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
450 AGX_FORCE_INLINE agx::Job*
const& CornerZoneInstance::job()
const { verifyIndex();
return getData()->job[getIndex()]; }
461 AGX_TYPE_BINDING(agx::Physics::HierarchicalGrid::CornerZoneInstance,
"Physics.HierarchicalGrid.CornerZoneInstance")
464 # pragma warning(pop) 467 #undef AGX_ENTITY_WRAPPER 468 #undef AGX_ENTITY_NAMESPACE
agxData::EntityData * getData()
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & geometryGeometryContacts()
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & particleGeometryContacts()
agxData::EntityInstance instance()
Data storage for a collection of entity instances of a specified EntityModel.
An abstract job/workblock representation, which allows work threads to execute arbitrary tasks...
#define agxAssertN(expr, format,...)
AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZonePtr & diagonal2()
agxData::EntityData * getData()
agx::String fullPath() const
static agxData::ScalarAttributeT< agx::Physics::HierarchicalGrid::ContactZonePtr > * diagonal1Attribute
static CornerZoneModel * instance()
#define AGX_TYPE_BINDING(_Type, _Name)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
static agxData::PointerAttributeT< agx::Job * > * jobAttribute
#define AGXPHYSICS_EXPORT
Entity instance provides access to a single instance in an EntityStorage.
Abstract description of the data attributes for the Physics.HierarchicalGrid.CornerZone entity...
Accessor to a entity instance stored in a EntityStorage, to allow SOA (structure of arrays) data to b...
#define AGX_DECLARE_POINTER_TYPES(type)
bool isInstanceOf(agxData::EntityModel *model) const
AGXPHYSICS_EXPORT CornerZoneSemantics * operator->()
static agxData::ScalarAttributeT< agx::Physics::HierarchicalGrid::ContactZonePtr > * diagonal2Attribute
static agxData::ArrayAttributeT< agx::UInt32 > * particleGeometryContactsAttribute
AGXPHYSICS_EXPORT agxData::Array< agx::Physics::HierarchicalGrid::ContactZonePtr > internalZones()
Type-specific Array used for fast access into the data held by a Buffer.
CornerZoneInstance InstanceType
static agxData::ArrayAttributeT< agx::UInt32 > * particleParticleContactsAttribute
static agxData::ArrayAttributeT< agx::UInt32 > * geometryGeometryContactsAttribute
Vector containing 'raw' data.
EntityPtr & operator=(const EntityPtr &other)=default
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
CornerZoneModel ModelType
Contains classes for low level data storage for AGX.
AGXPHYSICS_EXPORT agx::Job *& job()
An abstract description of a data entity stored using SOA (structure of arrays) pattern in a EntitySt...
AGXPHYSICS_EXPORT agx::Physics::HierarchicalGrid::ContactZonePtr & diagonal1()
AGXPHYSICS_EXPORT agxData::Array< agx::UInt32 > & particleParticleContacts()
static agxData::ScalarAttributeT< agx::Vec3i > * idAttribute
bool isInstanceOf(agxData::EntityModel *model) const
AGXPHYSICS_EXPORT CornerZoneInstance instance()
AGXPHYSICS_EXPORT agx::Vec3i & id()
Pointer to a entity instance of type Physics.HierarchicalGrid.CornerZone.
AGXPHYSICS_EXPORT CornerZonePtr()
AGXPHYSICS_EXPORT CornerZonePtr & operator=(const agxData::EntityPtr &ptr)
CornerZoneData * getData()
static agxData::ScalarAttributeT< agx::Physics::HierarchicalGrid::ContactZonePtr > * internalZonesAttribute
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()