21#ifndef GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_EDGE_H_PLUGIN
22#define GENERATED_AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_EDGE_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 )
50namespace agx {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
51namespace agx {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
57 namespace HierarchicalGrid
60 class ContactZone_EdgeModel;
61 class ContactZone_EdgeData;
62 class ContactZone_EdgePtr;
63 class ContactZone_EdgeInstance;
64 class ContactZone_EdgeSemantics;
95 static const size_t internalConnectionsArraySize = 2;
97 static const size_t cornerConnectionsArraySize = 2;
102 virtual void configure(agx::TiXmlElement* eEntity)
override;
110 #ifndef AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_EDGE_DATA_SET_OVERRIDE
111 #define AGX_PHYSICS_HIERARCHICALGRID_CONTACTZONE_EDGE_DATA_SET
112 class AGXPHYSICS_EXPORT ContactZone_EdgeData :
public agx::Physics::HierarchicalGrid::ContactZoneData
115 ContactZone_EdgeInstance operator[] (
size_t index);
120 static const size_t internalConnectionsArraySize = 2;
122 static const size_t cornerConnectionsArraySize = 2;
130 ContactZone_EdgeData();
133 virtual ~ContactZone_EdgeData() {}
134 virtual void setNumElements(
agx::Index numElements)
override;
137 ContactZone_EdgeData& operator= (
const ContactZone_EdgeData&) {
return *
this; }
145 class
AGXPHYSICS_EXPORT ContactZone_EdgeSemantics : public
agx::Physics::HierarchicalGrid::ContactZoneSemantics
157 friend class ContactZone_EdgePtr;
158 friend class ContactZone_EdgeInstance;
159 ContactZone_EdgeSemantics();
205 class
AGXPHYSICS_EXPORT ContactZone_EdgeInstance : public
agx::Physics::HierarchicalGrid::ContactZoneInstance
208 ContactZone_EdgeInstance();
209 ContactZone_EdgeInstance(ContactZone_EdgeData* data,
agx::Index index);
214 ContactZone_EdgeData* getData();
215 const ContactZone_EdgeData* getData()
const;
242 inline ContactZone_EdgeInstance
agx::Physics::HierarchicalGrid::ContactZone_EdgeData::operator[] (
size_t index) {
return ContactZone_EdgeInstance(
this, (
agx::Index)index); }
249 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
256 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
264 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
265 EntityPtr::getModel()->fullPath().c_str(), ContactZone_EdgeModel::instance()->fullPath().c_str());
273 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
274 EntityPtr::getModel()->fullPath().c_str(), ContactZone_EdgeModel::instance()->fullPath().c_str());
280 AGX_FORCE_INLINE ContactZone_EdgeSemantics* ContactZone_EdgePtr::operator->() {
return (ContactZone_EdgeSemantics* )
this; }
281 AGX_FORCE_INLINE const ContactZone_EdgeSemantics* ContactZone_EdgePtr::operator->()
const {
return (
const ContactZone_EdgeSemantics* )
this; }
297 AGX_FORCE_INLINE ContactZone_EdgeInstance::ContactZone_EdgeInstance(ContactZone_EdgeData* data,
agx::Index index) :
agx::Physics::HierarchicalGrid::ContactZoneInstance(data, index) {}
302 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
309 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
336AGX_TYPE_BINDING(
agx::Physics::HierarchicalGrid::ContactZone_EdgeInstance, "Physics.HierarchicalGrid.ContactZone_EdgeInstance")
342#undef AGX_ENTITY_WRAPPER
343#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.