|
RavEngine
|
Defines a spatial tendon attachment point on a link. More...
#include <PxArticulationTendon.h>
Public Member Functions | |
| virtual void | setRestLength (const PxReal restLength)=0 |
| Sets the spring rest length for the sub-tendon from the root to this leaf attachment. | |
| virtual PxReal | getRestLength () const =0 |
| Gets the spring rest length for the sub-tendon from the root to this leaf attachment. | |
| virtual void | setLimitParameters (const PxArticulationTendonLimit ¶meters)=0 |
| Sets the low and high limit on the length of the sub-tendon from the root to this leaf attachment. | |
| virtual PxArticulationTendonLimit | getLimitParameters () const =0 |
| Gets the low and high limit on the length of the sub-tendon from the root to this leaf attachment. | |
| virtual void | setRelativeOffset (const PxVec3 &offset)=0 |
| Sets the attachment's relative offset in the link actor frame. | |
| virtual PxVec3 | getRelativeOffset () const =0 |
| Gets the attachment's relative offset in the link actor frame. | |
| virtual void | setCoefficient (const PxReal coefficient)=0 |
| Sets the attachment coefficient. | |
| virtual PxReal | getCoefficient () const =0 |
| Gets the attachment coefficient. | |
| virtual PxArticulationLink * | getLink () const =0 |
| Gets the articulation link. | |
| virtual PxArticulationAttachment * | getParent () const =0 |
| Gets the parent attachment. | |
| virtual bool | isLeaf () const =0 |
| Indicates that this attachment is a leaf, and thus defines a sub-tendon from the root to this attachment. | |
| virtual PxArticulationSpatialTendon * | getTendon () const =0 |
| Gets the spatial tendon that the attachment is a part of. | |
| virtual void | release ()=0 |
| Releases the attachment. | |
| virtual const char * | getConcreteTypeName () const |
| Returns the string name of the dynamic type. | |
Public Member Functions inherited from physx::PxBase | |
| template<class T > | |
| T * | is () |
| template<class T > | |
| const T * | is () const |
| PX_FORCE_INLINE PxType | getConcreteType () const |
| Returns concrete type of object. | |
| PX_FORCE_INLINE void | setBaseFlag (PxBaseFlag::Enum flag, bool value) |
| Set PxBaseFlag | |
| PX_FORCE_INLINE void | setBaseFlags (PxBaseFlags inFlags) |
| Set PxBaseFlags | |
| PX_FORCE_INLINE PxBaseFlags | getBaseFlags () const |
| Returns PxBaseFlags. | |
| virtual bool | isReleasable () const |
| Whether the object is subordinate. | |
Public Attributes | |
| void * | userData |
| user can assign this to whatever, usually to create a 1:1 relationship with a user object. | |
Protected Member Functions | |
| PX_INLINE | PxArticulationAttachment (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxArticulationAttachment (PxBaseFlags baseFlags) |
Protected Member Functions inherited from physx::PxBase | |
| PX_INLINE | PxBase (PxType concreteType, PxBaseFlags baseFlags) |
| Constructor setting concrete type and base flags. | |
| PX_INLINE | PxBase (PxBaseFlags baseFlags) |
| Deserialization constructor setting base flags. | |
| virtual | ~PxBase () |
| Destructor. | |
| virtual bool | isKindOf (const char *superClass) const |
| Returns whether a given type name matches with the type of this instance. | |
| template<class T > | |
| bool | typeMatch () const |
Additional Inherited Members | |
Protected Attributes inherited from physx::PxBase | |
| PxType | mConcreteType |
| PxBaseFlags | mBaseFlags |
| PxU32 | mBuiltInRefCount |
Defines a spatial tendon attachment point on a link.
|
pure virtual |
Gets the attachment coefficient.
Implemented in physx::NpArticulationAttachment.
|
inlinevirtual |
|
pure virtual |
Gets the low and high limit on the length of the sub-tendon from the root to this leaf attachment.
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Gets the articulation link.
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Gets the parent attachment.
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Gets the attachment's relative offset in the link actor frame.
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Gets the spring rest length for the sub-tendon from the root to this leaf attachment.
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Gets the spatial tendon that the attachment is a part of.
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Indicates that this attachment is a leaf, and thus defines a sub-tendon from the root to this attachment.
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Releases the attachment.
Implements physx::PxBase.
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Sets the attachment coefficient.
| [in] | coefficient | The scale that the distance between this attachment and its parent is multiplied by when summing up the spatial tendon's length. |
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Sets the low and high limit on the length of the sub-tendon from the root to this leaf attachment.
Setting this on non-leaf attachments has no effect.
| [in] | parameters | Struct with the low and high limit. Default: (PX_MAX_F32, -PX_MAX_F32) (i.e. an invalid configuration that can only work if stiffness is zero) |
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Sets the attachment's relative offset in the link actor frame.
| [in] | offset | The relative offset in the link actor frame. |
Implemented in physx::NpArticulationAttachment.
|
pure virtual |
Sets the spring rest length for the sub-tendon from the root to this leaf attachment.
Setting this on non-leaf attachments has no effect.
| [in] | restLength | The rest length of the spring. Default: 0 |
Implemented in physx::NpArticulationAttachment.