|
RavEngine
|
Public Member Functions | |
| NpArticulationJointReducedCoordinate (PxBaseFlags baseFlags) | |
| void | preExportDataReset () |
| virtual void | resolveReferences (PxDeserializationContext &context) |
| void | exportExtraData (PxSerializationContext &) |
| void | importExtraData (PxDeserializationContext &) |
| virtual void | requiresObjects (PxProcessPxBaseCallback &) |
| virtual bool | isSubordinate () const |
| NpArticulationJointReducedCoordinate (NpArticulationLink &parent, const PxTransform &parentFrame, NpArticulationLink &child, const PxTransform &childFrame) | |
| virtual void | setJointType (PxArticulationJointType::Enum jointType) |
| Sets the joint type (e.g. revolute). | |
| virtual PxArticulationJointType::Enum | getJointType () const |
| Gets the joint type. | |
| virtual void | setMotion (PxArticulationAxis::Enum axis, PxArticulationMotion::Enum motion) |
| Sets the joint motion for a given axis. | |
| virtual PxArticulationMotion::Enum | getMotion (PxArticulationAxis::Enum axis) const |
| Returns the joint motion for the given axis. | |
| virtual void | setFrictionCoefficient (const PxReal coefficient) |
| Sets the joint friction coefficient, which applies to all joint axes. | |
| virtual PxReal | getFrictionCoefficient () const |
| Gets the joint friction coefficient. | |
| virtual void | setMaxJointVelocity (const PxReal maxJointV) |
| Sets the maximal joint velocity enforced for all axes. | |
| virtual PxReal | getMaxJointVelocity () const |
| Gets the maximal joint velocity enforced for all axes. | |
| virtual void | setLimitParams (PxArticulationAxis::Enum axis, const PxArticulationLimit &pair) |
| Sets the joint limits for a given axis. | |
| virtual PxArticulationLimit | getLimitParams (PxArticulationAxis::Enum axis) const |
| Returns the joint limits for a given axis. | |
| virtual void | setDriveParams (PxArticulationAxis::Enum axis, const PxArticulationDrive &drive) |
| Configures a joint drive for the given axis. | |
| virtual PxArticulationDrive | getDriveParams (PxArticulationAxis::Enum axis) const |
| Gets the joint drive configuration for the given axis. | |
| virtual void | setDriveTarget (PxArticulationAxis::Enum axis, const PxReal target, bool autowake=true) |
| Sets the joint drive position target for the given axis. | |
| virtual PxReal | getDriveTarget (PxArticulationAxis::Enum axis) const |
| Returns the joint drive position target for the given axis. | |
| virtual void | setDriveVelocity (PxArticulationAxis::Enum axis, const PxReal targetVel, bool autowake=true) |
| Sets the joint drive velocity target for the given axis. | |
| virtual PxReal | getDriveVelocity (PxArticulationAxis::Enum axis) const |
| Returns the joint drive velocity target for the given axis. | |
| virtual void | setArmature (PxArticulationAxis::Enum axis, const PxReal armature) |
| Sets the joint armature for the given axis. | |
| virtual PxReal | getArmature (PxArticulationAxis::Enum axis) const |
| Gets the joint armature for the given axis. | |
| virtual void | setJointPosition (PxArticulationAxis::Enum axis, const PxReal jointPos) |
| Sets the joint position for the given axis. | |
| virtual PxReal | getJointPosition (PxArticulationAxis::Enum axis) const |
| Gets the joint position for the given axis, i.e. joint degree of freedom (DOF). | |
| virtual void | setJointVelocity (PxArticulationAxis::Enum axis, const PxReal jointVel) |
| Sets the joint velocity for the given axis. | |
| virtual PxReal | getJointVelocity (PxArticulationAxis::Enum axis) const |
| Gets the joint velocity for the given axis. | |
| void | release () |
| Releases the PxBase instance, please check documentation of release in derived class. | |
| PX_FORCE_INLINE Sc::ArticulationJointCore & | getCore () |
| PX_INLINE void | scSetParentPose (const PxTransform &v) |
| PX_INLINE void | scSetChildPose (const PxTransform &v) |
| PX_INLINE void | scSetJointType (PxArticulationJointType::Enum v) |
| PX_INLINE void | scSetFrictionCoefficient (const PxReal v) |
| PX_INLINE void | scSetMaxJointVelocity (const PxReal v) |
| PX_INLINE void | scSetLimit (PxArticulationAxis::Enum axis, const PxArticulationLimit &pair) |
| PX_INLINE void | scSetDrive (PxArticulationAxis::Enum axis, const PxArticulationDrive &drive) |
| PX_INLINE void | scSetDriveTarget (PxArticulationAxis::Enum axis, PxReal targetP) |
| PX_INLINE void | scSetDriveVelocity (PxArticulationAxis::Enum axis, PxReal targetP) |
| PX_INLINE void | scSetArmature (PxArticulationAxis::Enum axis, PxReal armature) |
| PX_INLINE void | scSetMotion (PxArticulationAxis::Enum axis, PxArticulationMotion::Enum motion) |
| PX_INLINE void | scSetJointPosition (PxArticulationAxis::Enum axis, const PxReal jointPos) |
| PX_INLINE void | scSetJointVelocity (PxArticulationAxis::Enum axis, const PxReal jointVel) |
| virtual PxArticulationLink & | getParentArticulationLink () const |
| Gets the parent articulation link of this joint. | |
| virtual PxArticulationLink & | getChildArticulationLink () const |
| Gets the child articulation link of this joint. | |
| virtual PxTransform | getParentPose () const |
| Gets the joint pose in the parent link actor frame. | |
| virtual void | setParentPose (const PxTransform &t) |
| Sets the joint pose in the parent link actor frame. | |
| virtual PxTransform | getChildPose () const |
| Gets the joint pose in the child link actor frame. | |
| virtual void | setChildPose (const PxTransform &t) |
| Sets the joint pose in the child link actor frame. | |
| PX_INLINE const NpArticulationLink & | getParent () const |
| PX_INLINE NpArticulationLink & | getParent () |
| PX_INLINE const NpArticulationLink & | getChild () const |
| PX_INLINE NpArticulationLink & | getChild () |
Public Member Functions inherited from physx::PxArticulationJointReducedCoordinate | |
| PX_DEPRECATED PX_FORCE_INLINE void | setLimit (PxArticulationAxis::Enum axis, const PxReal lowLimit, const PxReal highLimit) |
| Sets the joint limits for a given axis. | |
| PX_DEPRECATED PX_FORCE_INLINE void | getLimit (PxArticulationAxis::Enum axis, PxReal &lowLimit, PxReal &highLimit) const |
| Returns the joint limits for a given axis. | |
| PX_DEPRECATED PX_FORCE_INLINE void | setDrive (PxArticulationAxis::Enum axis, const PxReal stiffness, const PxReal damping, const PxReal maxForce, PxArticulationDriveType::Enum driveType=PxArticulationDriveType::eFORCE) |
| Configures a joint drive for the given axis. | |
| PX_DEPRECATED PX_FORCE_INLINE void | getDrive (PxArticulationAxis::Enum axis, PxReal &stiffness, PxReal &damping, PxReal &maxForce, PxArticulationDriveType::Enum &driveType) const |
| Gets the joint drive configuration for the given axis. | |
| 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 NpArticulationJointReducedCoordinate * | createObject (PxU8 *&address, PxDeserializationContext &context) |
| static void | getBinaryMetaData (PxOutputStream &stream) |
| static PX_FORCE_INLINE size_t | getCoreOffset () |
Static Public Member Functions inherited from physx::NpBase | |
| static void | getBinaryMetaData (PxOutputStream &stream) |
Public Attributes | |
| Sc::ArticulationJointCore | mCore |
| NpArticulationLink * | mParent |
| NpArticulationLink * | mChild |
Public Attributes inherited from physx::PxArticulationJointReducedCoordinate | |
| void * | userData |
| The user can assign this to whatever, usually to create a 1:1 relationship with a user object. | |
Additional Inherited Members | |
Protected Member Functions inherited from physx::PxArticulationJointReducedCoordinate | |
| PX_INLINE | PxArticulationJointReducedCoordinate (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxArticulationJointReducedCoordinate (PxBaseFlags baseFlags) |
| virtual bool | isKindOf (const char *name) const |
| Returns whether a given type name matches with the type of this instance. | |
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. | |
| 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 |
Gets the joint armature for the given axis.
| [in] | axis | The target axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
inlinevirtual |
Gets the child articulation link of this joint.
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Gets the joint pose in the child link actor frame.
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Gets the joint drive configuration for the given axis.
| [in] | axis | The target axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Returns the joint drive position target for the given axis.
| [in] | axis | The target axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Returns the joint drive velocity target for the given axis.
| [in] | axis | The target axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Gets the joint friction coefficient.
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Gets the joint position for the given axis, i.e. joint degree of freedom (DOF).
For performance, prefer PxArticulationCache::jointPosition to get joint positions in a batch query.
| [in] | axis | The target axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Gets the joint type.
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Gets the joint velocity for the given axis.
For performance, prefer PxArticulationCache::jointVelocity to get joint velocities in a batch query.
| [in] | axis | The target axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Returns the joint limits for a given axis.
| [in] | axis | The target axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Gets the maximal joint velocity enforced for all axes.
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Returns the joint motion for the given axis.
| [in] | axis | The target axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
inlinevirtual |
Gets the parent articulation link of this joint.
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Gets the joint pose in the parent link actor frame.
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Releases the PxBase instance, please check documentation of release in derived class.
Implements physx::PxBase.
|
virtual |
Sets the joint armature for the given axis.
| [in] | axis | The target axis. |
| [in] | armature | The joint axis armature. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint pose in the child link actor frame.
| [in] | pose | The joint pose. Default: The identity transform. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Configures a joint drive for the given axis.
See PxArticulationDrive for parameter details; and the manual for further information, and the drives' implicit spring-damper (i.e. PD control) implementation in particular.
| [in] | axis | The target axis. |
| [in] | drive | The drive parameters |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint drive position target for the given axis.
The target units are linear units (equivalent to scene units) for a translational axis, or rad for a rotational axis.
| [in] | axis | The target axis. |
| [in] | target | The target position. |
| [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::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint drive velocity target for the given axis.
The target units are linear units (equivalent to scene units) per second for a translational axis, or radians per second for a rotational axis.
| [in] | axis | The target axis. |
| [in] | targetVel | The target velocity. |
| [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::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint friction coefficient, which applies to all joint axes.
| [in] | coefficient | The joint friction coefficient. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint position for the given axis.
| [in] | axis | The target axis. |
| [in] | jointPos | The joint position in linear units (equivalent to scene units) for a translational axis, or radians for a rotational axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint type (e.g. revolute).
| [in] | jointType | The joint type to set. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint velocity for the given axis.
| [in] | axis | The target axis. |
| [in] | jointVel | The joint velocity in linear units (equivalent to scene units) per second for a translational axis, or radians per second for a rotational axis. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint limits for a given axis.
| [in] | axis | The target axis. |
| [in] | limit | The joint limits. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the maximal joint velocity enforced for all axes.
| [in] | maxJointV | The maximal per-axis joint velocity. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint motion for a given axis.
| [in] | axis | The target axis. |
| [in] | motion | The motion type to set. |
Implements physx::PxArticulationJointReducedCoordinate.
|
virtual |
Sets the joint pose in the parent link actor frame.
| [in] | pose | The joint pose. Default: The identity transform. |
Implements physx::PxArticulationJointReducedCoordinate.