MeVisLab Scripting Reference
|
#include <mlCSOEventWrapper.h>
Inherits QObject.
Public Types | |
enum | CSOEventType { NONE = ml::CSOEvent::NONE , MODULE_EVENT = ml::CSOEvent::MODULE_EVENT , CSOLIST_EVENT_GROUP_OPEN = ml::CSOEvent::CSOLIST_EVENT_GROUP_OPEN , CSOLIST_EVENT_GROUP_CLOSE = ml::CSOEvent::CSOLIST_EVENT_GROUP_CLOSE , CSOLIST_CLEAR = ml::CSOEvent::CSOLIST_CLEAR , CSOLIST_CLONE = ml::CSOEvent::CSOLIST_CLONE , CSOLIST_MERGE = ml::CSOEvent::CSOLIST_MERGE , CSOLIST_LOAD = ml::CSOEvent::CSOLIST_LOAD , CSO_ADD = ml::CSOEvent::CSO_ADD , CSO_REMOVE = ml::CSOEvent::CSO_REMOVE , CSO_MODIFICATION = ml::CSOEvent::CSO_MODIFICATION , CSO_COPY = ml::CSOEvent::CSO_COPY , CSO_CLOSING = ml::CSOEvent::CSO_CLOSING , CSO_OPENING = ml::CSOEvent::CSO_OPENING , CSO_GEOMETRY_CHANGE = ml::CSOEvent::CSO_GEOMETRY_CHANGE , CSO_DELETE_SEEDPOINT = ml::CSOEvent::CSO_DELETE_SEEDPOINT , CSO_MOUSE_OVER_CHANGE = ml::CSOEvent::CSO_MOUSE_OVER_CHANGE , CSO_SELECTION_CHANGE = ml::CSOEvent::CSO_SELECTION_CHANGE , CSO_USER_DATA_CHANGE = ml::CSOEvent::CSO_USER_DATA_CHANGE , CSO_VISUAL_ATTRIBUTE_CHANGE = ml::CSOEvent::CSO_VISUAL_ATTRIBUTE_CHANGE , CSO_LABEL = ml::CSOEvent::CSO_LABEL , CSO_DESCRIPTION = ml::CSOEvent::CSO_DESCRIPTION , CSO_TIMEPOINT_INDEX = ml::CSOEvent::CSO_TIMEPOINT_INDEX , CSO_SHOW_STATE = ml::CSOEvent::CSO_SHOW_STATE , CSO_EDITABLE_STATE = ml::CSOEvent::CSO_EDITABLE_STATE , CSO_VOXELIZE_STATE = ml::CSOEvent::CSO_VOXELIZE_STATE , CSO_VOXEL_WRITE_MODE = ml::CSOEvent::CSO_VOXEL_WRITE_MODE , CSO_VOXEL_WRITE_VALUE = ml::CSOEvent::CSO_VOXEL_WRITE_VALUE , GROUP_ADD = ml::CSOEvent::GROUP_ADD , GROUP_REMOVE = ml::CSOEvent::GROUP_REMOVE , GROUP_CLEAR = ml::CSOEvent::GROUP_CLEAR , GROUP_COPY = ml::CSOEvent::GROUP_COPY , CSO_ADD_TO_GROUP = ml::CSOEvent::CSO_ADD_TO_GROUP , CSO_REMOVE_FROM_GROUP = ml::CSOEvent::CSO_REMOVE_FROM_GROUP , GROUP_SELECTION_CHANGE = ml::CSOEvent::GROUP_SELECTION_CHANGE , GROUP_USER_DATA_CHANGE = ml::CSOEvent::GROUP_USER_DATA_CHANGE , GROUP_VISUAL_ATTRIBUTE_CHANGE = ml::CSOEvent::GROUP_VISUAL_ATTRIBUTE_CHANGE , GROUP_LABEL = ml::CSOEvent::GROUP_LABEL , GROUP_DESCRIPTION = ml::CSOEvent::GROUP_DESCRIPTION , GROUP_TIMEPOINT_INDEX = ml::CSOEvent::GROUP_TIMEPOINT_INDEX , GROUP_SHOW_STATE = ml::CSOEvent::GROUP_SHOW_STATE , GROUP_EDITABLE_STATE = ml::CSOEvent::GROUP_EDITABLE_STATE , GROUP_VOXELIZE_STATE = ml::CSOEvent::GROUP_VOXELIZE_STATE , GROUP_VOXEL_WRITE_MODE = ml::CSOEvent::GROUP_VOXEL_WRITE_MODE , GROUP_VOXEL_WRITE_VALUE = ml::CSOEvent::GROUP_VOXEL_WRITE_VALUE , CSO_INTERACTION = ml::CSOEvent::CSO_INTERACTION , CSO_CREATION = ml::CSOEvent::CSO_CREATION , NUM_CSO_EVENTS = ml::CSOEvent::NUM_CSO_EVENTS } |
Public Slots | |
CSOEventType | eventType () const |
QString | eventTypeName () const |
bool | isPostCommand () const |
bool | isPreCommand () const |
QList< unsigned int > | csoIds () const |
QList< unsigned int > | groupIds () const |
QString | senderType () const |
QString | senderName () const |
QString | customMessage () const |
A class that wraps CSOEvents objects for use in Scripting.
Enumeration for specifying the exact type of event.
|
slot |
Returns the vector with CSO ids.
|
slot |
Returns the custom message string. This can be used to identify the method or the subroutine from where the event is sent.
|
slot |
Returns the event type.
|
slot |
Returns the event type as a string - please don't expect that these strings will stay the same (they are only for debugging), rather use eventType with the CSOEventType constants.
|
slot |
Returns the vector with CSOGroup ids.
|
slot |
Returns whether the event is a post command.
|
slot |
Returns whether the event is a pre command.
|
slot |
Returns the sender name string. This is typically the module instance name from where the event is sent.
|
slot |
Returns the sender type string. This is typically the module type from where the event is sent.