21 #ifndef GENERATED_AGX_PHYSICS_GEOMETRYPAIR_H_PLUGIN 22 #define GENERATED_AGX_PHYSICS_GEOMETRYPAIR_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 ) 49 namespace agx {
namespace Physics {
class GeometryPtr; }}
50 namespace agx {
namespace Physics {
class GeometryPtr; }}
57 class GeometryPairModel;
58 class GeometryPairData;
59 class GeometryPairPtr;
60 class GeometryPairInstance;
61 class GeometryPairSemantics;
86 virtual void shutdownCleanup()
override;
97 virtual void configure(agx::TiXmlElement* eEntity)
override;
98 virtual void initAttributeAccessors()
override;
105 #ifndef AGX_PHYSICS_GEOMETRYPAIR_DATA_SET_OVERRIDE 106 #define AGX_PHYSICS_GEOMETRYPAIR_DATA_SET 110 GeometryPairInstance operator[] (
size_t index);
126 virtual ~GeometryPairData() {}
127 virtual void setNumElements(
agx::Index numElements)
override;
130 GeometryPairData& operator= (
const GeometryPairData&) {
return *
this; }
155 friend class GeometryPairInstance;
156 GeometryPairSemantics();
184 GeometryPairData* getData();
185 const GeometryPairData* getData()
const;
205 GeometryPairInstance();
206 GeometryPairInstance(GeometryPairData* data,
agx::Index index);
211 GeometryPairData* getData();
212 const GeometryPairData* getData()
const;
239 inline GeometryPairInstance
agx::Physics::GeometryPairData::operator[] (
size_t index) {
return GeometryPairInstance(
this, (
agx::Index)index); }
246 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
253 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
261 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
270 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
295 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
302 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
324 AGX_TYPE_BINDING(agx::Physics::GeometryPairInstance,
"Physics.GeometryPairInstance")
327 # pragma warning(pop) 330 #undef AGX_ENTITY_WRAPPER 331 #undef AGX_ENTITY_NAMESPACE agxData::EntityData * getData()
AGXPHYSICS_EXPORT GeometryPairPtr()
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...
GeometryPairModel ModelType
#define AGX_DECLARE_POINTER_TYPES(type)
bool isInstanceOf(agxData::EntityModel *model) const
AGXPHYSICS_EXPORT GeometryPairPtr & operator=(const agxData::EntityPtr &ptr)
Type-specific Array used for fast access into the data held by a Buffer.
static GeometryPairModel * instance()
Pointer to a entity instance of type Physics.GeometryPair.
Vector containing 'raw' data.
EntityPtr & operator=(const EntityPtr &other)=default
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Pointer to a entity instance of type Physics.Geometry.
Contains classes for low level data storage for AGX.
AGXPHYSICS_EXPORT agx::Physics::GeometryPtr & geometry1()
AGXPHYSICS_EXPORT GeometryPairSemantics * operator->()
static agxData::ScalarAttributeT< agx::Physics::GeometryPtr > * geometry2Attribute
An abstract description of a data entity stored using SOA (structure of arrays) pattern in a EntitySt...
Abstract description of the data attributes for the Physics.GeometryPair entity.
bool isInstanceOf(agxData::EntityModel *model) const
AGXPHYSICS_EXPORT agx::Physics::GeometryPtr & geometry2()
GeometryPairData DataType
GeometryPairInstance InstanceType
static agxData::ScalarAttributeT< agx::Physics::GeometryPtr > * geometry1Attribute
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
GeometryPairData * getData()
AGXPHYSICS_EXPORT GeometryPairInstance instance()