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; }
154 friend class FrameInstance;
183 FrameData* getData();
184 const FrameData* getData()
const;
208 FrameInstance(FrameData* data,
agx::Index index);
213 FrameData* getData();
214 const FrameData* getData()
const;
241 inline FrameInstance
agx::Physics::FrameData::operator[] (
size_t index) {
return FrameInstance(
this, (
agx::Index)index); }
248 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
255 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
263 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
272 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
297 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
304 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
329 # pragma warning(pop) 332 #undef AGX_ENTITY_WRAPPER 333 #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()
agx::String fullPath() const
#define AGX_TYPE_BINDING(_Type, _Name)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
#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)
bool isInstanceOf(agxData::EntityModel *model) const
AGXPHYSICS_EXPORT FrameInstance instance()
agxData::EntityRef< FramePtr > FrameRef
AGXPHYSICS_EXPORT agx::AffineMatrix4x4 & localTransform()
Type-specific Array used for fast access into the data held by a Buffer.
AGXPHYSICS_EXPORT FrameSemantics * operator->()
Vector containing 'raw' data.
EntityPtr & operator=(const EntityPtr &other)=default
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Abstract description of the data attributes for the Physics.Frame entity.
Matrix class for rigid transformations (translation, rotation).
Contains classes for low level data storage for AGX.
Pointer to a entity instance of type Physics.Frame.
AGXPHYSICS_EXPORT FramePtr & operator=(const agxData::EntityPtr &ptr)
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.
AGXPHYSICS_EXPORT agx::AffineMatrix4x4 & globalTransform()
FrameInstance InstanceType
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
static agxData::ScalarAttributeT< agx::AffineMatrix4x4 > * globalTransformAttribute