Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitk::LabelAddedEvent Class Reference

#include <mitkMultiLabelEvents.h>

Inheritance diagram for mitk::LabelAddedEvent:
Collaboration diagram for mitk::LabelAddedEvent:

Public Types

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

Public Member Functions

 LabelAddedEvent ()=default
 
 LabelAddedEvent (Label::PixelType value)
 
 LabelAddedEvent (const Self &s)
 
virtual ~ LabelAddedEvent () 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 added 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 94 of file mitkMultiLabelEvents.h.

Member Typedef Documentation

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ LabelAddedEvent() [1/3]

mitk::LabelAddedEvent::LabelAddedEvent ( )
default

◆ LabelAddedEvent() [2/3]

mitk::LabelAddedEvent::LabelAddedEvent ( Label::PixelType  value)

◆ LabelAddedEvent() [3/3]

mitk::LabelAddedEvent::LabelAddedEvent ( const Self s)

◆ ~ LabelAddedEvent()

virtual mitk::LabelAddedEvent::~ LabelAddedEvent ( )
overridevirtual

Member Function Documentation

◆ CheckEvent()

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

◆ GetEventName()

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

◆ MakeObject()

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

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