21 #ifndef GENERATED_AGX_PHYSICS_GEOMETRY_SHAPEGROUP_H_PLUGIN 22 #define GENERATED_AGX_PHYSICS_GEOMETRY_SHAPEGROUP_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 ) 52 namespace agx {
namespace Physics {
namespace Geometry {
class ShapePtr; }}}
61 class ShapeGroupModel;
64 class ShapeGroupInstance;
65 class ShapeGroupSemantics;
90 virtual void shutdownCleanup()
override;
102 virtual void configure(agx::TiXmlElement* eEntity)
override;
103 virtual void initAttributeAccessors()
override;
110 #ifndef AGX_PHYSICS_GEOMETRY_SHAPEGROUP_DATA_SET_OVERRIDE 111 #define AGX_PHYSICS_GEOMETRY_SHAPEGROUP_DATA_SET 112 class AGXPHYSICS_EXPORT ShapeGroupData :
public agx::Physics::Geometry::ShapeData
115 ShapeGroupInstance operator[] (
size_t index);
133 virtual ~ShapeGroupData() {}
134 virtual void setNumElements(
agx::Index numElements)
override;
137 ShapeGroupData& operator= (
const ShapeGroupData&) {
return *
this; }
164 friend class ShapeGroupInstance;
165 ShapeGroupSemantics();
193 ShapeGroupData* getData();
194 const ShapeGroupData* getData()
const;
222 ShapeGroupInstance();
223 ShapeGroupInstance(ShapeGroupData* data,
agx::Index index);
228 ShapeGroupData* getData();
229 const ShapeGroupData* getData()
const;
261 inline ShapeGroupInstance
agx::Physics::Geometry::ShapeGroupData::operator[] (
size_t index) {
return ShapeGroupInstance(
this, (
agx::Index)index); }
268 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
275 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
283 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
292 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
315 AGX_FORCE_INLINE ShapeGroupInstance::ShapeGroupInstance(ShapeGroupData* data,
agx::Index index) : agx::Physics::Geometry::ShapeInstance(data, index) {}
320 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
327 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
353 AGX_TYPE_BINDING(agx::Physics::Geometry::ShapeGroupInstance,
"Physics.Geometry.ShapeGroupInstance")
356 # pragma warning(pop) 359 #undef AGX_ENTITY_WRAPPER 360 #undef AGX_ENTITY_NAMESPACE static ShapeGroupModel * instance()
agxData::EntityData * getData()
AGXPHYSICS_EXPORT agx::UInt & tag()
agxData::EntityInstance instance()
Abstract description of the data attributes for the Physics.Geometry.Shape entity.
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
#define AGX_TYPE_BINDING(_Type, _Name)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
ShapeGroupInstance InstanceType
AGXPHYSICS_EXPORT agx::Vector< agx::Physics::Geometry::ShapePtr > & childShapes()
agxData::EntityRef< ShapeGroupPtr > ShapeGroupRef
Abstract description of the data attributes for the Physics.Geometry.ShapeGroup entity.
#define AGXPHYSICS_EXPORT
Pointer to a entity instance of type Physics.Geometry.Shape.
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.
AGXPHYSICS_EXPORT ShapeGroupPtr()
Vector containing 'raw' data.
EntityPtr & operator=(const EntityPtr &other)=default
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Contains classes for low level data storage for AGX.
AGXPHYSICS_EXPORT ShapeGroupPtr & operator=(const agxData::EntityPtr &ptr)
AGXPHYSICS_EXPORT agx::Vector< agx::AffineMatrix4x4 > & childTransforms()
ShapeGroupData * getData()
static agxData::ScalarAttributeT< agx::UInt > * tagAttribute
ShapeGroupModel ModelType
bool isInstanceOf(agxData::EntityModel *model) const
static agxData::ScalarAttributeT< agx::Vector< agx::AffineMatrix4x4 > > * childTransformsAttribute
static agxData::ScalarAttributeT< agx::Vector< agx::Physics::Geometry::ShapePtr > > * childShapesAttribute
AGXPHYSICS_EXPORT ShapeGroupInstance instance()
AGXPHYSICS_EXPORT ShapeGroupSemantics * operator->()
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Pointer to a entity instance of type Physics.Geometry.ShapeGroup.