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
static agxData::ScalarAttributeT< agx::AffineMatrix4x4 > * localTransformAttribute
agxData::EntityData * getData()
agxData::EntityInstance instance()
Data storage for a collection of entity instances of a specified EntityModel.
#define agxAssertN(expr, format,...)
agxData::EntityData * getData()
#define AGX_TYPE_BINDING(_Type, _Name)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
bool isInstanceOf(agxData::EntityModel *model) const
#define AGXPHYSICS_EXPORT
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)
agx::String fullPath() const
agxData::EntityRef< FramePtr > FrameRef
Type-specific Array used for fast access into the data held by a Buffer.
Vector containing 'raw' data.
EntityPtr & operator=(const EntityPtr &other)=default
Abstract description of the data attributes for the Physics.Frame entity.
Pointer to a entity instance of type Physics.Frame.
Abstract description of the data attributes for the Referenced entity.
static FrameModel * instance()
bool isInstanceOf(agxData::EntityModel *model) const
AGXPHYSICS_EXPORT FramePtr()
Pointer to a entity instance of type Referenced.
FrameInstance InstanceType
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
static agxData::ScalarAttributeT< agx::AffineMatrix4x4 > * globalTransformAttribute