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

Method VisitLabels

Modules/Multilabel/src/mitkLabelSetImage.cpp:1357–1361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1355}
1356
1357void mitk::MultiLabelSegmentation::VisitLabels(const LabelValueVectorType& values, std::function<void(const Label*)>&& lambda) const
1358{
1359 auto labels = this->GetConstLabelsByValue(values);
1360 std::for_each(labels.begin(), labels.end(), lambda);
1361}
1362
1363
1364void mitk::MultiLabelSegmentation::OnLabelModified(const Object* sender, const itk::EventObject&)

Callers 3

GetLabelValuesByNameMethod · 0.95
GetLabelClassNamesMethod · 0.95

Calls 3

GetConstLabelsByValueMethod · 0.95
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected