|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include <skinning_weight_iterator.h>
Public Member Functions | |
| SkinningWeightIteratorT (const Character &character, const MeshT< T > &restMesh, const SkeletonStateT< T > &skelState, Eigen::Index vertexIndex) | |
| SkinningWeightIteratorT (const Character &character, const SkinnedLocator &locator, const Eigen::Vector3< T > &locatorPosition, const SkeletonStateT< T > &skelState) | |
| bool | finished () const |
| std::tuple< size_t, T, Eigen::Vector3< T > > | next () |
Definition at line 52 of file skinning_weight_iterator.h.
| momentum::SkinningWeightIteratorT< T >::SkinningWeightIteratorT | ( | const Character & | character, |
| const MeshT< T > & | restMesh, | ||
| const SkeletonStateT< T > & | skelState, | ||
| Eigen::Index | vertexIndex ) |
Definition at line 21 of file skinning_weight_iterator.cpp.
References momentum::cast(), momentum::SkeletonStateT< T >::jointState, momentum::kMaxSkinJoints, and momentum::MeshT< T >::vertices.
| momentum::SkinningWeightIteratorT< T >::SkinningWeightIteratorT | ( | const Character & | character, |
| const SkinnedLocator & | locator, | ||
| const Eigen::Vector3< T > & | locatorPosition, | ||
| const SkeletonStateT< T > & | skelState ) |
Definition at line 53 of file skinning_weight_iterator.cpp.
References momentum::cast(), momentum::SkeletonStateT< T >::jointState, momentum::kMaxSkinJoints, momentum::SkinnedLocator::parents, and momentum::SkinnedLocator::skinWeights.
|
nodiscard |
Definition at line 79 of file skinning_weight_iterator.cpp.
Referenced by momentum::SkeletonDerivativeT< T >::accumulateVertexGradient(), momentum::SkeletonDerivativeT< T >::accumulateVertexGradientIdentityDfdv(), momentum::SkeletonDerivativeT< T >::accumulateVertexGradientWithNormalCorrection(), momentum::SkeletonDerivativeT< T >::accumulateVertexGradientWithNormalCorrectionDirect(), momentum::SkeletonDerivativeT< T >::accumulateVertexJacobian(), momentum::SkeletonDerivativeT< T >::accumulateVertexJacobianIdentityDfdv(), momentum::SkeletonDerivativeT< T >::accumulateVertexJacobianWithNormalCorrection(), momentum::SkeletonDerivativeT< T >::accumulateVertexJacobianWithNormalCorrectionDirect(), momentum::SkeletonDerivativeT< T >::accumulateVertexNormalCorrectionGradient(), momentum::SkeletonDerivativeT< T >::accumulateVertexNormalCorrectionJacobian(), momentum::SDFCollisionErrorFunctionT< T, SdfColliderType >::getGradient(), momentum::SDFCollisionSequenceErrorFunctionT< T, SdfColliderType >::getGradient(), momentum::VertexSDFErrorFunctionT< T >::getGradient(), momentum::SDFCollisionErrorFunctionT< T, SdfColliderType >::getJacobian(), momentum::SDFCollisionSequenceErrorFunctionT< T, SdfColliderType >::getJacobian(), and momentum::VertexSDFErrorFunctionT< T >::getJacobian().
| std::tuple< size_t, T, Eigen::Vector3< T > > momentum::SkinningWeightIteratorT< T >::next | ( | ) |
Definition at line 86 of file skinning_weight_iterator.cpp.
References momentum::kInvalidIndex, MT_CHECK, momentum::BoneWeightT< T >::parentBone, momentum::BoneWeightT< T >::weight, and momentum::BoneWeightT< T >::weightedWorldSpacePoint.
Referenced by momentum::SkeletonDerivativeT< T >::accumulateVertexGradient(), momentum::SkeletonDerivativeT< T >::accumulateVertexGradientIdentityDfdv(), momentum::SkeletonDerivativeT< T >::accumulateVertexGradientWithNormalCorrection(), momentum::SkeletonDerivativeT< T >::accumulateVertexGradientWithNormalCorrectionDirect(), momentum::SkeletonDerivativeT< T >::accumulateVertexJacobian(), momentum::SkeletonDerivativeT< T >::accumulateVertexJacobianIdentityDfdv(), momentum::SkeletonDerivativeT< T >::accumulateVertexJacobianWithNormalCorrection(), momentum::SkeletonDerivativeT< T >::accumulateVertexJacobianWithNormalCorrectionDirect(), momentum::SkeletonDerivativeT< T >::accumulateVertexNormalCorrectionGradient(), momentum::SkeletonDerivativeT< T >::accumulateVertexNormalCorrectionJacobian(), momentum::SDFCollisionErrorFunctionT< T, SdfColliderType >::getGradient(), momentum::SDFCollisionSequenceErrorFunctionT< T, SdfColliderType >::getGradient(), momentum::VertexSDFErrorFunctionT< T >::getGradient(), momentum::SDFCollisionErrorFunctionT< T, SdfColliderType >::getJacobian(), momentum::SDFCollisionSequenceErrorFunctionT< T, SdfColliderType >::getJacobian(), and momentum::VertexSDFErrorFunctionT< T >::getJacobian().