|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Go to the source code of this file.
Classes | |
| struct | momentum::TextureView |
| View into a contiguous RGB texture image (non-owning). More... | |
| struct | momentum::RegionColorsView |
| View into a contiguous array of RGB region colors (non-owning). More... | |
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. | |