|
AGXDynamics
2.31.1.0
|
Pointer to a entity instance of type Physics.RigidBody. More...
#include <RigidBodyEntity.h>
Inheritance diagram for agx::Physics::RigidBodyPtr:Public Types | |
| typedef RigidBodyData | DataType |
| typedef RigidBodyInstance | InstanceType |
| typedef RigidBodyModel | 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.RigidBody.
Definition at line 371 of file RigidBodyEntity.h.
| typedef RigidBodyData agx::Physics::RigidBodyPtr::DataType |
Definition at line 375 of file RigidBodyEntity.h.
| typedef RigidBodyInstance agx::Physics::RigidBodyPtr::InstanceType |
Definition at line 376 of file RigidBodyEntity.h.
Definition at line 374 of file RigidBodyEntity.h.
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr::RigidBodyPtr | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr::RigidBodyPtr | ( | agxData::EntityStorage * | storage, |
| agx::Index | id | ||
| ) |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr::RigidBodyPtr | ( | const agxData::EntityPtr & | ptr | ) |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr::RigidBodyPtr | ( | const agxData::EntityInstance & | instance | ) |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::angularAcceleration | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::angularAcceleration | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::angularVelocity | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::angularVelocity | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f& agx::Physics::RigidBodyPtr::angularVelocityDamping | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3f const& agx::Physics::RigidBodyPtr::angularVelocityDamping | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f& agx::Physics::RigidBodyPtr::angularVelocityZeroDamping | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3f const& agx::Physics::RigidBodyPtr::angularVelocityZeroDamping | ( | ) | 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::AffineMatrix4x4& agx::Physics::RigidBodyPtr::cmTransform | ( | ) |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4 const& agx::Physics::RigidBodyPtr::cmTransform | ( | ) | 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.
| AGXPHYSICS_EXPORT agx::SPDMatrix3x3& agx::Physics::RigidBodyPtr::effectiveInertia | ( | ) |
| AGXPHYSICS_EXPORT agx::SPDMatrix3x3 const& agx::Physics::RigidBodyPtr::effectiveInertia | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::effectiveInertiaCoefficients | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::effectiveInertiaCoefficients | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Matrix3x3& agx::Physics::RigidBodyPtr::effectiveInvWorldInertia | ( | ) |
| AGXPHYSICS_EXPORT agx::Matrix3x3 const& agx::Physics::RigidBodyPtr::effectiveInvWorldInertia | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Matrix3x3& agx::Physics::RigidBodyPtr::effectiveInvWorldMassMatrix | ( | ) |
| AGXPHYSICS_EXPORT agx::Matrix3x3 const& agx::Physics::RigidBodyPtr::effectiveInvWorldMassMatrix | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::effectiveMass | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::effectiveMass | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::effectiveMassCoefficients | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::effectiveMassCoefficients | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::effectiveMassTransformDiagonal | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::effectiveMassTransformDiagonal | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Matrix3x3& agx::Physics::RigidBodyPtr::effectiveWorldInertia | ( | ) |
| AGXPHYSICS_EXPORT agx::Matrix3x3 const& agx::Physics::RigidBodyPtr::effectiveWorldInertia | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Matrix3x3& agx::Physics::RigidBodyPtr::effectiveWorldMassMatrix | ( | ) |
| AGXPHYSICS_EXPORT agx::Matrix3x3 const& agx::Physics::RigidBodyPtr::effectiveWorldMassMatrix | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::force | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::force | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr& agx::Physics::RigidBodyPtr::geometry | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr const& agx::Physics::RigidBodyPtr::geometry | ( | ) | const |
| RigidBodyData* agx::Physics::RigidBodyPtr::getData | ( | ) |
| const RigidBodyData* agx::Physics::RigidBodyPtr::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==().
| AGXPHYSICS_EXPORT agx::Physics::GraphNodePtr& agx::Physics::RigidBodyPtr::graphNode | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::GraphNodePtr const& agx::Physics::RigidBodyPtr::graphNode | ( | ) | const |
|
inherited |
Definition at line 281 of file EntityPtr.h.
References agx::hash().
| AGXPHYSICS_EXPORT agx::UInt32& agx::Physics::RigidBodyPtr::id | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt32 const& agx::Physics::RigidBodyPtr::id | ( | ) | const |
| AGXPHYSICS_EXPORT agx::SPDMatrix3x3& agx::Physics::RigidBodyPtr::inertia | ( | ) |
| AGXPHYSICS_EXPORT agx::SPDMatrix3x3 const& agx::Physics::RigidBodyPtr::inertia | ( | ) | const |
|
inherited |
Set the target storage and id.
Definition at line 589 of file EntityStorage.h.
Referenced by agxData::EntityPtr::EntityPtr().
| AGXPHYSICS_EXPORT RigidBodyInstance agx::Physics::RigidBodyPtr::instance | ( | ) |
| AGXPHYSICS_EXPORT const RigidBodyInstance agx::Physics::RigidBodyPtr::instance | ( | ) | const |
|
inherited |
Invalidate the entity pointer.
Definition at line 275 of file EntityPtr.h.
References agx::InvalidIndex.
| AGXPHYSICS_EXPORT agx::Real& agx::Physics::RigidBodyPtr::invMass | ( | ) |
| AGXPHYSICS_EXPORT agx::Real const& agx::Physics::RigidBodyPtr::invMass | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Matrix3x3& agx::Physics::RigidBodyPtr::invWorldInertia | ( | ) |
| AGXPHYSICS_EXPORT agx::Matrix3x3 const& agx::Physics::RigidBodyPtr::invWorldInertia | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Matrix3x3& agx::Physics::RigidBodyPtr::invWorldMassMatrix | ( | ) |
| AGXPHYSICS_EXPORT agx::Matrix3x3 const& agx::Physics::RigidBodyPtr::invWorldMassMatrix | ( | ) | const |
|
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::RigidBodyPtr::lastForce | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::lastForce | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::lastTorque | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::lastTorque | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::linearAcceleration | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::linearAcceleration | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f& agx::Physics::RigidBodyPtr::linearVelocityDamping | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3f const& agx::Physics::RigidBodyPtr::linearVelocityDamping | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f& agx::Physics::RigidBodyPtr::linearVelocityZeroDamping | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3f const& agx::Physics::RigidBodyPtr::linearVelocityZeroDamping | ( | ) | const |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4& agx::Physics::RigidBodyPtr::localCmTransform | ( | ) |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4 const& agx::Physics::RigidBodyPtr::localCmTransform | ( | ) | const |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4& agx::Physics::RigidBodyPtr::localModelTransform | ( | ) |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4 const& agx::Physics::RigidBodyPtr::localModelTransform | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Real& agx::Physics::RigidBodyPtr::mass | ( | ) |
| AGXPHYSICS_EXPORT agx::Real const& agx::Physics::RigidBodyPtr::mass | ( | ) | const |
| AGXPHYSICS_EXPORT agx::RigidBody*& agx::Physics::RigidBodyPtr::model | ( | ) |
Referenced by agx::MergedBody::findMergedBodyIndex().
| AGXPHYSICS_EXPORT agx::RigidBody* const& agx::Physics::RigidBodyPtr::model | ( | ) | const |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4& agx::Physics::RigidBodyPtr::modelTransform | ( | ) |
| AGXPHYSICS_EXPORT agx::AffineMatrix4x4 const& agx::Physics::RigidBodyPtr::modelTransform | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Name& agx::Physics::RigidBodyPtr::name | ( | ) |
| AGXPHYSICS_EXPORT agx::Name const& agx::Physics::RigidBodyPtr::name | ( | ) | const |
| AGXPHYSICS_EXPORT agx::UInt16& agx::Physics::RigidBodyPtr::numConstraints | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt16 const& agx::Physics::RigidBodyPtr::numConstraints | ( | ) | const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
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 RigidBodySemantics* agx::Physics::RigidBodyPtr::operator-> | ( | ) |
| AGXPHYSICS_EXPORT const RigidBodySemantics* agx::Physics::RigidBodyPtr::operator-> | ( | ) | const |
|
inherited |
Definition at line 291 of file EntityPtr.h.
References agxData::EntityPtr::getId().
| AGXPHYSICS_EXPORT RigidBodyPtr& agx::Physics::RigidBodyPtr::operator= | ( | const agxData::EntityPtr & | ptr | ) |
| AGXPHYSICS_EXPORT RigidBodyPtr& agx::Physics::RigidBodyPtr::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().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| AGXPHYSICS_EXPORT agx::UInt32& agx::Physics::RigidBodyPtr::solveIndex | ( | ) |
| AGXPHYSICS_EXPORT agx::UInt32 const& agx::Physics::RigidBodyPtr::solveIndex | ( | ) | const |
| AGXPHYSICS_EXPORT agx::RigidBodyState& agx::Physics::RigidBodyPtr::state | ( | ) |
Referenced by agx::MergedBody::isRoot().
| AGXPHYSICS_EXPORT agx::RigidBodyState const& agx::Physics::RigidBodyPtr::state | ( | ) | 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::Vec3& agx::Physics::RigidBodyPtr::torque | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::torque | ( | ) | const |
|
inherited |
Transfer instance to another storage.
|
staticinherited |
| AGXPHYSICS_EXPORT agx::Vec3& agx::Physics::RigidBodyPtr::velocity | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec3 const& agx::Physics::RigidBodyPtr::velocity | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Range6& agx::Physics::RigidBodyPtr::velocityRanges | ( | ) |
| AGXPHYSICS_EXPORT agx::Range6 const& agx::Physics::RigidBodyPtr::velocityRanges | ( | ) | const |
|
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.
| AGXPHYSICS_EXPORT agx::Matrix3x3& agx::Physics::RigidBodyPtr::worldInertia | ( | ) |
| AGXPHYSICS_EXPORT agx::Matrix3x3 const& agx::Physics::RigidBodyPtr::worldInertia | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Matrix3x3& agx::Physics::RigidBodyPtr::worldMassMatrix | ( | ) |
| AGXPHYSICS_EXPORT agx::Matrix3x3 const& agx::Physics::RigidBodyPtr::worldMassMatrix | ( | ) | const |