MCPcopy Create free account
hub / github.com/MITK/MITK / CheckEvent

Method CheckEvent

Modules/Multilabel/src/mitkMultiLabelEvents.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 const char* AnyLabelEvent::GetEventName() const { return "AnyLabelEvent"; }
24
25 bool AnyLabelEvent::CheckEvent(const itk::EventObject* e) const
26 {
27 auto castedE = dynamic_cast<const AnyLabelEvent*>(e);
28
29 return (nullptr != castedE) && ((castedE->m_LabelValue == m_LabelValue) || (ANY_LABEL == castedE->m_LabelValue) || (ANY_LABEL == m_LabelValue));
30 }
31
32 itk::EventObject* AnyLabelEvent::MakeObject() const { return new AnyLabelEvent(); }
33

Callers 8

onFitEventFunction · 0.45
SetGeometryMethod · 0.45
OnNodeModifiedMethod · 0.45
SetGeometryMethod · 0.45
SetGeometrySliceMethod · 0.45
OnNodeModifiedMethod · 0.45
OnNodeModifiedMethod · 0.45
OnFitEventMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected