#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
virtual int getModuleCreatorId() const =0
Returns the module's creator id.
virtual float getDefaultPathPointWidth() const =0
Returns the set default path point width for a new CSO.
virtual ~CSOGeneratorBase()=default
virtual Vector3 getDefaultSeedPointColor() const =0
Returns the set default seed point color for a new CSO.
virtual int getDefaultSeedPointStyle() const =0
Returns the set default seed point style for a new CSO.
virtual std::string getModuleType() const =0
Returns the module's type string.
CSOGroup * generatorGetParentGroup(CSOList *csoList, bool useUndoRedo=false, bool generate=false)
Returns the parent group according to current group settings.
void generatorEmptyGroupOnDemand(CSOList *csoList)
Empties a group on demand of the given CSOList with the set label.
CSO * generatorAddCSONoEvent(CSOList *csoList, bool useUndoRedo=true, bool sendEvent=false)
See generatorAddCSO, but no group scope event is emitted. (So this method is faster!...
virtual float getDefaultPathPointAlpha() const =0
Returns the set default path point alpha for a new CSO.
CSOGeneratorBase()
Default constructor.
virtual float getDefaultVoxelWriteValue() const =0
Returns the set default voxel write value for a new CSO.
virtual Vector3 getDefaultPathPointColor() const =0
Returns the set default path point color for a new CSO.
virtual int getDefaultPathPointStyle() const =0
Returns the set default path point style for a new CSO.
virtual int getAddCSOToGroupMode() const =0
Returns the group generation mode.
virtual int getDefaultVoxelWriteMode() const =0
Returns the set default voxel write mode for a new CSO.
CSO * generatorAddCSO(CSOList *csoList, bool useUndoRedo=true)
Adds a new CSO to the CSOList.
virtual bool getShouldEmptyBeforeGeneration() const =0
Returns whether the module should empty a group before generating CSOs into it.
virtual float getDefaultSeedPointAlpha() const =0
Returns the set default seed point alpha for a new CSO.
virtual float getDefaultSeedPointSize() const =0
Returns the set default seed point size for a new CSO.
virtual int getAddCSOToGroupId() const =0
Returns the id of a target group.
virtual std::string getAddCSOToGroupLabel() const =0
Returns the label string of a target group.
A CSOGroup comprises a number of CSOs, which themselves can be in a number of different CSOGroups.
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
The CSO represents a contour segmentation object.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
CSOAddToGroupModes
Enumeration of the add to group modes.
@ GROUP_BY_ID
Add to group with is as defined by _addCSOToGroupWithIdFld. If no group with this id exists,...
@ GROUP_BY_LABEL
Add to group with label as defined by _addCSOToGroupWithLabelFld. A new group is generated if no grou...