|
RavEngine
|
Public Member Functions | |
| NpArticulationSpatialTendon (PxBaseFlags baseFlags) | |
| void | preExportDataReset () |
| virtual void | exportExtraData (PxSerializationContext &) |
| void | importExtraData (PxDeserializationContext &) |
| void | resolveReferences (PxDeserializationContext &) |
| virtual void | requiresObjects (PxProcessPxBaseCallback &) |
| virtual bool | isSubordinate () const |
| NpArticulationSpatialTendon (NpArticulationReducedCoordinate *articulation) | |
| virtual PxArticulationAttachment * | createAttachment (PxArticulationAttachment *parent, const PxReal coefficient, const PxVec3 relativeOffset, PxArticulationLink *link) |
| Creates an articulation attachment and adds it to the list of children in the parent attachment. | |
| NpArticulationAttachment * | getAttachment (const PxU32 index) |
| virtual PxU32 | getAttachments (PxArticulationAttachment **userBuffer, PxU32 bufferSize, PxU32 startIndex) const |
| Fills a user-provided buffer of attachment pointers with the set of attachments. | |
| PxU32 | getNbAttachments () const |
| Returns the number of attachments in the tendon. | |
| virtual void | setStiffness (const PxReal stiffness) |
| Sets the spring stiffness term acting on the tendon length. | |
| virtual PxReal | getStiffness () const |
| Gets the spring stiffness of the tendon. | |
| virtual void | setDamping (const PxReal damping) |
| Sets the damping term acting both on the tendon length and tendon-length limits. | |
| virtual PxReal | getDamping () const |
| Gets the damping term acting both on the tendon length and tendon-length limits. | |
| virtual void | setLimitStiffness (const PxReal stiffness) |
| Sets the limit stiffness term acting on the tendon's length limits. | |
| virtual PxReal | getLimitStiffness () const |
| Gets the limit stiffness term acting on the tendon's length limits. | |
| virtual void | setOffset (const PxReal offset, bool autowake=true) |
| Sets the length offset term for the tendon. | |
| virtual PxReal | getOffset () const |
| Gets the length offset term for the tendon. | |
| virtual PxArticulationReducedCoordinate * | getArticulation () const |
| Gets the articulation that the tendon is a part of. | |
| virtual void | release () |
| Releases a tendon to remove it from the articulation and free its associated memory. | |
| PX_FORCE_INLINE Sc::ArticulationSpatialTendonCore & | getTendonCore () |
| PX_FORCE_INLINE ArticulationTendonHandle | getHandle () |
| PX_FORCE_INLINE void | setHandle (ArticulationTendonHandle handle) |
| PX_FORCE_INLINE NpArticulationAttachmentArray & | getAttachments () |
Public Member Functions inherited from physx::PxArticulationSpatialTendon | |
| 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 Member Functions inherited from physx::NpBase | |
| NpBase (const PxEMPTY) | |
| NpBase (NpType::Enum type) | |
| PX_INLINE bool | isAPIWriteForbidden () const |
| PX_INLINE bool | isAPIWriteForbiddenExceptSplitSim () const |
| PX_FORCE_INLINE NpType::Enum | getNpType () const |
| PX_FORCE_INLINE void | setNpScene (NpScene *scene) |
| PX_FORCE_INLINE NpScene * | getNpScene () const |
| PX_FORCE_INLINE PxU32 | getBaseIndex () const |
| PX_FORCE_INLINE void | setBaseIndex (PxU32 index) |
Public Member Functions inherited from physx::PxUserAllocated | |
| PX_INLINE void * | operator new (size_t, void *address) |
| PX_INLINE void | operator delete (void *, void *) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete (void *ptr, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line) |
| PX_INLINE void | operator delete (void *ptr) |
| PX_INLINE void | operator delete[] (void *ptr) |
Static Public Member Functions | |
| static NpArticulationSpatialTendon * | createObject (PxU8 *&address, PxDeserializationContext &context) |
| static void | getBinaryMetaData (PxOutputStream &stream) |
Static Public Member Functions inherited from physx::NpBase | |
| static void | getBinaryMetaData (PxOutputStream &stream) |
Additional Inherited Members | |
Public Attributes inherited from physx::PxArticulationTendon | |
| void * | userData |
| user can assign this to whatever, usually to create a 1:1 relationship with a user object. | |
Protected Member Functions inherited from physx::PxArticulationSpatialTendon | |
| PX_INLINE | PxArticulationSpatialTendon (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxArticulationSpatialTendon (PxBaseFlags baseFlags) |
Protected Member Functions inherited from physx::PxArticulationTendon | |
| PX_INLINE | PxArticulationTendon (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxArticulationTendon (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 |
Protected Attributes inherited from physx::PxBase | |
| PxType | mConcreteType |
| PxBaseFlags | mBaseFlags |
| PxU32 | mBuiltInRefCount |
Protected Attributes inherited from physx::NpBase | |
| PxU32 | mFreeSlot |
|
virtual |
Creates an articulation attachment and adds it to the list of children in the parent attachment.
Creating an attachment is not allowed while the articulation is in a scene. In order to add the attachment, remove and then re-add the articulation to the scene.
| [in] | parent | The parent attachment. Can be NULL for the root attachment of a tendon. |
| [in] | coefficient | A user-defined scale that the accumulated length is scaled by. |
| [in] | relativeOffset | An offset vector in the link's actor frame to the point where the tendon attachment is attached to the link. |
| [in] | link | The link that this attachment is associated with. |
Implements physx::PxArticulationSpatialTendon.
|
virtual |
Gets the articulation that the tendon is a part of.
Implements physx::PxArticulationTendon.
|
virtual |
Fills a user-provided buffer of attachment pointers with the set of attachments.
| [in] | userBuffer | The user-provided buffer. |
| [in] | bufferSize | The size of the buffer. If this is not large enough to contain all the pointers to attachments, only as many as can fit are written. Use getNbAttachments to size for all attachments. |
| [in] | startIndex | Index of first attachment pointer to be retrieved. |
Implements physx::PxArticulationSpatialTendon.
|
virtual |
Gets the damping term acting both on the tendon length and tendon-length limits.
Implements physx::PxArticulationTendon.
|
virtual |
Gets the limit stiffness term acting on the tendon's length limits.
For spatial tendons, this parameter applies to all its leaf attachments / sub-tendons.
Implements physx::PxArticulationTendon.
|
virtual |
Returns the number of attachments in the tendon.
Implements physx::PxArticulationSpatialTendon.
|
virtual |
Gets the length offset term for the tendon.
Implements physx::PxArticulationTendon.
|
virtual |
Gets the spring stiffness of the tendon.
Implements physx::PxArticulationTendon.
|
virtual |
Releases a tendon to remove it from the articulation and free its associated memory.
When an articulation is released, its attached tendons are automatically released.
Implements physx::PxArticulationTendon.
|
virtual |
Sets the damping term acting both on the tendon length and tendon-length limits.
| [in] | damping | The damping term. Default: 0 |
Implements physx::PxArticulationTendon.
|
virtual |
Sets the limit stiffness term acting on the tendon's length limits.
For spatial tendons, this parameter applies to all its leaf attachments / sub-tendons.
| [in] | stiffness | The limit stiffness term. Default: 0 |
Implements physx::PxArticulationTendon.
|
virtual |
Sets the length offset term for the tendon.
An offset defines an amount to be added to the accumulated length computed for the tendon. It allows the application to actuate the tendon by shortening or lengthening it.
| [in] | offset | The offset term. Default: 0 |
| [in] | autowake | If true and the articulation is in a scene, the call wakes up the articulation and increases the wake counter to PxSceneDesc::wakeCounterResetValue if the counter value is below the reset value. |
Implements physx::PxArticulationTendon.
|
virtual |
Sets the spring stiffness term acting on the tendon length.
| [in] | stiffness | The spring stiffness. Default: 0 |
Implements physx::PxArticulationTendon.