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