void setTargetWeights(const Eigen::VectorX< T > &weights)
Set the per-joint weights for the acceleration error.
AccelerationSequenceErrorFunctionT(const Skeleton &skel, const ParameterTransform &pt)
void setTargetAcceleration(const Eigen::Vector3< T > &acceleration)
Set a single target acceleration applied to all joints.
const Eigen::VectorX< T > & getTargetWeights() const
void reset()
Reset weights to ones and target accelerations to zero.
void setTargetAccelerations(const std::vector< Eigen::Vector3< T > > &accelerations)
Set per-joint target accelerations.
AccelerationSequenceErrorFunctionT(const Character &character)
const std::vector< Eigen::Vector3< T > > & getTargetAccelerations() const
const Eigen::VectorX< T > & getTargetWeights() const
void setTargetValues(const std::vector< Eigen::Vector3< T > > &targetValues)
Set per-joint target values.
void setTargetValue(const Eigen::Vector3< T > &targetValue)
Set a single target value applied to all joints.
FiniteDifferenceSequenceErrorFunctionT(const Skeleton &skel, const ParameterTransform &pt, const std::vector< T > &stencilCoefficients)
const std::vector< Eigen::Vector3< T > > & getTargetValues() const
void setTargetWeights(const Eigen::VectorX< T > &weights)
Set the per-joint weights for the derivative error.
void reset()
Reset weights to ones and target values to zero.
SkeletonT< float > Skeleton
ParameterTransformT< float > ParameterTransform
A character model with skeletal structure, mesh, and optional components.