MeVisLab Toolbox Reference
ml::CSOSmoothing Namespace Reference

Functions

MLCSO_EXPORT void 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 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 smooth3DPositions (std::vector< Vector3 > &positions, bool isOpen, unsigned int numSmoothingPasses)
 Smooths the given 3D positions on base of a Laplacian smoothing.
 
MLssize_t getClosedCSOIndexLeavingNegative (MLssize_t i, MLssize_t j, MLssize_t numPositions)
 Helper function to compute an index into a closed CSO leaving left.
 
MLssize_t getClosedCSOIndexLeavingPositive (MLssize_t i, MLssize_t j, MLssize_t numPositions)
 Helper function to compute an index into a closed CSO leaving right.
 

Function Documentation

◆ getClosedCSOIndexLeavingNegative()

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.

References getClosedCSOIndexLeavingNegative().

Referenced by getClosedCSOIndexLeavingNegative().

◆ getClosedCSOIndexLeavingPositive()

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.

References getClosedCSOIndexLeavingPositive().

Referenced by getClosedCSOIndexLeavingPositive().

◆ smooth2DPositions()

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.

References smooth2DPositions().

Referenced by smooth2DPositions().

◆ smooth3DPositions() [1/2]

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.

References smooth3DPositions().

◆ smooth3DPositions() [2/2]

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.

References smooth3DPositions().

Referenced by smooth3DPositions(), and smooth3DPositions().