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;
210 #ifdef AGX_GENERATED_TOLUA_WRAPPER
230 RenderBoxInstance(RenderBoxData* data,
agx::Index index);
235 RenderBoxData* getData();
236 const RenderBoxData* getData()
const;
268 inline RenderBoxInstance
agx::Physics::Geometry::RenderBoxData::operator[] (
size_t index) {
return RenderBoxInstance(
this, (
agx::Index)index); }
275 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
282 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
290 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
299 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
306 AGX_FORCE_INLINE RenderBoxSemantics* RenderBoxPtr::operator->() {
return (RenderBoxSemantics* )
this; }
307 AGX_FORCE_INLINE const RenderBoxSemantics* RenderBoxPtr::operator->()
const {
return (
const RenderBoxSemantics* )
this; }
327 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
334 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
360 AGX_TYPE_BINDING(
agx::Physics::Geometry::RenderBoxInstance, "Physics.Geometry.RenderBoxInstance")
363 # pragma warning(pop)
366 #undef AGX_ENTITY_WRAPPER
367 #undef AGX_ENTITY_NAMESPACE