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;
97 virtual void configure(agx::TiXmlElement* eEntity)
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; }
154 friend class GeometryPairPtr;
155 friend class GeometryPairInstance;
156 GeometryPairSemantics();
200 #ifdef AGX_GENERATED_TOLUA_WRAPPER
217 GeometryPairInstance();
218 GeometryPairInstance(GeometryPairData* data,
agx::Index index);
223 GeometryPairData* getData();
224 const GeometryPairData* getData()
const;
251 inline GeometryPairInstance
agx::Physics::GeometryPairData::operator[] (
size_t index) {
return GeometryPairInstance(
this, (
agx::Index)index); }
258 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
265 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
273 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
282 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
289 AGX_FORCE_INLINE GeometryPairSemantics* GeometryPairPtr::operator->() {
return (GeometryPairSemantics* )
this; }
290 AGX_FORCE_INLINE const GeometryPairSemantics* GeometryPairPtr::operator->()
const {
return (
const GeometryPairSemantics* )
this; }
307 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
314 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
339 # pragma warning(pop)
342 #undef AGX_ENTITY_WRAPPER
343 #undef AGX_ENTITY_NAMESPACE
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGX_TYPE_BINDING(_Type, _Name)
#define AGXPHYSICS_EXPORT
Type-specific Array used for fast access into the data held by a Buffer.
Entity instance provides access to a single instance in an EntityStorage.
bool isInstanceOf(agxData::EntityModel *model) const
agxData::EntityData * getData()
An abstract description of a data entity stored using SOA (structure of arrays) pattern in a EntitySt...
Accessor to a entity instance stored in a EntityStorage, to allow SOA (structure of arrays) data to b...
bool isInstanceOf(agxData::EntityModel *model) const
agxData::EntityData * getData()
agxData::EntityInstance instance()
EntityPtr & operator=(const EntityPtr &other)=default
Data storage for a collection of entity instances of a specified EntityModel.
agx::String fullPath() const
Abstract description of the data attributes for the Physics.GeometryPair entity.
virtual void initAttributeAccessors() override
void construct(agx::Physics::GeometryPairPtr geometryPair)
virtual ~GeometryPairModel()
virtual void configure(agx::TiXmlElement *eEntity) override
virtual void construct(agxData::EntityPtr instance) override
static agxData::EntityStorage * defaultStorage()
virtual void shutdownCleanup() override
This is part of internal cleanup and should not be called by users.
static GeometryPairModel * instance()
static agxData::ScalarAttributeT< agx::Physics::GeometryPtr > * geometry2Attribute
static GeometryPairPtr createInstance()
Create and return a pointer to a new instance in the default storage for this entity model.
static agxData::ScalarAttributeT< agx::Physics::GeometryPtr > * geometry1Attribute
GeometryPairModel(const agx::String &name="GeometryPair")
virtual agxData::EntityData * createData(agxData::EntityStorage *storage) override
Pointer to a entity instance of type Physics.GeometryPair.
AGXPHYSICS_EXPORT const GeometryPairSemantics * operator->() const
GeometryPairData DataType
AGXPHYSICS_EXPORT GeometryPairSemantics * operator->()
AGXPHYSICS_EXPORT agx::Physics::GeometryPtr & geometry1()
GeometryPairInstance InstanceType
AGXPHYSICS_EXPORT GeometryPairInstance instance()
AGXPHYSICS_EXPORT GeometryPairPtr(const agxData::EntityInstance &instance)
GeometryPairModel ModelType
AGXPHYSICS_EXPORT GeometryPairPtr(const agxData::EntityPtr &ptr)
AGXPHYSICS_EXPORT const GeometryPairInstance instance() const
AGXPHYSICS_EXPORT GeometryPairPtr(agxData::EntityStorage *storage, agx::Index id)
const GeometryPairData * getData() const
GeometryPairData * getData()
AGXPHYSICS_EXPORT agx::Physics::GeometryPtr const & geometry2() const
AGXPHYSICS_EXPORT agx::Physics::GeometryPtr const & geometry1() const
AGXPHYSICS_EXPORT GeometryPairPtr()
AGXPHYSICS_EXPORT agx::Physics::GeometryPtr & geometry2()
Pointer to a entity instance of type Physics.Geometry.
Vector containing 'raw' data.
#define agxAssertN(expr, format,...)
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Contains classes for low level data storage for AGX.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())