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
28 # pragma warning(push)
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;
180 #ifdef AGX_GENERATED_TOLUA_WRAPPER
190 class
AGXPHYSICS_EXPORT ContactZone_InternalInstance : public
agx::Physics::HierarchicalGrid::ContactZoneInstance
193 ContactZone_InternalInstance();
194 ContactZone_InternalInstance(ContactZone_InternalData* data,
agx::Index index);
199 ContactZone_InternalData* getData();
200 const ContactZone_InternalData* getData()
const;
217 inline ContactZone_InternalInstance
agx::Physics::HierarchicalGrid::ContactZone_InternalData::operator[] (
size_t index) {
return ContactZone_InternalInstance(
this, (
agx::Index)index); }
224 "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\'",
239 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
248 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
255 AGX_FORCE_INLINE ContactZone_InternalSemantics* ContactZone_InternalPtr::operator->() {
return (ContactZone_InternalSemantics* )
this; }
256 AGX_FORCE_INLINE const ContactZone_InternalSemantics* ContactZone_InternalPtr::operator->()
const {
return (
const ContactZone_InternalSemantics* )
this; }
261 AGX_FORCE_INLINE ContactZone_InternalInstance::ContactZone_InternalInstance() {}
262 AGX_FORCE_INLINE ContactZone_InternalInstance::ContactZone_InternalInstance(ContactZone_InternalData* data,
agx::Index index) :
agx::Physics::HierarchicalGrid::ContactZoneInstance(data, index) {}
267 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
274 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
283 AGX_FORCE_INLINE ContactZone_InternalSemantics::ContactZone_InternalSemantics() {}
291 AGX_TYPE_BINDING(
agx::Physics::HierarchicalGrid::ContactZone_InternalInstance, "Physics.HierarchicalGrid.ContactZone_InternalInstance")
294 # pragma warning(pop)
297 #undef AGX_ENTITY_WRAPPER
298 #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...
bool isInstanceOf(agxData::EntityModel *model) const
agxData::EntityData * getData()
agxData::EntityInstance instance()
EntityPtr & operator=(const EntityPtr &other)=default
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.
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())