21 #ifndef GENERATED_AGX_PHYSICS_FRAME_H_PLUGIN
22 #define GENERATED_AGX_PHYSICS_FRAME_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 )
85 virtual void shutdownCleanup()
override;
96 virtual void configure(agx::TiXmlElement* eEntity)
override;
97 virtual void initAttributeAccessors()
override;
104 #ifndef AGX_PHYSICS_FRAME_DATA_SET_OVERRIDE
105 #define AGX_PHYSICS_FRAME_DATA_SET
109 FrameInstance operator[] (
size_t index);
125 virtual ~FrameData() {}
126 virtual void setNumElements(
agx::Index numElements)
override;
129 FrameData& operator= (
const FrameData&) {
return *
this; }
153 friend class FramePtr;
154 friend class FrameInstance;
183 FrameData* getData();
184 const FrameData* getData()
const;
199 #ifdef AGX_GENERATED_TOLUA_WRAPPER
200 inline agx::AffineMatrix4x4 const& getGlobalTransform()
const {
return (*this)->getGlobalTransform(); }
201 inline agx::AffineMatrix4x4 const& getLocalTransform()
const {
return (*this)->getLocalTransform(); }
204 inline void setGlobalTransform(
agx::AffineMatrix4x4 const& value) { (*this)->setGlobalTransform(value); }
205 inline void setLocalTransform(
agx::AffineMatrix4x4 const& value) { (*this)->setLocalTransform(value); }
220 FrameInstance(FrameData* data,
agx::Index index);
225 FrameData* getData();
226 const FrameData* getData()
const;
253 inline FrameInstance
agx::Physics::FrameData::operator[] (
size_t index) {
return FrameInstance(
this, (
agx::Index)index); }
260 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
267 "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\'",
284 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
291 AGX_FORCE_INLINE FrameSemantics* FramePtr::operator->() {
return (FrameSemantics* )
this; }
292 AGX_FORCE_INLINE const FrameSemantics* FramePtr::operator->()
const {
return (
const FrameSemantics* )
this; }
309 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
316 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
341 # pragma warning(pop)
344 #undef AGX_ENTITY_WRAPPER
345 #undef AGX_ENTITY_NAMESPACE