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 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 {
namespace Physics {
namespace HierarchicalGrid {
class ContactZonePtr; }}}
51 namespace 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;
89 virtual void shutdownCleanup()
override;
95 static const size_t internalConnectionsArraySize = 2;
97 static const size_t cornerConnectionsArraySize = 2;
102 virtual void configure(agx::TiXmlElement* eEntity)
override;
103 virtual void initAttributeAccessors()
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
158 friend class ContactZone_EdgeInstance;
159 ContactZone_EdgeSemantics();
187 ContactZone_EdgeData* getData();
188 const ContactZone_EdgeData* getData()
const;
203 #ifdef AGX_GENERATED_TOLUA_WRAPPER 213 class
AGXPHYSICS_EXPORT ContactZone_EdgeInstance : public
agx::Physics::HierarchicalGrid::ContactZoneInstance
216 ContactZone_EdgeInstance();
217 ContactZone_EdgeInstance(ContactZone_EdgeData* data,
agx::Index index);
222 ContactZone_EdgeData* getData();
223 const ContactZone_EdgeData* getData()
const;
250 inline ContactZone_EdgeInstance
agx::Physics::HierarchicalGrid::ContactZone_EdgeData::operator[] (
size_t index) {
return ContactZone_EdgeInstance(
this, (
agx::Index)index); }
257 "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\'",
272 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
281 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
305 AGX_FORCE_INLINE ContactZone_EdgeInstance::ContactZone_EdgeInstance(ContactZone_EdgeData* data,
agx::Index index) : agx::Physics::HierarchicalGrid::ContactZoneInstance(data, index) {}
310 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
317 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
344 AGX_TYPE_BINDING(agx::Physics::HierarchicalGrid::ContactZone_EdgeInstance,
"Physics.HierarchicalGrid.ContactZone_EdgeInstance")
347 # pragma warning(pop) 350 #undef AGX_ENTITY_WRAPPER 351 #undef AGX_ENTITY_NAMESPACE
agxData::EntityData * getData()
agxData::EntityInstance instance()
Data storage for a collection of entity instances of a specified EntityModel.
#define agxAssertN(expr, format,...)
agxData::EntityData * getData()
agx::String fullPath() const
#define AGX_TYPE_BINDING(_Type, _Name)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
#define AGXPHYSICS_EXPORT
Entity instance provides access to a single instance in an EntityStorage.
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
Type-specific Array used for fast access into the data held by a Buffer.
Vector containing 'raw' data.
EntityPtr & operator=(const EntityPtr &other)=default
Namespace agx contains the dynamics/math part of the AGX Dynamics API.
Contains classes for low level data storage for AGX.
bool isInstanceOf(agxData::EntityModel *model) const
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()