MeVisLab Toolbox Reference
ml::CSOGenerateSeedPoints Namespace Reference

The CSOGenerateSeedPoints namespace offers methods to compute seed points for specified CSOs while retaining the path points. More...

Functions

MLCSO_EXPORT void redistributeSeedPointsEveryNthPathPoint (CSO *cso, int everyNthPathPoint, bool notifyObservers=true)
 Redistributes the seed points of a specified CSO so that they are evenly distributed along the original path points with roughly the specified target distance from each other.
 

Detailed Description

The CSOGenerateSeedPoints namespace offers methods to compute seed points for specified CSOs while retaining the path points.

Function Documentation

◆ redistributeSeedPointsEveryNthPathPoint()

MLCSO_EXPORT void ml::CSOGenerateSeedPoints::redistributeSeedPointsEveryNthPathPoint ( CSO cso,
int  everyNthPathPoint,
bool  notifyObservers = true 
)

Redistributes the seed points of a specified CSO so that they are evenly distributed along the original path points with roughly the specified target distance from each other.

The algorithm distributes always at least three seed points to a contour.

Parameters
notifyObserversIf true (the default) a "CSO finished" notification is sent after completion.

References redistributeSeedPointsEveryNthPathPoint().

Referenced by redistributeSeedPointsEveryNthPathPoint().