17 #ifndef AGXDATA_ENTITYINSTANCE_H 18 #define AGXDATA_ENTITYINSTANCE_H 76 agxData::EntityData* getData();
77 const agxData::EntityData* getData()
const;
101 bool isValid()
const;
106 void verifyIndex()
const;
113 bool operator!()
const;
114 operator bool()
const;
122 static void TransformToAscii(
void *targetBuffer,
const void *sourceBuffer,
size_t numElements);
126 EntityDataPtr m_data;
agxData::EntityStorage * getStorage()
Alias for getData()->getStorage()
AGXCORE_EXPORT UInt32 hash(const T &key)
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
void init(agxData::EntityData *data, agx::Index index)
Initialize an instance.
Data storage for a collection of entity instances of a specified EntityModel.
agx::Index getIndex() const
agxData::EntityData * getData()
bool operator==(T val, InvalidIndexStruct)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
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...
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
bool operator<(const EntityInstance &rhs) const
Contains classes for low level data storage for AGX.
EntityInstance()
Constructors.
An abstract description of a data entity stored using SOA (structure of arrays) pattern in a EntitySt...
AGXTERRAIN_EXPORT TimingStorage & getStorage()
std::ostream & operator<<(std::ostream &output, const Attribute &attribute)
bool operator!() const
Boolean operators, implemented using isValid.
bool operator>(const EntityInstance &rhs) const
bool operator!=(T val, InvalidIndexStruct)
agxData::EntityData * EntityDataPtr
bool operator!=(const EntityInstance &rhs) const
bool operator==(const EntityInstance &rhs) const