|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include "momentum/character/texture_classification.h"#include "momentum/common/exception.h"#include <momentum/character/character_utility.h>#include <algorithm>#include <cmath>#include <unordered_map>#include <unordered_set>Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| std::vector< std::vector< int32_t > > | momentum::classifyTrianglesByTexture (const Mesh &mesh, const TextureView &texture, const RegionColorsView ®ionColors, float threshold=0.0f, int32_t numSamples=3) |
| Classify mesh triangles into regions based on texture colors. | |
| Mesh | momentum::splitMeshByTextureRegion (const Mesh &mesh, const TextureView &texture, const RegionColorsView ®ionColors, int32_t numBinarySearchSteps=8) |
| Split mesh triangles along texture region boundaries. | |