Sole facade provider; parent invalidation removes the native constraint before either body dies. 更多...
#include <JoltJoint.h>
Public 成员函数 | |
| JointBackend (std::shared_ptr< JointState > value) | |
| ~JointBackend () override | |
| void | bindOwner (Joint3D &) noexcept override |
| Binds its exclusive facade owner for internal attribution, on the simulation thread. @ownership Borrowed owner remains alive until invalidate; no external callbacks are invoked. | |
| bool | isValid () const noexcept override |
| Whether the native constraint is still alive. | |
| void | destroy () noexcept override |
| Idempotently destroys the constraint; no failure or callbacks. | |
| void | invalidate () noexcept override |
| Detaches before the parent destroys its constraints; no failure or callbacks. | |
| eve::Result< JointFrames3D > | localFrames () const override |
| localFrames; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setCollideConnected (bool collide) override |
| setCollideConnected; see the class lifetime, validation and failure contract. | |
| eve::Result< bool > | getCollideConnected () const override |
| getCollideConnected; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setForceThreshold (float threshold) override |
| setForceThreshold; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getForceThreshold () const override |
| getForceThreshold; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setTorqueThreshold (float threshold) override |
| setTorqueThreshold; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getTorqueThreshold () const override |
| getTorqueThreshold; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getConstraintForceX () const override |
| getConstraintForceX; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getConstraintForceY () const override |
| getConstraintForceY; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getConstraintForceZ () const override |
| getConstraintForceZ; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getConstraintTorqueX () const override |
| getConstraintTorqueX; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getConstraintTorqueY () const override |
| getConstraintTorqueY; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getConstraintTorqueZ () const override |
| getConstraintTorqueZ; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getLinearSeparation () const override |
| getLinearSeparation; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getAngularSeparation () const override |
| getAngularSeparation; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setDistanceLength (float length) override |
| setDistanceLength; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getDistanceLength () const override |
| getDistanceLength; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getDistanceCurrentLength () const override |
| getDistanceCurrentLength; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setDistanceSpring (bool enabled, float hertz, float dampingRatio) override |
| setDistanceSpring; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setDistanceLimits (bool enabled, float minimum, float maximum) override |
| setDistanceLimits; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setDistanceMotor (bool enabled, float speed, float maxForce) override |
| setDistanceMotor; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setRevoluteSpring (bool enabled, float targetAngle, float hertz, float dampingRatio) override |
| setRevoluteSpring; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setRevoluteLimits (bool enabled, float lower, float upper) override |
| setRevoluteLimits; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setRevoluteMotor (bool enabled, float speed, float maxTorque) override |
| setRevoluteMotor; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getRevoluteAngle () const override |
| getRevoluteAngle; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getRevoluteMotorTorque () const override |
| getRevoluteMotorTorque; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setPrismaticSpring (bool enabled, float targetTranslation, float hertz, float dampingRatio) override |
| setPrismaticSpring; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setPrismaticLimits (bool enabled, float lower, float upper) override |
| setPrismaticLimits; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setPrismaticMotor (bool enabled, float speed, float maxForce) override |
| setPrismaticMotor; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getPrismaticTranslation () const override |
| getPrismaticTranslation; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getPrismaticSpeed () const override |
| getPrismaticSpeed; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getPrismaticMotorForce () const override |
| getPrismaticMotorForce; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setSphericalConeLimit (bool enabled, float angle) override |
| setSphericalConeLimit; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setSphericalTwistLimits (bool enabled, float lower, float upper) override |
| setSphericalTwistLimits; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setSphericalMotor (bool enabled, float velocityX, float velocityY, float velocityZ, float maxTorque) override |
| setSphericalMotor; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getSphericalConeAngle () const override |
| getSphericalConeAngle; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getSphericalTwistAngle () const override |
| getSphericalTwistAngle; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setWheelSuspension (bool enabled, float hertz, float dampingRatio) override |
| setWheelSuspension; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setWheelSuspensionLimits (bool enabled, float lower, float upper) override |
| setWheelSuspensionLimits; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setWheelSpinMotor (bool enabled, float speed, float maxTorque) override |
| setWheelSpinMotor; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setWheelSteering (bool enabled, float targetAngle, float hertz, float dampingRatio, float maxTorque) override |
| setWheelSteering; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setWheelSteeringLimits (bool enabled, float lower, float upper) override |
| setWheelSteeringLimits; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getWheelSpinSpeed () const override |
| getWheelSpinSpeed; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getWheelSpinTorque () const override |
| getWheelSpinTorque; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getWheelSteeringAngle () const override |
| getWheelSteeringAngle; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getWheelSteeringTorque () const override |
| getWheelSteeringTorque; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setWeldLinearSpring (float hertz, float dampingRatio) override |
| setWeldLinearSpring; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setWeldAngularSpring (float hertz, float dampingRatio) override |
| setWeldAngularSpring; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getWeldLinearHertz () const override |
| getWeldLinearHertz; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getWeldLinearDampingRatio () const override |
| getWeldLinearDampingRatio; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getWeldAngularHertz () const override |
| getWeldAngularHertz; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getWeldAngularDampingRatio () const override |
| getWeldAngularDampingRatio; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setMotorLinearVelocity (float vx, float vy, float vz) override |
| setMotorLinearVelocity; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setMotorAngularVelocity (float wx, float wy, float wz) override |
| setMotorAngularVelocity; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setMotorVelocityLimits (float maxForce, float maxTorque) override |
| setMotorVelocityLimits; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setMotorLinearSpring (float hertz, float dampingRatio, float maxForce) override |
| setMotorLinearSpring; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setMotorAngularSpring (float hertz, float dampingRatio, float maxTorque) override |
| setMotorAngularSpring; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getMotorLinearVelocityX () const override |
| getMotorLinearVelocityX; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getMotorLinearVelocityY () const override |
| getMotorLinearVelocityY; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getMotorLinearVelocityZ () const override |
| getMotorLinearVelocityZ; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getMotorAngularVelocityX () const override |
| getMotorAngularVelocityX; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getMotorAngularVelocityY () const override |
| getMotorAngularVelocityY; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getMotorAngularVelocityZ () const override |
| getMotorAngularVelocityZ; see the class lifetime, validation and failure contract. | |
| eve::Result< void > | setParallelSpring (float hertz, float dampingRatio, float maxTorque) override |
| setParallelSpring; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getParallelHertz () const override |
| getParallelHertz; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getParallelDampingRatio () const override |
| getParallelDampingRatio; see the class lifetime, validation and failure contract. | |
| eve::Result< float > | getParallelMaxTorque () const override |
| getParallelMaxTorque; see the class lifetime, validation and failure contract. | |
Public 成员函数 继承自 eve::physics::IJointBackend3D | |
| virtual | ~IJointBackend3D ()=default |
Public 属性 | |
| std::shared_ptr< JointState > | joint |
详细描述
Sole facade provider; parent invalidation removes the native constraint before either body dies.
在文件 JoltJoint.h 第 25 行定义.
构造及析构函数说明
◆ JointBackend()
|
inlineexplicit |
在文件 JoltJoint.h 第 28 行定义.
◆ ~JointBackend()
|
override |
在文件 JoltJoint.cpp 第 12 行定义.
引用了 destroy().
成员函数说明
◆ bindOwner()
|
overridevirtualnoexcept |
Binds its exclusive facade owner for internal attribution, on the simulation thread. @ownership Borrowed owner remains alive until invalidate; no external callbacks are invoked.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJoint.cpp 第 13 行定义.
引用了 owner.
◆ destroy()
|
overridevirtualnoexcept |
Idempotently destroys the constraint; no failure or callbacks.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJoint.cpp 第 21 行定义.
引用了 a, b, joint , 以及 eve::physics::jolt::pairKey().
被这些函数引用 invalidate() , 以及 ~JointBackend().
◆ getAngularSeparation()
|
overridevirtual |
getAngularSeparation; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 69 行定义.
引用了 eve::physics::Distance, isValid(), joint , 以及 eve::StaleHandle.
◆ getCollideConnected()
|
overridevirtual |
getCollideConnected; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJoint.cpp 第 84 行定义.
引用了 isValid(), joint, eve::StaleHandle , 以及 eve::Result< T >::success().
◆ getConstraintForceX()
|
overridevirtual |
getConstraintForceX; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 33 行定义.
引用了 force, isValid() , 以及 eve::StaleHandle.
◆ getConstraintForceY()
|
overridevirtual |
getConstraintForceY; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 38 行定义.
引用了 force, isValid() , 以及 eve::StaleHandle.
◆ getConstraintForceZ()
|
overridevirtual |
getConstraintForceZ; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 43 行定义.
引用了 force, isValid() , 以及 eve::StaleHandle.
◆ getConstraintTorqueX()
|
overridevirtual |
getConstraintTorqueX; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 48 行定义.
引用了 force, isValid() , 以及 eve::StaleHandle.
◆ getConstraintTorqueY()
|
overridevirtual |
getConstraintTorqueY; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 53 行定义.
引用了 force, isValid() , 以及 eve::StaleHandle.
◆ getConstraintTorqueZ()
|
overridevirtual |
getConstraintTorqueZ; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 58 行定义.
引用了 force, isValid() , 以及 eve::StaleHandle.
◆ getDistanceCurrentLength()
|
overridevirtual |
getDistanceCurrentLength; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 94 行定义.
引用了 eve::physics::force_detail::checked(), eve::physics::Distance, frame, isValid() , 以及 eve::StaleHandle.
◆ getDistanceLength()
|
overridevirtual |
getDistanceLength; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 87 行定义.
引用了 eve::physics::force_detail::checked(), eve::physics::Distance, isValid(), joint , 以及 eve::StaleHandle.
◆ getForceThreshold()
|
overridevirtual |
getForceThreshold; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 16 行定义.
引用了 isValid(), joint , 以及 eve::StaleHandle.
◆ getLinearSeparation()
|
overridevirtual |
getLinearSeparation; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 63 行定义.
引用了 frame, isValid(), joint , 以及 eve::StaleHandle.
◆ getMotorAngularVelocityX()
|
overridevirtual |
getMotorAngularVelocityX; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 614 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::physics::Motor , 以及 eve::StaleHandle.
◆ getMotorAngularVelocityY()
|
overridevirtual |
getMotorAngularVelocityY; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 621 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::physics::Motor , 以及 eve::StaleHandle.
◆ getMotorAngularVelocityZ()
|
overridevirtual |
getMotorAngularVelocityZ; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 628 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::physics::Motor , 以及 eve::StaleHandle.
◆ getMotorLinearVelocityX()
|
overridevirtual |
getMotorLinearVelocityX; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 593 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::physics::Motor , 以及 eve::StaleHandle.
◆ getMotorLinearVelocityY()
|
overridevirtual |
getMotorLinearVelocityY; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 600 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::physics::Motor , 以及 eve::StaleHandle.
◆ getMotorLinearVelocityZ()
|
overridevirtual |
getMotorLinearVelocityZ; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 607 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::physics::Motor , 以及 eve::StaleHandle.
◆ getParallelDampingRatio()
|
overridevirtual |
getParallelDampingRatio; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 659 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), eve::physics::Parallel , 以及 eve::StaleHandle.
◆ getParallelHertz()
|
overridevirtual |
getParallelHertz; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 652 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), eve::physics::Parallel , 以及 eve::StaleHandle.
◆ getParallelMaxTorque()
|
overridevirtual |
getParallelMaxTorque; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 666 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), eve::physics::Parallel , 以及 eve::StaleHandle.
◆ getPrismaticMotorForce()
|
overridevirtual |
getPrismaticMotorForce; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 266 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::physics::Prismatic , 以及 eve::StaleHandle.
◆ getPrismaticSpeed()
|
overridevirtual |
getPrismaticSpeed; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 255 行定义.
引用了 a, b, eve::physics::force_detail::checked(), frame, isValid(), joint, eve::physics::Prismatic , 以及 eve::StaleHandle.
◆ getPrismaticTranslation()
|
overridevirtual |
getPrismaticTranslation; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 245 行定义.
引用了 eve::physics::force_detail::checked(), frame, isValid(), eve::physics::Prismatic , 以及 eve::StaleHandle.
◆ getRevoluteAngle()
|
overridevirtual |
getRevoluteAngle; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 180 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), q, eve::physics::Revolute , 以及 eve::StaleHandle.
◆ getRevoluteMotorTorque()
|
overridevirtual |
getRevoluteMotorTorque; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 188 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::physics::Revolute , 以及 eve::StaleHandle.
◆ getSphericalConeAngle()
|
overridevirtual |
getSphericalConeAngle; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 325 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), eve::physics::Spherical , 以及 eve::StaleHandle.
◆ getSphericalTwistAngle()
|
overridevirtual |
getSphericalTwistAngle; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 333 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), q, eve::physics::Spherical , 以及 eve::StaleHandle.
◆ getTorqueThreshold()
|
overridevirtual |
getTorqueThreshold; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 28 行定义.
引用了 isValid(), joint , 以及 eve::StaleHandle.
◆ getWeldAngularDampingRatio()
|
overridevirtual |
getWeldAngularDampingRatio; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 512 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), eve::StaleHandle , 以及 eve::physics::Weld.
◆ getWeldAngularHertz()
|
overridevirtual |
getWeldAngularHertz; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 505 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), eve::StaleHandle , 以及 eve::physics::Weld.
◆ getWeldLinearDampingRatio()
|
overridevirtual |
getWeldLinearDampingRatio; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 498 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), eve::StaleHandle , 以及 eve::physics::Weld.
◆ getWeldLinearHertz()
|
overridevirtual |
getWeldLinearHertz; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 491 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), eve::StaleHandle , 以及 eve::physics::Weld.
◆ getWheelSpinSpeed()
|
overridevirtual |
getWheelSpinSpeed; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 424 行定义.
引用了 a, b, eve::physics::force_detail::checked(), frame, isValid(), joint, eve::StaleHandle , 以及 eve::physics::Wheel.
◆ getWheelSpinTorque()
|
overridevirtual |
getWheelSpinTorque; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 435 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::StaleHandle , 以及 eve::physics::Wheel.
◆ getWheelSteeringAngle()
|
overridevirtual |
getWheelSteeringAngle; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 442 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), q, eve::StaleHandle , 以及 eve::physics::Wheel.
◆ getWheelSteeringTorque()
|
overridevirtual |
getWheelSteeringTorque; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 450 行定义.
引用了 eve::physics::force_detail::checked(), isValid(), joint, eve::StaleHandle , 以及 eve::physics::Wheel.
◆ invalidate()
|
overridevirtualnoexcept |
Detaches before the parent destroys its constraints; no failure or callbacks.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJoint.cpp 第 20 行定义.
引用了 destroy().
◆ isValid()
|
overridevirtualnoexcept |
Whether the native constraint is still alive.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJoint.cpp 第 14 行定义.
被这些函数引用 getAngularSeparation(), getCollideConnected(), getConstraintForceX(), getConstraintForceY(), getConstraintForceZ(), getConstraintTorqueX(), getConstraintTorqueY(), getConstraintTorqueZ(), getDistanceCurrentLength(), getDistanceLength(), getForceThreshold(), getLinearSeparation(), getMotorAngularVelocityX(), getMotorAngularVelocityY(), getMotorAngularVelocityZ(), getMotorLinearVelocityX(), getMotorLinearVelocityY(), getMotorLinearVelocityZ(), getParallelDampingRatio(), getParallelHertz(), getParallelMaxTorque(), getPrismaticMotorForce(), getPrismaticSpeed(), getPrismaticTranslation(), getRevoluteAngle(), getRevoluteMotorTorque(), getSphericalConeAngle(), getSphericalTwistAngle(), getTorqueThreshold(), getWeldAngularDampingRatio(), getWeldAngularHertz(), getWeldLinearDampingRatio(), getWeldLinearHertz(), getWheelSpinSpeed(), getWheelSpinTorque(), getWheelSteeringAngle(), getWheelSteeringTorque(), localFrames(), setCollideConnected(), setDistanceLength(), setDistanceLimits(), setDistanceMotor(), setDistanceSpring(), setForceThreshold(), setMotorAngularSpring(), setMotorAngularVelocity(), setMotorLinearSpring(), setMotorLinearVelocity(), setMotorVelocityLimits(), setParallelSpring(), setPrismaticLimits(), setPrismaticMotor(), setPrismaticSpring(), setRevoluteLimits(), setRevoluteMotor(), setRevoluteSpring(), setSphericalConeLimit(), setSphericalMotor(), setSphericalTwistLimits(), setTorqueThreshold(), setWeldAngularSpring(), setWeldLinearSpring(), setWheelSpinMotor(), setWheelSteering(), setWheelSteeringLimits(), setWheelSuspension() , 以及 setWheelSuspensionLimits().
◆ localFrames()
|
overridevirtual |
localFrames; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJoint.cpp 第 60 行定义.
引用了 isValid(), joint, eve::StaleHandle , 以及 eve::Result< T >::success().
◆ setCollideConnected()
|
overridevirtual |
setCollideConnected; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJoint.cpp 第 64 行定义.
引用了 a, b, isValid(), joint, key, eve::physics::jolt::pairKey(), eve::StaleHandle , 以及 eve::physics::jolt::success().
◆ setDistanceLength()
|
overridevirtual |
setDistanceLength; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 76 行定义.
引用了 eve::physics::force_detail::checked(), eve::physics::Distance, eve::InvalidArgument, isValid(), joint, length, eve::physics::jolt::setDistanceLength() , 以及 eve::StaleHandle.
◆ setDistanceLimits()
|
overridevirtual |
setDistanceLimits; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 111 行定义.
引用了 eve::physics::force_detail::checked(), eve::physics::Distance, enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), joint, maximum, minimum, eve::physics::jolt::setDistanceLimits() , 以及 eve::StaleHandle.
◆ setDistanceMotor()
|
overridevirtual |
setDistanceMotor; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 121 行定义.
引用了 eve::physics::force_detail::checked(), eve::physics::Distance, enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), joint, maxForce, eve::physics::jolt::setDistanceMotor() , 以及 eve::StaleHandle.
◆ setDistanceSpring()
|
overridevirtual |
setDistanceSpring; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 101 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, eve::physics::Distance, enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), joint, eve::physics::jolt::setDistanceSpring() , 以及 eve::StaleHandle.
◆ setForceThreshold()
|
overridevirtual |
setForceThreshold; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 9 行定义.
引用了 eve::InvalidArgument, isValid(), joint , 以及 eve::StaleHandle.
◆ setMotorAngularSpring()
|
overridevirtual |
setMotorAngularSpring; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 576 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), m, eve::physics::Motor , 以及 eve::StaleHandle.
◆ setMotorAngularVelocity()
|
overridevirtual |
setMotorAngularVelocity; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 531 行定义.
引用了 eve::physics::force_detail::checked(), frame, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), joint, eve::physics::Motor, eve::StaleHandle, wx, wy , 以及 wz.
◆ setMotorLinearSpring()
|
overridevirtual |
setMotorLinearSpring; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 559 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), m, maxForce, eve::physics::Motor , 以及 eve::StaleHandle.
◆ setMotorLinearVelocity()
|
overridevirtual |
setMotorLinearVelocity; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 519 行定义.
引用了 eve::physics::force_detail::checked(), frame, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), joint, eve::physics::Motor, eve::StaleHandle, vx, vy , 以及 vz.
◆ setMotorVelocityLimits()
|
overridevirtual |
setMotorVelocityLimits; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 543 行定义.
引用了 eve::physics::force_detail::checked(), eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), joint, maxForce, eve::physics::Motor , 以及 eve::StaleHandle.
◆ setParallelSpring()
|
overridevirtual |
setParallelSpring; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 635 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), m, eve::physics::Parallel , 以及 eve::StaleHandle.
◆ setPrismaticLimits()
|
overridevirtual |
setPrismaticLimits; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 209 行定义.
引用了 eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::Prismatic , 以及 eve::StaleHandle.
◆ setPrismaticMotor()
|
overridevirtual |
setPrismaticMotor; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 229 行定义.
引用了 eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), maxForce, eve::physics::Prismatic, settings, eve::StaleHandle , 以及 velocity.
◆ setPrismaticSpring()
|
overridevirtual |
setPrismaticSpring; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 195 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::Prismatic , 以及 eve::StaleHandle.
◆ setRevoluteLimits()
|
overridevirtual |
setRevoluteLimits; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 144 行定义.
引用了 eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::Revolute , 以及 eve::StaleHandle.
◆ setRevoluteMotor()
|
overridevirtual |
setRevoluteMotor; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 164 行定义.
引用了 eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::Revolute, settings, eve::StaleHandle , 以及 velocity.
◆ setRevoluteSpring()
|
overridevirtual |
setRevoluteSpring; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 131 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::Revolute , 以及 eve::StaleHandle.
◆ setSphericalConeLimit()
|
overridevirtual |
setSphericalConeLimit; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 273 行定义.
引用了 angle, eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, isValid(), limit, eve::physics::Spherical , 以及 eve::StaleHandle.
◆ setSphericalMotor()
|
overridevirtual |
setSphericalMotor; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 309 行定义.
引用了 eve::physics::force_detail::checked(), enabled, frame, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), joint, eve::physics::Spherical , 以及 eve::StaleHandle.
◆ setSphericalTwistLimits()
|
overridevirtual |
setSphericalTwistLimits; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 289 行定义.
引用了 eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::physics::Spherical , 以及 eve::StaleHandle.
◆ setTorqueThreshold()
|
overridevirtual |
setTorqueThreshold; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 21 行定义.
引用了 eve::InvalidArgument, isValid(), joint , 以及 eve::StaleHandle.
◆ setWeldAngularSpring()
|
overridevirtual |
setWeldAngularSpring; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 474 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), m, eve::StaleHandle , 以及 eve::physics::Weld.
◆ setWeldLinearSpring()
|
overridevirtual |
setWeldLinearSpring; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 457 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), m, eve::StaleHandle , 以及 eve::physics::Weld.
◆ setWheelSpinMotor()
|
overridevirtual |
setWheelSpinMotor; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 373 行定义.
引用了 eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), settings, eve::StaleHandle, velocity , 以及 eve::physics::Wheel.
◆ setWheelSteering()
|
overridevirtual |
setWheelSteering; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 388 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), m, eve::StaleHandle , 以及 eve::physics::Wheel.
◆ setWheelSteeringLimits()
|
overridevirtual |
setWheelSteeringLimits; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 404 行定义.
引用了 eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle , 以及 eve::physics::Wheel.
◆ setWheelSuspension()
|
overridevirtual |
setWheelSuspension; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 341 行定义.
引用了 eve::physics::force_detail::checked(), dampingRatio, enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle , 以及 eve::physics::Wheel.
◆ setWheelSuspensionLimits()
|
overridevirtual |
setWheelSuspensionLimits; see the class lifetime, validation and failure contract.
实现了 eve::physics::IJointBackend3D.
在文件 JoltJointOperations.cpp 第 353 行定义.
引用了 eve::physics::force_detail::checked(), enabled, eve::InvalidArgument, eve::physics::jolt::isFinite(), isValid(), eve::StaleHandle , 以及 eve::physics::Wheel.
类成员变量说明
◆ joint
| std::shared_ptr<JointState> eve::physics::jolt::JointBackend::joint |
在文件 JoltJoint.h 第 27 行定义.
被这些函数引用 destroy(), getAngularSeparation(), getCollideConnected(), getDistanceLength(), getForceThreshold(), getLinearSeparation(), getMotorAngularVelocityX(), getMotorAngularVelocityY(), getMotorAngularVelocityZ(), getMotorLinearVelocityX(), getMotorLinearVelocityY(), getMotorLinearVelocityZ(), getPrismaticMotorForce(), getPrismaticSpeed(), getRevoluteMotorTorque(), getTorqueThreshold(), getWheelSpinSpeed(), getWheelSpinTorque(), getWheelSteeringTorque(), isValid(), localFrames(), setCollideConnected(), setDistanceLength(), setDistanceLimits(), setDistanceMotor(), setDistanceSpring(), setForceThreshold(), setMotorAngularVelocity(), setMotorLinearVelocity(), setMotorVelocityLimits(), setSphericalMotor() , 以及 setTorqueThreshold().
该类的文档由以下文件生成:
- src/modules/physics/jolt/JoltJoint.h
- src/modules/physics/jolt/JoltJoint.cpp
- src/modules/physics/jolt/JoltJointOperations.cpp
Public 成员函数 继承自