Base event class for all group-related events in a MultiLabelSegmentation.
More...
#include <mitkMultiLabelEvents.h>
Base event class for all group-related events in a MultiLabelSegmentation.
This event carries a group index identifying which spatial group the event refers to. Use the special ANY_GROUP value when adding an observer that should react to events for any group, not just a specific one.
- See also
- GroupAddedEvent, GroupModifiedEvent, GroupRemovedEvent, MultiLabelSegmentation
Definition at line 211 of file mitkMultiLabelEvents.h.
◆ GroupIndexType
◆ Self
◆ Superclass
◆ AnyGroupEvent() [1/3]
| mitk::AnyGroupEvent::AnyGroupEvent |
( |
| ) |
|
|
default |
◆ AnyGroupEvent() [2/3]
Constructor with a specific group index.
- Parameters
-
| [in] | groupID | The group index this event refers to. |
◆ AnyGroupEvent() [3/3]
| mitk::AnyGroupEvent::AnyGroupEvent |
( |
const Self & |
s | ) |
|
◆ ~AnyGroupEvent()
| mitk::AnyGroupEvent::~AnyGroupEvent |
( |
| ) |
|
|
override |
◆ CheckEvent()
| bool mitk::AnyGroupEvent::CheckEvent |
( |
const itk::EventObject * |
e | ) |
const |
|
override |
Checks if a given event matches this event type and group index.
- Parameters
-
| [in] | e | The event to check against. |
- Returns
- true if the event matches.
◆ GetEventName()
| const char* mitk::AnyGroupEvent::GetEventName |
( |
| ) |
const |
|
override |
Returns the name of this event class.
◆ GetGroupID()
Returns the group index this event refers to.
- Returns
- The group index, or ANY_GROUP if applicable to all groups.
◆ MakeObject()
| itk::EventObject* mitk::AnyGroupEvent::MakeObject |
( |
| ) |
const |
|
override |
Creates a copy of this event.
◆ SetGroupID()
Sets the group index this event refers to.
- Parameters
-
| [in] | groupID | The group index. |
◆ ANY_GROUP
The documentation for this class was generated from the following file: