Optional MeshRet/SMR neural retarget provider (implemented by animation_tensor). 更多...
#include <AnimSmrNeural.h>
Public 成员函数 | |
| virtual | ~ISmrNeuralRetarget ()=default |
| Releases ISmrNeuralRetarget resources. | |
| virtual std::string | name () const =0 |
| Stable backend label describing the live execution path. | |
| virtual bool | isReady (const AnimRetargetProfile *profile) const =0 |
| True when a model is loaded (ONNX path) or the builtin tensor MeshRet graph is usable. | |
| virtual Result< SmrNeuralResult > | retarget (const SmrNeuralRequest &request)=0 |
| Run MeshRet-style inference and rewrite targetClip local rotations. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "animation.ISmrNeuralRetarget" |
详细描述
Optional MeshRet/SMR neural retarget provider (implemented by animation_tensor).
Animation stays free of tensor includes; the L6 satellite registers this capability. When absent or not ready, classical two-bone IK SMR remains the active path.
@ownership Provider is owned by AnimationTensor; revoked before destruction. @thread Composition/owner thread only. No callbacks, script re-entry, or background work.
在文件 AnimSmrNeural.h 第 49 行定义.
构造及析构函数说明
◆ ~ISmrNeuralRetarget()
|
virtualdefault |
Releases ISmrNeuralRetarget resources.
成员函数说明
◆ isReady()
|
pure virtual |
True when a model is loaded (ONNX path) or the builtin tensor MeshRet graph is usable.
- 参数
-
profile Borrowed for the call only; nullptr means not ready.
- 注解
- Does not retain profile; safe to call without a clip. @ownership Does not retain profile. @lifetime profile must outlive this call. @thread Owner thread.
◆ name()
|
pure virtual |
Stable backend label describing the live execution path.
◆ retarget()
|
pure virtual |
Run MeshRet-style inference and rewrite targetClip local rotations.
- 返回
- Owning diagnostics, or structured failure without mutating targetClip. @lifetime See SmrNeuralRequest; pointers borrowed for this call only. @thread Owner thread; not re-entrant on targetClip.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 AnimSmrNeural.h 第 51 行定义.
该类的文档由以下文件生成:
- src/modules/animation/AnimSmrNeural.h