Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::AnyLabelEvent Class Reference

#include <mitkMultiLabelEvents.h>

Inheritance diagram for mitk::AnyLabelEvent:
Collaboration diagram for mitk::AnyLabelEvent:

Public Types

using Self = AnyLabelEvent
 
using Superclass = itk::ModifiedEvent
 

Public Member Functions

 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
 

Static Public Attributes

const static mitk::Label::PixelType ANY_LABEL
 

Detailed Description

Base event class for all events that are about a label 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 66 of file mitkMultiLabelEvents.h.

Member Typedef Documentation

◆ Self

◆ Superclass

using mitk::AnyLabelEvent::Superclass = itk::ModifiedEvent

Definition at line 70 of file mitkMultiLabelEvents.h.

Constructor & Destructor Documentation

◆ AnyLabelEvent() [1/3]

mitk::AnyLabelEvent::AnyLabelEvent ( )
default

◆ AnyLabelEvent() [2/3]

mitk::AnyLabelEvent::AnyLabelEvent ( Label::PixelType  labelValue)

◆ AnyLabelEvent() [3/3]

mitk::AnyLabelEvent::AnyLabelEvent ( const Self s)

◆ ~AnyLabelEvent()

mitk::AnyLabelEvent::~AnyLabelEvent ( )
override

Member Function Documentation

◆ CheckEvent()

bool mitk::AnyLabelEvent::CheckEvent ( const itk::EventObject *  e) const
override

◆ GetEventName()

const char* mitk::AnyLabelEvent::GetEventName ( ) const
override

◆ GetLabelValue()

Label::PixelType mitk::AnyLabelEvent::GetLabelValue ( ) const

◆ MakeObject()

itk::EventObject* mitk::AnyLabelEvent::MakeObject ( ) const
override

◆ SetLabelValue()

void mitk::AnyLabelEvent::SetLabelValue ( Label::PixelType  labelValue)

Member Data Documentation

◆ ANY_LABEL

const static mitk::Label::PixelType mitk::AnyLabelEvent::ANY_LABEL
static

Definition at line 71 of file mitkMultiLabelEvents.h.


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