33 [[nodiscard]] std::vector<std::
string>
inputs() const final;
35 [[nodiscard]] const
char*
name() const final {
36 return "StateErrorFunction";
40 const std::string& inputName,
43 Eigen::Ref<
const Eigen::VectorX<T>> inputVec)
final;
46 void getInputImp(
const std::string&
name, Eigen::Ref<Eigen::VectorX<T>> value)
const final;
47 void setInputImp(
const std::string&
name, Eigen::Ref<
const Eigen::VectorX<T>> value)
final;
50 template <
typename JetType>
51 JetType calculateGradient_dot(
54 const Eigen::Vector3<JetType>& targetTranslation,
55 const Eigen::Quaternion<JetType>& targetRotation,
56 const JetType& targetPositionWeight,
57 const JetType& targetRotationWeight,
58 Eigen::Ref<
const Eigen::VectorX<T>> vec);
const char * name() const final
~FullyDifferentiableStateErrorFunctionT() override
std::vector< std::string > inputs() const final
void getInputImp(const std::string &name, Eigen::Ref< Eigen::VectorX< T > > value) const final
FullyDifferentiableStateErrorFunctionT(FullyDifferentiableStateErrorFunctionT &&) noexcept=default
FullyDifferentiableStateErrorFunctionT(const Skeleton &skel, const ParameterTransform &pt)
FullyDifferentiableStateErrorFunctionT & operator=(const FullyDifferentiableStateErrorFunctionT &)=default
Eigen::VectorX< T > d_gradient_d_input_dot(const std::string &inputName, const ModelParametersT< T > ¶ms, const SkeletonStateT< T > &state, Eigen::Ref< const Eigen::VectorX< T > > inputVec) final
FullyDifferentiableStateErrorFunctionT(const FullyDifferentiableStateErrorFunctionT &)=default
void setInputImp(const std::string &name, Eigen::Ref< const Eigen::VectorX< T > > value) final
Eigen::Index getInputSize(const std::string &name) const final
StateErrorFunctionT(const Skeleton &skel, const ParameterTransform &pt, RotationErrorType rotationErrorType=RotationErrorType::RotationMatrixDifference)
SkeletonT< float > Skeleton
ParameterTransformT< float > ParameterTransform
A vector of size numModelParams holding the values of all model parameters for a character.
Represents the complete state of a skeleton.