|
AGX Dynamics 2.42.2.1
|
Pointer to a entity instance of type Physics.ContactPoint. More...
#include <ContactPointEntity.h>
Inheritance diagram for agx::Physics::ContactPointPtr:Public Types | |
| typedef ContactPointData | DataType |
| typedef ContactPointInstance | InstanceType |
| typedef ContactPointModel | ModelType |
Public Member Functions | |
| AGXPHYSICS_EXPORT | ContactPointPtr () |
| AGXPHYSICS_EXPORT | ContactPointPtr (agxData::EntityStorage *storage, agx::Index id) |
| AGXPHYSICS_EXPORT | ContactPointPtr (const agxData::EntityInstance &instance) |
| AGXPHYSICS_EXPORT | ContactPointPtr (const agxData::EntityPtr &ptr) |
| AGXPHYSICS_EXPORT agx::Real & | area () |
| AGXPHYSICS_EXPORT agx::Real const & | area () const |
| AGXPHYSICS_EXPORT agx::Real & | depth () |
| AGXPHYSICS_EXPORT agx::Real const & | depth () const |
| AGXPHYSICS_EXPORT agx::Real & | elasticRestLengthShape1 () |
| AGXPHYSICS_EXPORT agx::Real const & | elasticRestLengthShape1 () const |
| AGXPHYSICS_EXPORT agx::Real & | elasticRestLengthShape2 () |
| AGXPHYSICS_EXPORT agx::Real const & | elasticRestLengthShape2 () const |
| AGXPHYSICS_EXPORT agx::Bool & | enabled () |
| AGXPHYSICS_EXPORT agx::Bool const & | enabled () const |
| AGXPHYSICS_EXPORT agx::UInt8 & | faceFeature1 () |
| The face feature of shape 1 in contact (e.g. voronoi region on triangle for trimesh). | |
| AGXPHYSICS_EXPORT agx::UInt8 const & | faceFeature1 () const |
| The face feature of shape 1 in contact (e.g. voronoi region on triangle for trimesh). | |
| AGXPHYSICS_EXPORT agx::UInt8 & | faceFeature2 () |
| The face feature of shape 2 in contact (e.g. voronoi region on triangle for trimesh). | |
| AGXPHYSICS_EXPORT agx::UInt8 const & | faceFeature2 () const |
| The face feature of shape 2 in contact (e.g. voronoi region on triangle for trimesh). | |
| AGXPHYSICS_EXPORT agx::UInt32 & | faceIndex1 () |
| The face index of shape 1 in contact (e.g. index of triangle for trimesh). | |
| AGXPHYSICS_EXPORT agx::UInt32 const & | faceIndex1 () const |
| The face index of shape 1 in contact (e.g. index of triangle for trimesh). | |
| AGXPHYSICS_EXPORT agx::UInt32 & | faceIndex2 () |
| The face index of shape 2 in contact (e.g. index of triangle for trimesh). | |
| AGXPHYSICS_EXPORT agx::UInt32 const & | faceIndex2 () const |
| The face index of shape 2 in contact (e.g. index of triangle for trimesh). | |
| AGXPHYSICS_EXPORT agx::Vec2 & | friction () |
| AGXPHYSICS_EXPORT agx::Vec2 const & | friction () const |
| ContactPointData * | getData () |
| const ContactPointData * | getData () const |
| AGXPHYSICS_EXPORT agx::Vec4i8 & | indexSet () |
| AGXPHYSICS_EXPORT agx::Vec4i8 const & | indexSet () const |
| AGXPHYSICS_EXPORT ContactPointInstance | instance () |
| AGXPHYSICS_EXPORT const ContactPointInstance | instance () const |
| AGXPHYSICS_EXPORT agx::Vec3 & | localForce () |
| AGXPHYSICS_EXPORT agx::Vec3 const & | localForce () const |
| AGXPHYSICS_EXPORT agx::Real & | maxNormalForce () |
| AGXPHYSICS_EXPORT agx::Real const & | maxNormalForce () const |
| AGXPHYSICS_EXPORT agx::Vec3f & | normal () |
| AGXPHYSICS_EXPORT agx::Vec3f const & | normal () const |
| AGXPHYSICS_EXPORT ContactPointSemantics * | operator-> () |
| AGXPHYSICS_EXPORT const ContactPointSemantics * | operator-> () const |
| AGXPHYSICS_EXPORT ContactPointPtr & | operator= (const agxData::EntityInstance &instance) |
| AGXPHYSICS_EXPORT ContactPointPtr & | operator= (const agxData::EntityPtr &ptr) |
| AGXPHYSICS_EXPORT agx::Vec3 & | point () |
| AGXPHYSICS_EXPORT agx::Vec3 const & | point () const |
| AGXPHYSICS_EXPORT agx::Vec3 & | restitution () |
| AGXPHYSICS_EXPORT agx::Vec3 const & | restitution () const |
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr & | shape1 () |
| Shape number 1 in contact. | |
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr const & | shape1 () const |
| Shape number 1 in contact. | |
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr & | shape2 () |
| Shape number 2 in contact. | |
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr const & | shape2 () const |
| Shape number 2 in contact. | |
| AGXPHYSICS_EXPORT agx::UInt8 & | state () |
| Contact point state, such as impacting, resting etc. | |
| AGXPHYSICS_EXPORT agx::UInt8 const & | state () const |
| Contact point state, such as impacting, resting etc. | |
| AGXPHYSICS_EXPORT agx::Vec2 & | tangentialCohesion () |
| AGXPHYSICS_EXPORT agx::Vec2 const & | tangentialCohesion () const |
| AGXPHYSICS_EXPORT agx::Vec3f & | tangentU () |
| AGXPHYSICS_EXPORT agx::Vec3f const & | tangentU () const |
| AGXPHYSICS_EXPORT agx::Vec3f & | tangentV () |
| AGXPHYSICS_EXPORT agx::Vec3f const & | tangentV () const |
| AGXPHYSICS_EXPORT agx::Vec3f & | velocity () |
| AGXPHYSICS_EXPORT agx::Vec3f const & | velocity () const |
| AGXPHYSICS_EXPORT agx::Real & | volume () |
| AGXPHYSICS_EXPORT agx::Real const & | volume () const |
| AGXPHYSICS_EXPORT agx::Real & | youngsModulus () |
| AGXPHYSICS_EXPORT agx::Real const & | youngsModulus () const |
Public Member Functions inherited from agxData::EntityPtr | |
| EntityPtr () | |
| EntityPtr (agxData::EntityStorage *storage, agx::Index id) | |
| EntityPtr (const agxData::EntityInstance &instance) | |
| EntityPtr (const agxData::EntityPtr &other)=default | |
| ~EntityPtr ()=default | |
| agx::Index | calculateIndex () const |
| Calculate the index using the indirect id. | |
| agxData::EntityPtr | copy () |
| Create a copy instance in the same storage. | |
| agxData::EntityPtr | copy (agxData::EntityStorage *target) |
| Copy instance to another storage. | |
| void | copyAttributes (agxData::EntityPtr source) |
| Copy instance attributes to an existing target instance. | |
| template<typename T > | |
| T & | dataSet () |
| template<typename T > | |
| const T & | dataSet () const |
| void | destroy () |
| Remove the entity from the active storage. | |
| agxData::EntityData * | getData () |
| const agxData::EntityData * | getData () const |
| agx::Index | getId () const |
| agxData::EntityModel * | getModel () |
| const agxData::EntityModel * | getModel () const |
| agxData::EntityStorage * | getStorage () const |
| agx::UInt32 | hash () const |
| void | init (agxData::EntityStorage *storage, agx::Index id) |
| Set the target storage and id. | |
| agxData::EntityInstance | instance () |
| const agxData::EntityInstance | instance () const |
| void | invalidate () |
| Invalidate the entity pointer. | |
| bool | isInstanceOf (agxData::EntityModel *model) const |
| bool | isValid () const |
| operator bool () const | |
| bool | operator! () const |
| bool | operator!= (const EntityPtr &rhs) const |
| template<typename T > | |
| agxData::ArrayAttributeT< T >::Type & | operator() (const agxData::ArrayAttributeT< T > *attribute) |
| Array attribute. | |
| template<typename T > | |
| const agxData::ArrayAttributeT< T >::Type & | operator() (const agxData::ArrayAttributeT< T > *attribute) const |
| template<typename T > | |
| agxData::HashSetAttributeT< T >::Type & | operator() (const agxData::HashSetAttributeT< T > *attribute) |
| HashSet attribute. | |
| template<typename T > | |
| const agxData::HashSetAttributeT< T >::Type & | operator() (const agxData::HashSetAttributeT< T > *attribute) const |
| template<typename T > | |
| T & | operator() (const agxData::PointerAttributeT< T > *attribute) |
| Pointer attribute. | |
| template<typename T > | |
| const T & | operator() (const agxData::PointerAttributeT< T > *attribute) const |
| template<typename T > | |
| T & | operator() (const agxData::ScalarAttributeT< T > *attribute) |
| Access the value of a specific attribute. | |
| template<typename T > | |
| const T & | operator() (const agxData::ScalarAttributeT< T > *attribute) const |
| template<typename T > | |
| T & | operator() (const agxData::SharedAttributeT< T > *attribute) |
| Shared attribute. | |
| template<typename T > | |
| const T & | operator() (const agxData::SharedAttributeT< T > *attribute) const |
| template<typename T > | |
| agxData::VectorAttributeT< T >::Type & | operator() (const agxData::VectorAttributeT< T > *attribute) |
| Vector attribute. | |
| template<typename T > | |
| const agxData::VectorAttributeT< T >::Type & | operator() (const agxData::VectorAttributeT< T > *attribute) const |
| template<typename T > | |
| ArrayAttributeT< T >::Type & | operator() (const ArrayAttributeT< T > *attribute) |
| template<typename T > | |
| const ArrayAttributeT< T >::Type & | operator() (const ArrayAttributeT< T > *attribute) const |
| template<typename T > | |
| HashSetAttributeT< T >::Type & | operator() (const HashSetAttributeT< T > *attribute) |
| template<typename T > | |
| const HashSetAttributeT< T >::Type & | operator() (const HashSetAttributeT< T > *attribute) const |
| template<typename T > | |
| VectorAttributeT< T >::Type & | operator() (const VectorAttributeT< T > *attribute) |
| template<typename T > | |
| const VectorAttributeT< T >::Type & | operator() (const VectorAttributeT< T > *attribute) const |
| bool | operator< (const EntityPtr &rhs) const |
| EntityPtr & | operator= (const EntityPtr &other)=default |
| EntityPtr & | operator= (EntityPtr &&)=default |
| bool | operator== (const EntityPtr &rhs) const |
| bool | operator> (const EntityPtr &rhs) const |
| void | print () const |
| void | print (std::ostream &stream) const |
| void | swapId (EntityPtr &other) |
| Swap id with another instance. | |
| void | swapIndex (EntityPtr &other) |
| Swap index with another instance. | |
| void | transfer (agxData::EntityStorage *target) |
| Transfer instance to another storage. | |
| void | verifyIndex () const |
| Check for broken ptr, by verifying that the id is active in the storage. | |
Additional Inherited Members | |
Static Public Member Functions inherited from agxData::EntityPtr | |
| 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.ContactPoint.
Definition at line 284 of file ContactPointEntity.h.
| typedef ContactPointData agx::Physics::ContactPointPtr::DataType |
Definition at line 288 of file ContactPointEntity.h.
| typedef ContactPointInstance agx::Physics::ContactPointPtr::InstanceType |
Definition at line 289 of file ContactPointEntity.h.
Definition at line 287 of file ContactPointEntity.h.
| AGXPHYSICS_EXPORT agx::Physics::ContactPointPtr::ContactPointPtr | ( | ) |
| AGXPHYSICS_EXPORT agx::Physics::ContactPointPtr::ContactPointPtr | ( | agxData::EntityStorage * | storage, |
| agx::Index | id | ||
| ) |
| AGXPHYSICS_EXPORT agx::Physics::ContactPointPtr::ContactPointPtr | ( | const agxData::EntityPtr & | ptr | ) |
| AGXPHYSICS_EXPORT agx::Physics::ContactPointPtr::ContactPointPtr | ( | const agxData::EntityInstance & | instance | ) |
| AGXPHYSICS_EXPORT agx::Real & agx::Physics::ContactPointPtr::area | ( | ) |
Referenced by agxCollide::ContactPoint::clear().
| AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ContactPointPtr::area | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Real & agx::Physics::ContactPointPtr::depth | ( | ) |
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::getWitnessPoint().
| AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ContactPointPtr::depth | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Real & agx::Physics::ContactPointPtr::elasticRestLengthShape1 | ( | ) |
| AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ContactPointPtr::elasticRestLengthShape1 | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Real & agx::Physics::ContactPointPtr::elasticRestLengthShape2 | ( | ) |
| AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ContactPointPtr::elasticRestLengthShape2 | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Bool & agx::Physics::ContactPointPtr::enabled | ( | ) |
Referenced by agxCollide::ContactPoint::clear().
| AGXPHYSICS_EXPORT agx::Bool const & agx::Physics::ContactPointPtr::enabled | ( | ) | const |
| AGXPHYSICS_EXPORT agx::UInt8 & agx::Physics::ContactPointPtr::faceFeature1 | ( | ) |
The face feature of shape 1 in contact (e.g. voronoi region on triangle for trimesh).
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::faceFeature().
| AGXPHYSICS_EXPORT agx::UInt8 const & agx::Physics::ContactPointPtr::faceFeature1 | ( | ) | const |
The face feature of shape 1 in contact (e.g. voronoi region on triangle for trimesh).
| AGXPHYSICS_EXPORT agx::UInt8 & agx::Physics::ContactPointPtr::faceFeature2 | ( | ) |
The face feature of shape 2 in contact (e.g. voronoi region on triangle for trimesh).
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::faceFeature().
| AGXPHYSICS_EXPORT agx::UInt8 const & agx::Physics::ContactPointPtr::faceFeature2 | ( | ) | const |
The face feature of shape 2 in contact (e.g. voronoi region on triangle for trimesh).
| AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::ContactPointPtr::faceIndex1 | ( | ) |
The face index of shape 1 in contact (e.g. index of triangle for trimesh).
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::faceIndex().
| AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::ContactPointPtr::faceIndex1 | ( | ) | const |
The face index of shape 1 in contact (e.g. index of triangle for trimesh).
| AGXPHYSICS_EXPORT agx::UInt32 & agx::Physics::ContactPointPtr::faceIndex2 | ( | ) |
The face index of shape 2 in contact (e.g. index of triangle for trimesh).
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::faceIndex().
| AGXPHYSICS_EXPORT agx::UInt32 const & agx::Physics::ContactPointPtr::faceIndex2 | ( | ) | const |
The face index of shape 2 in contact (e.g. index of triangle for trimesh).
| AGXPHYSICS_EXPORT agx::Vec2 & agx::Physics::ContactPointPtr::friction | ( | ) |
Referenced by agxCollide::ContactPoint::getFrictionCoefficient(), and agxCollide::ContactPoint::setFrictionCoefficient().
| AGXPHYSICS_EXPORT agx::Vec2 const & agx::Physics::ContactPointPtr::friction | ( | ) | const |
| ContactPointData * agx::Physics::ContactPointPtr::getData | ( | ) |
| const ContactPointData * agx::Physics::ContactPointPtr::getData | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec4i8 & agx::Physics::ContactPointPtr::indexSet | ( | ) |
| AGXPHYSICS_EXPORT agx::Vec4i8 const & agx::Physics::ContactPointPtr::indexSet | ( | ) | const |
| AGXPHYSICS_EXPORT ContactPointInstance agx::Physics::ContactPointPtr::instance | ( | ) |
| AGXPHYSICS_EXPORT const ContactPointInstance agx::Physics::ContactPointPtr::instance | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ContactPointPtr::localForce | ( | ) |
Referenced by agxCollide::ContactPoint::clear(), agxCollide::ContactPoint::getForceMagnitude(), agxCollide::ContactPoint::getNormalForce(), agxCollide::ContactPoint::getNormalForceMagnitude(), agxCollide::ContactPoint::getTangentialForce(), agxCollide::ContactPoint::getTangentialForceMagnitude(), agxCollide::ContactPoint::getTangentialForceUMagnitude(), agxCollide::ContactPoint::getTangentialForceVMagnitude(), and agxCollide::ContactPoint::localForce().
| AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ContactPointPtr::localForce | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Real & agx::Physics::ContactPointPtr::maxNormalForce | ( | ) |
| AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ContactPointPtr::maxNormalForce | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f & agx::Physics::ContactPointPtr::normal | ( | ) |
Referenced by agxCollide::ContactPoint::clear(), agxCollide::ContactPoint::getNormalForce(), and agxCollide::ContactPoint::getWitnessPoint().
| AGXPHYSICS_EXPORT agx::Vec3f const & agx::Physics::ContactPointPtr::normal | ( | ) | const |
| AGXPHYSICS_EXPORT ContactPointSemantics * agx::Physics::ContactPointPtr::operator-> | ( | ) |
| AGXPHYSICS_EXPORT const ContactPointSemantics * agx::Physics::ContactPointPtr::operator-> | ( | ) | const |
| AGXPHYSICS_EXPORT ContactPointPtr & agx::Physics::ContactPointPtr::operator= | ( | const agxData::EntityInstance & | instance | ) |
| AGXPHYSICS_EXPORT ContactPointPtr & agx::Physics::ContactPointPtr::operator= | ( | const agxData::EntityPtr & | ptr | ) |
| AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ContactPointPtr::point | ( | ) |
Referenced by agxCollide::GeometryContact::calculateSurfaceVelocity(), agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::getWitnessPoint().
| AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ContactPointPtr::point | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3 & agx::Physics::ContactPointPtr::restitution | ( | ) |
Referenced by agxCollide::ContactPoint::getRestitution(), agxCollide::ContactPoint::getTangentialRestitution(), agxCollide::ContactPoint::setRestitution(), and agxCollide::ContactPoint::setTangentialRestitution().
| AGXPHYSICS_EXPORT agx::Vec3 const & agx::Physics::ContactPointPtr::restitution | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr & agx::Physics::ContactPointPtr::shape1 | ( | ) |
Shape number 1 in contact.
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::shape().
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr const & agx::Physics::ContactPointPtr::shape1 | ( | ) | const |
Shape number 1 in contact.
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr & agx::Physics::ContactPointPtr::shape2 | ( | ) |
Shape number 2 in contact.
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::shape().
| AGXPHYSICS_EXPORT agx::Physics::Geometry::ShapePtr const & agx::Physics::ContactPointPtr::shape2 | ( | ) | const |
Shape number 2 in contact.
| AGXPHYSICS_EXPORT agx::UInt8 & agx::Physics::ContactPointPtr::state | ( | ) |
Contact point state, such as impacting, resting etc.
Referenced by agxCollide::ContactPoint::clear(), agxCollide::ContactPoint::hasState(), and agxCollide::ContactPoint::setIsHolonomic().
| AGXPHYSICS_EXPORT agx::UInt8 const & agx::Physics::ContactPointPtr::state | ( | ) | const |
Contact point state, such as impacting, resting etc.
| AGXPHYSICS_EXPORT agx::Vec2 & agx::Physics::ContactPointPtr::tangentialCohesion | ( | ) |
Referenced by agxCollide::ContactPoint::getTangentialCohesion(), and agxCollide::ContactPoint::setTangentialCohesion().
| AGXPHYSICS_EXPORT agx::Vec2 const & agx::Physics::ContactPointPtr::tangentialCohesion | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f & agx::Physics::ContactPointPtr::tangentU | ( | ) |
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::getTangentialForce().
| AGXPHYSICS_EXPORT agx::Vec3f const & agx::Physics::ContactPointPtr::tangentU | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f & agx::Physics::ContactPointPtr::tangentV | ( | ) |
Referenced by agxCollide::ContactPoint::clear(), and agxCollide::ContactPoint::getTangentialForce().
| AGXPHYSICS_EXPORT agx::Vec3f const & agx::Physics::ContactPointPtr::tangentV | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Vec3f & agx::Physics::ContactPointPtr::velocity | ( | ) |
Referenced by agxCollide::GeometryContact::calculateSurfaceVelocity(), and agxCollide::ContactPoint::clear().
| AGXPHYSICS_EXPORT agx::Vec3f const & agx::Physics::ContactPointPtr::velocity | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Real & agx::Physics::ContactPointPtr::volume | ( | ) |
Referenced by agxCollide::ContactPoint::clear().
| AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ContactPointPtr::volume | ( | ) | const |
| AGXPHYSICS_EXPORT agx::Real & agx::Physics::ContactPointPtr::youngsModulus | ( | ) |
Referenced by agxCollide::ContactPoint::getYoungsModulus(), and agxCollide::ContactPoint::setYoungsModulus().
| AGXPHYSICS_EXPORT agx::Real const & agx::Physics::ContactPointPtr::youngsModulus | ( | ) | const |