MCPcopy Create free account
hub / github.com/MITK/MITK / ~MultiLabelSegmentation

Method ~MultiLabelSegmentation

Modules/Multilabel/src/mitkLabelSetImage.cpp:243–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241
242
243mitk::MultiLabelSegmentation::~MultiLabelSegmentation()
244{
245 for (auto [value, label] : m_LabelMap)
246 {
247 (void)value; // Prevent unused variable error in older compilers
248 this->ReleaseLabel(label);
249 }
250 m_LabelMap.clear();
251}
252
253unsigned int mitk::MultiLabelSegmentation::GetActiveLayer() const
254{

Callers

nothing calls this directly

Calls 2

ReleaseLabelMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected