|
HDK
|
Include dependency graph for GU_GuideCapture.h:Go to the source code of this file.
Classes | |
| struct | GU_GuideCaptureParms |
| Parameters for guide shape interpolation capture. More... | |
Functions | |
| GU_API bool | GU_GuideCaptureShape (UT_IntArray &guidestarts, UT_IntArray &guideindices, UT_FloatArray &guideweights, const GU_Detail &groom, const GU_Detail &guides, const GU_GuideCaptureParms &parms) |
| GU_API bool GU_GuideCaptureShape | ( | UT_IntArray & | guidestarts, |
| UT_IntArray & | guideindices, | ||
| UT_FloatArray & | guideweights, | ||
| const GU_Detail & | groom, | ||
| const GU_Detail & | guides, | ||
| const GU_GuideCaptureParms & | parms | ||
| ) |
Capture groom curves against guide curves using arc-length shape similarity.
Outputs are in CSR (Compressed Sparse Row) format: guidestarts — nprims+1 entries; guidestarts[i]..guidestarts[i+1] is curve i's range guideindices — flat guide prim indices guideweights — flat normalised weights (sum to 1 per curve)
Returns false if groom or guides have no primitives.