50 const std::string& senderType=
"",
51 const std::string& senderName=
"",
52 const std::string& customMessage=
"",
62 std::string _senderType;
63 std::string _senderName;
64 std::string _customMessage;
129 void setId(
unsigned int groupId) { _groupId = groupId; }
132 unsigned int _groupId;
143 void setId(
unsigned int csoId) { _csoId = csoId; }
157 void setId(
unsigned int csoId) { _csoId = csoId; }
175 void _sendPreEvent();
191 void _sendPreEvent();
209 unsigned int _groupId;
224 bool _shouldSendEvents();
225 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 if a CSO has been added.
void setId(unsigned int csoId)
CSOAddScope(CSOList *csoList)
Class for sending events if a CSO was added to a Group.
CSOAddToGroupScope(CSOList *csoList, unsigned int csoId, unsigned int groupId)
Class for sending events if 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 if 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 if the geometry of a CSO has changed.
CSOGeometryChangeScope(CSOList *csoList, unsigned int csoId)
CSOGeometryChangeScope(CSO *cso)
Class for sending events if a CSOGroup has been added.
void setId(unsigned int groupId)
CSOGroupAddScope(CSOList *csoList)
Class for sending events if 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 if 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 if 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 if a CSO was removed from a Group.
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 if 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.