载入中...
搜索中...
未找到
eve::physics::jolt::JointBackend类 参考final

Sole facade provider; parent invalidation removes the native constraint before either body dies. 更多...

#include <JoltJoint.h>

类 eve::physics::jolt::JointBackend 继承关系图:
eve::physics::IJointBackend3D

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()

eve::physics::jolt::JointBackend::JointBackend ( std::shared_ptr< JointState >  value)
inlineexplicit

在文件 JoltJoint.h 第 28 行定义.

◆ ~JointBackend()

eve::physics::jolt::JointBackend::~JointBackend ( )
override

在文件 JoltJoint.cpp 第 12 行定义.

引用了 destroy().

成员函数说明

◆ bindOwner()

void eve::physics::jolt::JointBackend::bindOwner ( Joint3D &  owner)
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()

void eve::physics::jolt::JointBackend::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()

eve::Result< float > eve::physics::jolt::JointBackend::getAngularSeparation ( ) const
overridevirtual

getAngularSeparation; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 69 行定义.

引用了 eve::physics::Distance, isValid(), joint , 以及 eve::StaleHandle.

◆ getCollideConnected()

eve::Result< bool > eve::physics::jolt::JointBackend::getCollideConnected ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getConstraintForceX ( ) const
overridevirtual

getConstraintForceX; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 33 行定义.

引用了 force, isValid() , 以及 eve::StaleHandle.

◆ getConstraintForceY()

eve::Result< float > eve::physics::jolt::JointBackend::getConstraintForceY ( ) const
overridevirtual

getConstraintForceY; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 38 行定义.

引用了 force, isValid() , 以及 eve::StaleHandle.

◆ getConstraintForceZ()

eve::Result< float > eve::physics::jolt::JointBackend::getConstraintForceZ ( ) const
overridevirtual

getConstraintForceZ; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 43 行定义.

引用了 force, isValid() , 以及 eve::StaleHandle.

◆ getConstraintTorqueX()

eve::Result< float > eve::physics::jolt::JointBackend::getConstraintTorqueX ( ) const
overridevirtual

getConstraintTorqueX; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 48 行定义.

引用了 force, isValid() , 以及 eve::StaleHandle.

◆ getConstraintTorqueY()

eve::Result< float > eve::physics::jolt::JointBackend::getConstraintTorqueY ( ) const
overridevirtual

getConstraintTorqueY; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 53 行定义.

引用了 force, isValid() , 以及 eve::StaleHandle.

◆ getConstraintTorqueZ()

eve::Result< float > eve::physics::jolt::JointBackend::getConstraintTorqueZ ( ) const
overridevirtual

getConstraintTorqueZ; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 58 行定义.

引用了 force, isValid() , 以及 eve::StaleHandle.

◆ getDistanceCurrentLength()

eve::Result< float > eve::physics::jolt::JointBackend::getDistanceCurrentLength ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getDistanceLength ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getForceThreshold ( ) const
overridevirtual

getForceThreshold; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 16 行定义.

引用了 isValid(), joint , 以及 eve::StaleHandle.

◆ getLinearSeparation()

eve::Result< float > eve::physics::jolt::JointBackend::getLinearSeparation ( ) const
overridevirtual

getLinearSeparation; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 63 行定义.

引用了 frame, isValid(), joint , 以及 eve::StaleHandle.

◆ getMotorAngularVelocityX()

eve::Result< float > eve::physics::jolt::JointBackend::getMotorAngularVelocityX ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getMotorAngularVelocityY ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getMotorAngularVelocityZ ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getMotorLinearVelocityX ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getMotorLinearVelocityY ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getMotorLinearVelocityZ ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getParallelDampingRatio ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getParallelHertz ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getParallelMaxTorque ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getPrismaticMotorForce ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getPrismaticSpeed ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getPrismaticTranslation ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getRevoluteAngle ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getRevoluteMotorTorque ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getSphericalConeAngle ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getSphericalTwistAngle ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getTorqueThreshold ( ) const
overridevirtual

getTorqueThreshold; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 28 行定义.

引用了 isValid(), joint , 以及 eve::StaleHandle.

◆ getWeldAngularDampingRatio()

eve::Result< float > eve::physics::jolt::JointBackend::getWeldAngularDampingRatio ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getWeldAngularHertz ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getWeldLinearDampingRatio ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getWeldLinearHertz ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getWheelSpinSpeed ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getWheelSpinTorque ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getWheelSteeringAngle ( ) const
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()

eve::Result< float > eve::physics::jolt::JointBackend::getWheelSteeringTorque ( ) const
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()

void eve::physics::jolt::JointBackend::invalidate ( )
overridevirtualnoexcept

Detaches before the parent destroys its constraints; no failure or callbacks.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJoint.cpp 第 20 行定义.

引用了 destroy().

◆ isValid()

bool eve::physics::jolt::JointBackend::isValid ( ) const
overridevirtualnoexcept

Whether the native constraint is still alive.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJoint.cpp 第 14 行定义.

引用了 a, b , 以及 joint.

被这些函数引用 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()

eve::Result< JointFrames3D > eve::physics::jolt::JointBackend::localFrames ( ) const
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()

eve::Result< void > eve::physics::jolt::JointBackend::setCollideConnected ( bool  collide)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setDistanceLength ( float  length)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setDistanceLimits ( bool  enabled,
float  minimum,
float  maximum 
)
overridevirtual

◆ setDistanceMotor()

eve::Result< void > eve::physics::jolt::JointBackend::setDistanceMotor ( bool  enabled,
float  speed,
float  maxForce 
)
overridevirtual

◆ setDistanceSpring()

eve::Result< void > eve::physics::jolt::JointBackend::setDistanceSpring ( bool  enabled,
float  hertz,
float  dampingRatio 
)
overridevirtual

◆ setForceThreshold()

eve::Result< void > eve::physics::jolt::JointBackend::setForceThreshold ( float  threshold)
overridevirtual

setForceThreshold; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 9 行定义.

引用了 eve::InvalidArgument, isValid(), joint , 以及 eve::StaleHandle.

◆ setMotorAngularSpring()

eve::Result< void > eve::physics::jolt::JointBackend::setMotorAngularSpring ( float  hertz,
float  dampingRatio,
float  maxTorque 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setMotorAngularVelocity ( float  wx,
float  wy,
float  wz 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setMotorLinearSpring ( float  hertz,
float  dampingRatio,
float  maxForce 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setMotorLinearVelocity ( float  vx,
float  vy,
float  vz 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setMotorVelocityLimits ( float  maxForce,
float  maxTorque 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setParallelSpring ( float  hertz,
float  dampingRatio,
float  maxTorque 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setPrismaticLimits ( bool  enabled,
float  lower,
float  upper 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setPrismaticMotor ( bool  enabled,
float  speed,
float  maxForce 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setPrismaticSpring ( bool  enabled,
float  targetTranslation,
float  hertz,
float  dampingRatio 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setRevoluteLimits ( bool  enabled,
float  lower,
float  upper 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setRevoluteMotor ( bool  enabled,
float  speed,
float  maxTorque 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setRevoluteSpring ( bool  enabled,
float  targetAngle,
float  hertz,
float  dampingRatio 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setSphericalConeLimit ( bool  enabled,
float  angle 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setSphericalMotor ( bool  enabled,
float  velocityX,
float  velocityY,
float  velocityZ,
float  maxTorque 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setSphericalTwistLimits ( bool  enabled,
float  lower,
float  upper 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setTorqueThreshold ( float  threshold)
overridevirtual

setTorqueThreshold; see the class lifetime, validation and failure contract.

实现了 eve::physics::IJointBackend3D.

在文件 JoltJointOperations.cpp 第 21 行定义.

引用了 eve::InvalidArgument, isValid(), joint , 以及 eve::StaleHandle.

◆ setWeldAngularSpring()

eve::Result< void > eve::physics::jolt::JointBackend::setWeldAngularSpring ( float  hertz,
float  dampingRatio 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setWeldLinearSpring ( float  hertz,
float  dampingRatio 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setWheelSpinMotor ( bool  enabled,
float  speed,
float  maxTorque 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setWheelSteering ( bool  enabled,
float  targetAngle,
float  hertz,
float  dampingRatio,
float  maxTorque 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setWheelSteeringLimits ( bool  enabled,
float  lower,
float  upper 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setWheelSuspension ( bool  enabled,
float  hertz,
float  dampingRatio 
)
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()

eve::Result< void > eve::physics::jolt::JointBackend::setWheelSuspensionLimits ( bool  enabled,
float  lower,
float  upper 
)
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


该类的文档由以下文件生成: