Medical Imaging Interaction Toolkit  2024.06.99-c70462f2
Medical Imaging Interaction Toolkit
mitk::LabelRemovedEvent Class Reference

#include <mitkMultiLabelEvents.h>

Inheritance diagram for mitk::LabelRemovedEvent:
Collaboration diagram for mitk::LabelRemovedEvent:

Public Types

using Self = LabelRemovedEvent
 
using Superclass = AnyLabelEvent
 
- Public Types inherited from mitk::AnyLabelEvent
using Self = AnyLabelEvent
 
using Superclass = itk::ModifiedEvent
 

Public Member Functions

 LabelRemovedEvent ()=default
 
 LabelRemovedEvent (Label::PixelType value)
 
 LabelRemovedEvent (const Self &s)
 
virtual ~ LabelRemovedEvent () override
 
virtual const char * GetEventName () const override
 
virtual bool CheckEvent (const itk::EventObject *e) const override
 
virtual itk::EventObject * MakeObject () const override
 
- Public Member Functions inherited from mitk::AnyLabelEvent
 AnyLabelEvent ()=default
 
 AnyLabelEvent (Label::PixelType labelValue)
 
 AnyLabelEvent (const Self &s)
 
 ~AnyLabelEvent () override
 
const char * GetEventName () const override
 
bool CheckEvent (const itk::EventObject *e) const override
 
itk::EventObject * MakeObject () const override
 
void SetLabelValue (Label::PixelType labelValue)
 
Label::PixelType GetLabelValue () const
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::AnyLabelEvent
const static mitk::Label::PixelType ANY_LABEL
 

Detailed Description

Event class that is used to indicated if a label is removed in a MultiLabel class.

It has a member that indicates the label id the event is refering to. Use the ANY_LABEL value if you want to define an rvent (e.g. for adding an observer) that reacts to every label and not just to a special one.

Definition at line 110 of file mitkMultiLabelEvents.h.

Member Typedef Documentation

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ LabelRemovedEvent() [1/3]

mitk::LabelRemovedEvent::LabelRemovedEvent ( )
default

◆ LabelRemovedEvent() [2/3]

mitk::LabelRemovedEvent::LabelRemovedEvent ( Label::PixelType  value)

◆ LabelRemovedEvent() [3/3]

mitk::LabelRemovedEvent::LabelRemovedEvent ( const Self s)

◆ ~ LabelRemovedEvent()

virtual mitk::LabelRemovedEvent::~ LabelRemovedEvent ( )
overridevirtual

Member Function Documentation

◆ CheckEvent()

virtual bool mitk::LabelRemovedEvent::CheckEvent ( const itk::EventObject *  e) const
overridevirtual

◆ GetEventName()

virtual const char* mitk::LabelRemovedEvent::GetEventName ( ) const
overridevirtual

◆ MakeObject()

virtual itk::EventObject* mitk::LabelRemovedEvent::MakeObject ( ) const
overridevirtual

The documentation for this class was generated from the following file: