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

Method GetAllLabelValues

Modules/Multilabel/src/mitkLabelSetImage.cpp:345–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343};
344
345const mitk::MultiLabelSegmentation::LabelValueVectorType mitk::MultiLabelSegmentation::GetAllLabelValues() const
346{
347 LabelValueVectorType result;
348
349 for (auto [value, label] : m_LabelMap)
350 {
351 (void)label; // Prevent unused variable error in older compilers
352 result.emplace_back(value);
353 }
354 return result;
355}
356
357mitk::MultiLabelSegmentation::LabelValueVectorType mitk::MultiLabelSegmentation::GetUsedLabelValues() const
358{

Callers 15

GetLabelValuesByNameMethod · 0.95
GetLabelClassNamesMethod · 0.95
SetAllLabelsVisibleMethod · 0.95
SetAllLabelsLockedMethod · 0.95
WriteMethod · 0.80
DoReadMethod · 0.80
UpdateLookupTableMethod · 0.80
GenerateLookupTableMethod · 0.80
TestGetLabelValuesMethod · 0.80

Calls

no outgoing calls