17 #ifndef AGXDATA_ENTITYDATA_H 18 #define AGXDATA_ENTITYDATA_H 30 class EntityDataParameter;
82 size_t idToIndex(
size_t id)
const;
87 size_t indexToId(
size_t index)
const;
113 void commitInstanceBatch();
123 virtual ~EntityData();
126 void setGlobalOrderBuffer(
Buffer *buffer);
130 void realloactionCallback(
Buffer *buffer);
132 void unregisterArray(
const Attribute *attribute);
134 virtual void setNumElements(
agx::UInt32 numElements);
146 bool m_hasBatchInstances;
165 return m_globalResult->allocateResult(numElements);
170 agxAssertN(m_globalOrder.buffer(),
"%s: Data set does not have a global ordering buffer",
getPath().
c_str());
171 return m_globalOrder[index];
#define agxVerifyN(expr, format,...)
Data storage for a collection of entity instances of a specified EntityModel.
A model is an abstract representation of the class of an agx::Object.
Abstract representation of a value.
#define agxAssertN(expr, format,...)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
Transactions are used to reserve exclusive memory areas in which the threads can write their data...
#define AGX_DECLARE_POINTER_TYPES(type)
Arrays are fast accessors into the data, or a portion of it, held by a Buffer.
Type-specific Array used for fast access into the data held by a Buffer.
const char * c_str() const
GlobalResult is used by kernels to generate result data from different threads.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Templated callback with one argument.
An abstract attribute description, part of an Entity.
Abstract representation of a data buffer.
Contains classes for low level data storage for AGX.
An abstract description of a data entity stored using SOA (structure of arrays) pattern in a EntitySt...
AGXTERRAIN_EXPORT TimingStorage & getStorage()
agxData::EntityData * EntityDataPtr
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
agx::Path getPath() const