21 #ifndef GENERATED_AGX_PHYSICS_GEOMETRY_CONVEX_H_PLUGIN 22 #define GENERATED_AGX_PHYSICS_GEOMETRY_CONVEX_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 ) 61 class ConvexSemantics;
86 virtual void shutdownCleanup()
override;
95 virtual void configure(agx::TiXmlElement* eEntity)
override;
96 virtual void initAttributeAccessors()
override;
103 #ifndef AGX_PHYSICS_GEOMETRY_CONVEX_DATA_SET_OVERRIDE 104 #define AGX_PHYSICS_GEOMETRY_CONVEX_DATA_SET 108 ConvexInstance operator[] (
size_t index);
120 virtual ~ConvexData() {}
121 virtual void setNumElements(
agx::Index numElements)
override;
124 ConvexData& operator= (
const ConvexData&) {
return *
this; }
145 friend class ConvexInstance;
174 ConvexData* getData();
175 const ConvexData* getData()
const;
189 ConvexInstance(ConvexData* data,
agx::Index index);
194 ConvexData* getData();
195 const ConvexData* getData()
const;
212 inline ConvexInstance
agx::Physics::Geometry::ConvexData::operator[] (
size_t index) {
return ConvexInstance(
this, (
agx::Index)index); }
219 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
226 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
234 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
243 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
257 AGX_FORCE_INLINE ConvexInstance::ConvexInstance(ConvexData* data,
agx::Index index) : agx::Physics::Geometry::TrimeshInstance(data, index) {}
262 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
269 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
286 AGX_TYPE_BINDING(agx::Physics::Geometry::ConvexInstance,
"Physics.Geometry.ConvexInstance")
289 # pragma warning(pop) 292 #undef AGX_ENTITY_WRAPPER 293 #undef AGX_ENTITY_NAMESPACE agxData::EntityData * getData()
agxData::EntityInstance instance()
An entity reference is a safe/referencing handle to an entity instance whose model is descendant from...
Data storage for a collection of entity instances of a specified EntityModel.
#define agxAssertN(expr, format,...)
agxData::EntityData * getData()
agx::String fullPath() const
agxData::EntityRef< ConvexPtr > ConvexRef
#define AGX_TYPE_BINDING(_Type, _Name)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
Abstract description of the data attributes for the Physics.Geometry.Convex entity.
#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.
ConvexInstance InstanceType
Vector containing 'raw' data.
EntityPtr & operator=(const EntityPtr &other)=default
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
static ConvexModel * instance()
Contains classes for low level data storage for AGX.
AGXPHYSICS_EXPORT ConvexSemantics * operator->()
AGXPHYSICS_EXPORT ConvexPtr()
AGXPHYSICS_EXPORT ConvexPtr & operator=(const agxData::EntityPtr &ptr)
bool isInstanceOf(agxData::EntityModel *model) const
AGXPHYSICS_EXPORT ConvexInstance instance()
Pointer to a entity instance of type Physics.Geometry.Convex.
Pointer to a entity instance of type Physics.Geometry.Trimesh.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Abstract description of the data attributes for the Physics.Geometry.Trimesh entity.