|
AGXDynamics
2.31.1.0
|
Pointer to a entity instance of type Physics.Geometry. More...
#include <GeometryEntity.h>
Inheritance diagram for agx::Physics::GeometryPtr:Public Types | |
| typedef GeometryData | DataType |
| typedef GeometryInstance | InstanceType |
| typedef GeometryModel | ModelType |
Static Public Member Functions | |
| static EntityPtr | createWithIndex (EntityStorage *storage, agx::Index index) |
| static void | TransformToAscii (void *targetBuffer, const void *sourceBuffer, size_t numElements) |
Pointer to a entity instance of type Physics.Geometry.
Definition at line 269 of file GeometryEntity.h.
| typedef GeometryData agx::Physics::GeometryPtr::DataType |
Definition at line 273 of file GeometryEntity.h.
| typedef GeometryInstance agx::Physics::GeometryPtr::InstanceType |
Definition at line 274 of file GeometryEntity.h.
Definition at line 272 of file GeometryEntity.h.
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr::GeometryPtr | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr::GeometryPtr | ( | agxData::EntityStorage * | storage, |
| agx::Index | id | ||
| ) |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr::GeometryPtr | ( | const agxData::EntityPtr & | ptr | ) |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr::GeometryPtr | ( | const agxData::EntityInstance & | instance | ) |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr& agx::Physics::GeometryPtr::body | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr const& agx::Physics::GeometryPtr::body | ( | ) | const |
| AGXPHYSICS_EXPORT agxCollide::BoundingAABB& agx::Physics::GeometryPtr::boundingAABB | ( | ) |
| AGXPHYSICS_EXPORT agxCollide::BoundingAABB const& agx::Physics::GeometryPtr::boundingAABB | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Real& agx::Physics::GeometryPtr::boundingRadius | ( | ) |
| AGXPHYSICS_EXPORT agx::Real const& agx::Physics::GeometryPtr::boundingRadius | ( | ) | const |
|
inherited |
Calculate the index using the indirect id.
Definition at line 614 of file EntityStorage.h.
References AGX_FORCE_INLINE, agxAssert, agxAssert1, agxAssertN, and agxData::Attribute::fullName().
Referenced by agxData::EntityStorage::dereferenceMultipliedAttribute(), agxData::EntityInstance::EntityInstance(), agxData::EntityPtr::instance(), and agxData::EntityPtr::swapIndex().
| AGXPHYSICS_EXPORT agx::UInt32& agx::Physics::GeometryPtr::cellIndex | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt32 const& agx::Physics::GeometryPtr::cellIndex | ( | ) | const |
| AGXPHYSICS_EXPORT agx::UInt16& agx::Physics::GeometryPtr::cellSlot | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt16 const& agx::Physics::GeometryPtr::cellSlot | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Physics::CollisionGroupSetPtr& agx::Physics::GeometryPtr::collisionGroupSet | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::CollisionGroupSetPtr const& agx::Physics::GeometryPtr::collisionGroupSet | ( | ) | const |
|
inherited |
Create a copy instance in the same storage.
|
inherited |
Copy instance to another storage.
|
inherited |
Copy instance attributes to an existing target instance.
|
inlinestaticinherited |
Definition at line 791 of file EntityStorage.h.
References agxAssert, and agxData::EntityStorage::indexToId().
Referenced by agx::createCell().
|
inherited |
Definition at line 604 of file EntityStorage.h.
References agxAssert.
|
inherited |
Definition at line 611 of file EntityStorage.h.
|
inherited |
Remove the entity from the active storage.
| GeometryData* agx::Physics::GeometryPtr::getData | ( | ) |
| const GeometryData* agx::Physics::GeometryPtr::getData | ( | ) | const |
|
inherited |
Definition at line 273 of file EntityPtr.h.
Referenced by agxCollide::CollisionGroupManager::canSetsCollide(), agxData::EntityStorage::dereferenceMultipliedAttribute(), agxData::EntityStorage::destroyInstance(), agxData::EntityPtr::operator!=(), agxData::EntityPtr::operator<(), agxData::EntityPtr::operator==(), and agxData::EntityPtr::operator>().
|
inherited |
Definition at line 758 of file EntityStorage.h.
|
inherited |
Definition at line 763 of file EntityStorage.h.
|
inherited |
Definition at line 272 of file EntityPtr.h.
Referenced by agxCollide::CollisionGroupManager::canSetsCollide(), agxData::EntityStorage::dereferenceMultipliedAttribute(), agxData::EntityPtr::operator!=(), and agxData::EntityPtr::operator==().
|
inherited |
Definition at line 281 of file EntityPtr.h.
References agx::hash().
|
inherited |
Set the target storage and id.
Definition at line 589 of file EntityStorage.h.
Referenced by agxData::EntityPtr::EntityPtr().
| AGXPHYSICS_EXPORT GeometryInstance agx::Physics::GeometryPtr::instance | ( | ) |
| AGXPHYSICS_EXPORT const GeometryInstance agx::Physics::GeometryPtr::instance | ( | ) | const |
|
inherited |
Invalidate the entity pointer.
Definition at line 275 of file EntityPtr.h.
References agx::InvalidIndex.
|
inherited |
Definition at line 785 of file EntityStorage.h.
|
inherited |
Definition at line 287 of file EntityPtr.h.
Referenced by agxData::EntityPtr::operator bool(), and agxData::EntityPtr::operator!().
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::GeometryPtr::localBoundCenter | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::GeometryPtr::localBoundCenter | ( | ) | const |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4& agx::Physics::GeometryPtr::localTransform | ( | ) |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4 const& agx::Physics::GeometryPtr::localTransform | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Physics::MaterialPtr& agx::Physics::GeometryPtr::material | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::MaterialPtr const& agx::Physics::GeometryPtr::material | ( | ) | const |
| AGXPHYSICS_EXPORT agxCollide::Geometry*& agx::Physics::GeometryPtr::model | ( | ) |
Referenced by agxCollide::Space::disableForContacts(), and agxCollide::GeometryContact::geometry().
| AGXPHYSICS_EXPORT agxCollide::Geometry* const& agx::Physics::GeometryPtr::model | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Name& agx::Physics::GeometryPtr::name | ( | ) |
| AGXPHYSICS_EXPORT agx::Name const& agx::Physics::GeometryPtr::name | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr& agx::Physics::GeometryPtr::next | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr const& agx::Physics::GeometryPtr::next | ( | ) | const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| AGXPHYSICS_EXPORT agx::UInt32& agx::Physics::GeometryPtr::oldCell | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt32 const& agx::Physics::GeometryPtr::oldCell | ( | ) | const |
|
inherited |
Definition at line 289 of file EntityPtr.h.
References agxData::EntityPtr::isValid().
|
inherited |
Definition at line 288 of file EntityPtr.h.
References agxData::EntityPtr::isValid().
|
inherited |
Definition at line 306 of file EntityPtr.h.
References agxData::EntityPtr::getId(), and agxData::EntityPtr::getStorage().
|
inherited |
Access the value of a specific attribute.
Definition at line 642 of file EntityStorage.h.
|
inherited |
Definition at line 648 of file EntityStorage.h.
|
inherited |
Pointer attribute.
Definition at line 654 of file EntityStorage.h.
|
inherited |
Definition at line 660 of file EntityStorage.h.
|
inherited |
Vector attribute.
|
inherited |
|
inherited |
HashSet attribute.
|
inherited |
|
inherited |
Array attribute.
|
inherited |
|
inherited |
Shared attribute.
Definition at line 744 of file EntityStorage.h.
References agxAssert, agxData::Value::get(), and agx::Object::getName().
|
inherited |
Definition at line 752 of file EntityStorage.h.
|
inherited |
Definition at line 667 of file EntityStorage.h.
|
inherited |
Definition at line 673 of file EntityStorage.h.
|
inherited |
Definition at line 681 of file EntityStorage.h.
|
inherited |
Definition at line 687 of file EntityStorage.h.
|
inherited |
Definition at line 693 of file EntityStorage.h.
|
inherited |
Definition at line 699 of file EntityStorage.h.
| AGXPHYSICS_EXPORT GeometrySemantics* agx::Physics::GeometryPtr::operator-> | ( | ) |
| AGXPHYSICS_EXPORT const GeometrySemantics* agx::Physics::GeometryPtr::operator-> | ( | ) | const |
|
inherited |
Definition at line 291 of file EntityPtr.h.
References agxData::EntityPtr::getId().
| AGXPHYSICS_EXPORT GeometryPtr& agx::Physics::GeometryPtr::operator= | ( | const agxData::EntityPtr & | ptr | ) |
| AGXPHYSICS_EXPORT GeometryPtr& agx::Physics::GeometryPtr::operator= | ( | const agxData::EntityInstance & | instance | ) |
|
inherited |
Definition at line 301 of file EntityPtr.h.
References agxData::EntityPtr::getId(), and agxData::EntityPtr::getStorage().
|
inherited |
Definition at line 296 of file EntityPtr.h.
References agxData::EntityPtr::getId().
| AGXPHYSICS_EXPORT agx::UInt& agx::Physics::GeometryPtr::orientedBoundId | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt const& agx::Physics::GeometryPtr::orientedBoundId | ( | ) | const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr& agx::Physics::GeometryPtr::shape | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr const& agx::Physics::GeometryPtr::shape | ( | ) | const |
| AGXPHYSICS_EXPORT agxCollide::GeometryState& agx::Physics::GeometryPtr::state | ( | ) |
| AGXPHYSICS_EXPORT agxCollide::GeometryState const& agx::Physics::GeometryPtr::state | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f& agx::Physics::GeometryPtr::surfaceVelocity | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3f const& agx::Physics::GeometryPtr::surfaceVelocity | ( | ) | const |
Swap id with another instance.
Both must be part of the same storage.
Definition at line 768 of file EntityStorage.h.
References agxAssert.
Swap index with another instance.
Both must be part of the same storage.
Definition at line 776 of file EntityStorage.h.
References agxAssert, and agxData::EntityPtr::calculateIndex().
| AGXPHYSICS_EXPORT agx::UInt32& agx::Physics::GeometryPtr::sweepAndPruneIndex | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt32 const& agx::Physics::GeometryPtr::sweepAndPruneIndex | ( | ) | const |
| AGXPHYSICS_EXPORT agx::UInt8& agx::Physics::GeometryPtr::tier | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt8 const& agx::Physics::GeometryPtr::tier | ( | ) | const |
|
inherited |
Transfer instance to another storage.
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4& agx::Physics::GeometryPtr::transform | ( | ) |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4 const& agx::Physics::GeometryPtr::transform | ( | ) | const |
|
staticinherited |
|
inherited |
Check for broken ptr, by verifying that the id is active in the storage.
Only used in debug mode.
Definition at line 632 of file EntityStorage.h.
References agxAssertN.