#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
The CSOListRules class controls how the CSOList should treat CSOGroups if their CSOs are removed.
void applyTo(CSOList &csoList)
Applies the rules to the csoList.
~CSOListRules()
Destructor.
CSOListRules()
Constructor.
void setRemoveEmptyGroupHandling(CSORemoveEmptyGroupHandling handling)
Sets the handling mode for empty groups.
void reset()
Sets default values to all members.
CSORemoveEmptyGroupHandling getRemoveEmptyGroupHandling() const
Returns the _removeEmptyGroupHandling mode.
static CSORemoveEmptyGroupHandling getDefaultRemoveEmptyGroupHandling()
Returns the default removal handling for a CSOList.
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
CSORemoveEmptyGroupHandling
Enumeration for empty groups removal.