64 std::string _senderType;
65 std::string _senderName;
66 std::string _customMessage;
139 unsigned int _groupId;
190 void _sendPreEvent();
206 void _sendPreEvent();
225 unsigned int _groupId;
240 bool _shouldSendEvents();
241 void _sendPreEvent();
std::vector< unsigned int > CSOIdVector
Defines a vector to hold CSO and CSOGroup IDs.
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
Class for sending event when a CSO has been added.
void setId(unsigned int csoId)
CSOAddScope(CSOList *csoList)
Class for sending events when a CSO was added to a CSOGroup.
CSOAddToGroupScope(CSOList *csoList, unsigned int csoId, unsigned int groupId)
Class for sending events when visual attribute of a CSO have changed.
CSOAttributeChangeScope(CSOList *csoList, unsigned int csoId, CSOEvent::CSOEventType eventType)
Base class for event grouping / pre-/post-command of changes of a CSO.
CSOChangeEventScope(CSOList *csoList, unsigned int id, CSOEvent::CSOEventType eventType)
CSOEvent::CSOEventType _eventType
Class for sending event when a CSO has been created.
CSOCreationScope(CSOList *csoList)
void setId(unsigned int csoId)
CSOEventType
Enumeration for specifying the exact type of event.
Class for sending events when the geometry of a CSO has changed.
CSOGeometryChangeScope(CSOList *csoList, unsigned int csoId)
CSOGeometryChangeScope(CSO *cso)
Class for sending events when a CSOGroup has been added.
void setId(unsigned int groupId)
CSOGroupAddScope(CSOList *csoList)
Class for sending events when visual attributes of a CSOGroup have changed.
CSOGroupAttributeChangeScope(CSOList *csoList, unsigned int csoId, CSOEvent::CSOEventType eventType)
Base class for event grouping / pre-/post-command of changes of a CSOGroup.
~CSOGroupChangeEventScope()
CSOGroupChangeEventScope(CSOList *csoList, unsigned int groupId, CSOEvent::CSOEventType eventType)
CSOEvent::CSOEventType _eventType
Class for sending events when the selection of CSOGroups has been changed.
CSOGroupSelectionChangeScope(CSOList *csoList, unsigned int groupId)
~CSOGroupSelectionChangeScope()
CSOGroupSelectionChangeScope(CSOList *csoList, const CSOIdVector &groupIds)
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
Class for sending events when a CSO was changed by an algorithm.
CSOModificationScope(CSOList *csoList, unsigned int csoId)
CSOModificationScope(CSO *cso)
This class is to be used in modules, not in the CSO base library.
CSOModuleEventGroupScope(CSOList *csoList, const std::string &senderType="", const std::string &senderName="", const std::string &customMessage="", CSOIdVector csoIds=CSOIdVector())
~CSOModuleEventGroupScope()
Class for sending events when a CSO was removed from a CSOGroup.
CSORemoveFromGroupScope(CSOList *csoList, const CSOIdVector &csoIds, unsigned int groupId)
CSORemoveFromGroupScope(CSOList *csoList, unsigned int csoId, const CSOIdVector &groupIds)
CSORemoveFromGroupScope(CSOList *csoList, unsigned int csoId, unsigned int groupId)
~CSORemoveFromGroupScope()
Class for sending events when the selection of CSOs has been changed.
CSOSelectionChangeScope(CSOList *csoList, const CSOIdVector &csoIds)
~CSOSelectionChangeScope()
CSOSelectionChangeScope(CSOList *csoList, unsigned int csoId)
The CSO represents a contour segmentation object.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
UINT64 MLuint64
Introduce platform-independent 64-bit unsigned integer type.