Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
#include <mitkMultiLabelEvents.h>
Public Types | |
using | Self = LabelsChangedEvent |
using | Superclass = itk::ModifiedEvent |
Public Member Functions | |
LabelsChangedEvent ()=default | |
LabelsChangedEvent (std::vector< Label::PixelType > labelValues) | |
LabelsChangedEvent (const Self &s) | |
~LabelsChangedEvent () override | |
const char * | GetEventName () const override |
bool | CheckEvent (const itk::EventObject *e) const override |
itk::EventObject * | MakeObject () const override |
void | SetLabelValues (std::vector< Label::PixelType > labelValues) |
std::vector< Label::PixelType > | GetLabelValues () const |
Event class that is used to indicated if a set of labels is changed in a MultiLabel class.
In difference to the other label events LabelsChangedEvent is send only one time after the modification of the MultiLableImage instance is finished. So e.g. even if 4 labels are changed by a merge operation, this event will only be sent once (compared to LabelRemoved or LabelModified). It has a member that indicates the label ids the event is refering to.
Definition at line 120 of file mitkMultiLabelEvents.h.
Definition at line 123 of file mitkMultiLabelEvents.h.
using mitk::LabelsChangedEvent::Superclass = itk::ModifiedEvent |
Definition at line 124 of file mitkMultiLabelEvents.h.
|
default |
mitk::LabelsChangedEvent::LabelsChangedEvent | ( | std::vector< Label::PixelType > | labelValues | ) |
mitk::LabelsChangedEvent::LabelsChangedEvent | ( | const Self & | s | ) |
|
override |
|
override |
|
override |
std::vector<Label::PixelType> mitk::LabelsChangedEvent::GetLabelValues | ( | ) | const |
|
override |
void mitk::LabelsChangedEvent::SetLabelValues | ( | std::vector< Label::PixelType > | labelValues | ) |