21 #ifndef GENERATED_AGX_PHYSICS_GEOMETRY_PLANE_H_PLUGIN 22 #define GENERATED_AGX_PHYSICS_GEOMETRY_PLANE_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 ) 87 virtual void shutdownCleanup()
override;
97 virtual void configure(agx::TiXmlElement* eEntity)
override;
98 virtual void initAttributeAccessors()
override;
105 #ifndef AGX_PHYSICS_GEOMETRY_PLANE_DATA_SET_OVERRIDE 106 #define AGX_PHYSICS_GEOMETRY_PLANE_DATA_SET 110 PlaneInstance operator[] (
size_t index);
124 virtual ~PlaneData() {}
125 virtual void setNumElements(
agx::Index numElements)
override;
128 PlaneData& operator= (
const PlaneData&) {
return *
this; }
151 friend class PlaneInstance;
180 PlaneData* getData();
181 const PlaneData* getData()
const;
200 PlaneInstance(PlaneData* data,
agx::Index index);
205 PlaneData* getData();
206 const PlaneData* getData()
const;
228 inline PlaneInstance
agx::Physics::Geometry::PlaneData::operator[] (
size_t index) {
return PlaneInstance(
this, (
agx::Index)index); }
235 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
242 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
250 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
259 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
276 AGX_FORCE_INLINE PlaneInstance::PlaneInstance(PlaneData* data,
agx::Index index) : agx::Physics::Geometry::ShapeInstance(data, index) {}
281 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
288 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
308 AGX_TYPE_BINDING(agx::Physics::Geometry::PlaneInstance,
"Physics.Geometry.PlaneInstance")
311 # pragma warning(pop) 314 #undef AGX_ENTITY_WRAPPER 315 #undef AGX_ENTITY_NAMESPACE AGXPHYSICS_EXPORT PlaneSemantics * operator->()
agxData::EntityData * getData()
agxData::EntityInstance instance()
Abstract description of the data attributes for the Physics.Geometry.Shape entity.
An entity reference is a safe/referencing handle to an entity instance whose model is descendant from...
Data storage for a collection of entity instances of a specified EntityModel.
agxData::EntityRef< PlanePtr > PlaneRef
#define agxAssertN(expr, format,...)
agxData::EntityData * getData()
agx::String fullPath() const
AGXPHYSICS_EXPORT PlaneInstance instance()
#define AGX_TYPE_BINDING(_Type, _Name)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
#define AGXPHYSICS_EXPORT
Pointer to a entity instance of type Physics.Geometry.Shape.
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
Class representing the mathematical concept of a plane, also called a half- space.
Type-specific Array used for fast access into the data held by a Buffer.
PlaneInstance InstanceType
Vector containing 'raw' data.
EntityPtr & operator=(const EntityPtr &other)=default
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
AGXPHYSICS_EXPORT agx::Plane & plane()
Contains classes for low level data storage for AGX.
Pointer to a entity instance of type Physics.Geometry.Plane.
Abstract description of the data attributes for the Physics.Geometry.Plane entity.
bool isInstanceOf(agxData::EntityModel *model) const
static agxData::ScalarAttributeT< agx::Plane > * planeAttribute
AGXPHYSICS_EXPORT PlanePtr & operator=(const agxData::EntityPtr &ptr)
static PlaneModel * instance()
#define DOXYGEN_END_INTERNAL_BLOCK()
AGXPHYSICS_EXPORT PlanePtr()
#define DOXYGEN_START_INTERNAL_BLOCK()