21#ifndef GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_FACE_H_PLUGIN
22#define GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_FACE_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_FaceModel;
58 class ContactZone_FaceData;
59 class ContactZone_FacePtr;
60 class ContactZone_FaceInstance;
61 class ContactZone_FaceSemantics;
95 virtual void configure(agx::TiXmlElement* eEntity)
override;
103 #ifndef AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_FACE_DATA_SET_OVERRIDE
104 #define AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_FACE_DATA_SET
105 class AGXPHYSICS_EXPORT ContactZone_FaceData :
public agx::Physics::HierarchicalGrid::ContactZoneData
108 ContactZone_FaceInstance operator[] (
size_t index);
117 ContactZone_FaceData();
120 virtual ~ContactZone_FaceData() {}
121 virtual void setNumElements(
agx::Index numElements)
override;
124 ContactZone_FaceData& operator= (
const ContactZone_FaceData&) {
return *
this; }
132 class
AGXPHYSICS_EXPORT ContactZone_FaceSemantics : public
agx::Physics::HierarchicalGrid::ContactZoneSemantics
144 friend class ContactZone_FacePtr;
145 friend class ContactZone_FaceInstance;
146 ContactZone_FaceSemantics();
182 class
AGXPHYSICS_EXPORT ContactZone_FaceInstance : public
agx::Physics::HierarchicalGrid::ContactZoneInstance
185 ContactZone_FaceInstance();
186 ContactZone_FaceInstance(ContactZone_FaceData* data,
agx::Index index);
191 ContactZone_FaceData* getData();
192 const ContactZone_FaceData* getData()
const;
209 inline ContactZone_FaceInstance
agx::Physics::HierarchicalGrid::ContactZone_FaceData::operator[] (
size_t index) {
return ContactZone_FaceInstance(
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_FaceModel::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_FaceModel::instance()->fullPath().c_str());
247 AGX_FORCE_INLINE ContactZone_FaceSemantics* ContactZone_FacePtr::operator->() {
return (ContactZone_FaceSemantics* )
this; }
248 AGX_FORCE_INLINE const ContactZone_FaceSemantics* ContactZone_FacePtr::operator->()
const {
return (
const ContactZone_FaceSemantics* )
this; }
254 AGX_FORCE_INLINE ContactZone_FaceInstance::ContactZone_FaceInstance(ContactZone_FaceData* 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\'",
283AGX_TYPE_BINDING(
agx::Physics::HierarchicalGrid::ContactZone_FaceInstance, "Physics.HierarchicalGrid.ContactZone_FaceInstance")
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.