21 #ifndef GENERATED_AGX_PHYSICS_GEOMETRY_RENDERBOX_H_PLUGIN
22 #define GENERATED_AGX_PHYSICS_GEOMETRY_RENDERBOX_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 )
60 class RenderBoxInstance;
61 class RenderBoxSemantics;
86 virtual void shutdownCleanup()
override;
98 virtual void configure(agx::TiXmlElement* eEntity)
override;
99 virtual void initAttributeAccessors()
override;
106 #ifndef AGX_PHYSICS_GEOMETRY_RENDERBOX_DATA_SET_OVERRIDE
107 #define AGX_PHYSICS_GEOMETRY_RENDERBOX_DATA_SET
111 RenderBoxInstance operator[] (
size_t index);
129 virtual ~RenderBoxData() {}
130 virtual void setNumElements(
agx::Index numElements)
override;
133 RenderBoxData& operator= (
const RenderBoxData&) {
return *
this; }
159 friend class RenderBoxPtr;
160 friend class RenderBoxInstance;
161 RenderBoxSemantics();
189 RenderBoxData* getData();
190 const RenderBoxData* getData()
const;
216 RenderBoxInstance(RenderBoxData* data,
agx::Index index);
221 RenderBoxData* getData();
222 const RenderBoxData* getData()
const;
254 inline RenderBoxInstance
agx::Physics::Geometry::RenderBoxData::operator[] (
size_t index) {
return RenderBoxInstance(
this, (
agx::Index)index); }
261 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
268 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
276 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
285 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
292 AGX_FORCE_INLINE RenderBoxSemantics* RenderBoxPtr::operator->() {
return (RenderBoxSemantics* )
this; }
293 AGX_FORCE_INLINE const RenderBoxSemantics* RenderBoxPtr::operator->()
const {
return (
const RenderBoxSemantics* )
this; }
313 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
320 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
346 AGX_TYPE_BINDING(
agx::Physics::Geometry::RenderBoxInstance, "Physics.Geometry.RenderBoxInstance")
349 # pragma warning(pop)
352 #undef AGX_ENTITY_WRAPPER
353 #undef AGX_ENTITY_NAMESPACE