Go to the source code of this file.
|
namespace | ml |
| Main documentation file for ML users and developers.
|
|
namespace | ml::CSOSmoothing |
|
|
MLCSO_EXPORT void | ml::CSOSmoothing::smooth2DPositions (std::vector< Vector2 > &positions, const unsigned int numPositions, const unsigned int numSmoothingPasses, const float smoothingFactor, const unsigned int smoothRange) |
| Smooths the given 2D positions on base of a Laplacian smoothing with a deflation correction.
|
|
MLCSO_EXPORT void | ml::CSOSmoothing::smooth3DPositions (std::vector< Vector3 > &positions, const MLssize_t numPositions, bool isOpen, unsigned int numSmoothingPasses, double smoothingFactor, unsigned int smoothRange, bool displacementAdjustment) |
| Smooths the given 3D positions on base of a Laplacian smoothing with a deflation correction.
|
|
MLCSO_EXPORT void | ml::CSOSmoothing::smooth3DPositions (std::vector< Vector3 > &positions, bool isOpen, unsigned int numSmoothingPasses) |
| Smooths the given 3D positions on base of a Laplacian smoothing.
|
|
MLssize_t | ml::CSOSmoothing::getClosedCSOIndexLeavingNegative (MLssize_t i, MLssize_t j, MLssize_t numPositions) |
| Helper function to compute an index into a closed CSO leaving left.
|
|
MLssize_t | ml::CSOSmoothing::getClosedCSOIndexLeavingPositive (MLssize_t i, MLssize_t j, MLssize_t numPositions) |
| Helper function to compute an index into a closed CSO leaving right.
|
|