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

#include <mitkMultiLabelEvents.h>

Inheritance diagram for mitk::LabelModifiedEvent:
Collaboration diagram for mitk::LabelModifiedEvent:

Public Types

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

Public Member Functions

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

Member Typedef Documentation

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ LabelModifiedEvent() [1/3]

mitk::LabelModifiedEvent::LabelModifiedEvent ( )
default

◆ LabelModifiedEvent() [2/3]

mitk::LabelModifiedEvent::LabelModifiedEvent ( Label::PixelType  value)

◆ LabelModifiedEvent() [3/3]

mitk::LabelModifiedEvent::LabelModifiedEvent ( const Self s)

◆ ~ LabelModifiedEvent()

virtual mitk::LabelModifiedEvent::~ LabelModifiedEvent ( )
overridevirtual

Member Function Documentation

◆ CheckEvent()

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

◆ GetEventName()

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

◆ MakeObject()

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

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