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; }
163 friend class ShapeGroupPtr;
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\'",
299 AGX_FORCE_INLINE ShapeGroupSemantics* ShapeGroupPtr::operator->() {
return (ShapeGroupSemantics* )
this; }
300 AGX_FORCE_INLINE const ShapeGroupSemantics* ShapeGroupPtr::operator->()
const {
return (
const ShapeGroupSemantics* )
this; }
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