21#ifndef GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_INTERNAL_H_PLUGIN
22#define GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_INTERNAL_H_PLUGIN
24#define AGX_ENTITY_WRAPPER 1
30# pragma warning( disable : 4505 )
32# pragma warning( disable : 4251 )
34# pragma warning( disable : 4355 )
36# pragma warning( disable: 4714 )
54 namespace HierarchicalGrid
57 class ContactZone_InternalModel;
58 class ContactZone_InternalData;
59 class ContactZone_InternalPtr;
60 class ContactZone_InternalInstance;
61 class ContactZone_InternalSemantics;
95 virtual void configure(agx::TiXmlElement* eEntity)
override;
103 #ifndef AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_INTERNAL_DATA_SET_OVERRIDE
104 #define AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_INTERNAL_DATA_SET
105 class AGXPHYSICS_EXPORT ContactZone_InternalData :
public agx::Physics::HierarchicalGrid::ContactZoneData
108 ContactZone_InternalInstance operator[] (
size_t index);
117 ContactZone_InternalData();
120 virtual ~ContactZone_InternalData() {}
121 virtual void setNumElements(
agx::Index numElements)
override;
124 ContactZone_InternalData& operator= (
const ContactZone_InternalData&) {
return *
this; }
132 class
AGXPHYSICS_EXPORT ContactZone_InternalSemantics : public
agx::Physics::HierarchicalGrid::ContactZoneSemantics
144 friend class ContactZone_InternalPtr;
145 friend class ContactZone_InternalInstance;
146 ContactZone_InternalSemantics();
175 const ContactZone_InternalData*
getData()
const;
182 class
AGXPHYSICS_EXPORT ContactZone_InternalInstance : public
agx::Physics::HierarchicalGrid::ContactZoneInstance
185 ContactZone_InternalInstance();
186 ContactZone_InternalInstance(ContactZone_InternalData* data,
agx::Index index);
191 ContactZone_InternalData* getData();
192 const ContactZone_InternalData* getData()
const;
209 inline ContactZone_InternalInstance
agx::Physics::HierarchicalGrid::ContactZone_InternalData::operator[] (
size_t index) {
return ContactZone_InternalInstance(
this, (
agx::Index)index); }
216 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
223 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
231 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
232 EntityPtr::getModel()->fullPath().c_str(), ContactZone_InternalModel::instance()->fullPath().c_str());
240 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
241 EntityPtr::getModel()->fullPath().c_str(), ContactZone_InternalModel::instance()->fullPath().c_str());
247 AGX_FORCE_INLINE ContactZone_InternalSemantics* ContactZone_InternalPtr::operator->() {
return (ContactZone_InternalSemantics* )
this; }
248 AGX_FORCE_INLINE const ContactZone_InternalSemantics* ContactZone_InternalPtr::operator->()
const {
return (
const ContactZone_InternalSemantics* )
this; }
253 AGX_FORCE_INLINE ContactZone_InternalInstance::ContactZone_InternalInstance() {}
254 AGX_FORCE_INLINE ContactZone_InternalInstance::ContactZone_InternalInstance(ContactZone_InternalData* data,
agx::Index index) :
agx::Physics::HierarchicalGrid::ContactZoneInstance(data, index) {}
259 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
266 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
275 AGX_FORCE_INLINE ContactZone_InternalSemantics::ContactZone_InternalSemantics() {}
283AGX_TYPE_BINDING(
agx::Physics::HierarchicalGrid::ContactZone_InternalInstance, "Physics.HierarchicalGrid.ContactZone_InternalInstance")
289#undef AGX_ENTITY_WRAPPER
290#undef AGX_ENTITY_NAMESPACE
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGX_TYPE_BINDING(_Type, _Name)
#define AGXPHYSICS_EXPORT
Type-specific Array used for fast access into the data held by a Buffer.
Entity instance provides access to a single instance in an EntityStorage.
bool isInstanceOf(agxData::EntityModel *model) const
agxData::EntityData * getData()
Accessor to a entity instance stored in a EntityStorage, to allow SOA (structure of arrays) data to b...
EntityPtr & operator=(const EntityPtr &other)=default
bool isInstanceOf(agxData::EntityModel *model) const
agxData::EntityData * getData()
agxData::EntityInstance instance()
Data storage for a collection of entity instances of a specified EntityModel.
agx::String fullPath() const
Vector containing 'raw' data.
#define agxAssertN(expr, format,...)
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Contains classes for low level data storage for AGX.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.