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

Method SetAllLabelsLocked

Modules/Multilabel/src/mitkLabelSetImage.cpp:1607–1612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1605}
1606
1607void mitk::MultiLabelSegmentation::SetAllLabelsLocked(bool locked)
1608{
1609 auto setLock = [locked](Label* l) { l->SetLocked(locked); };
1610
1611 this->ApplyToLabels(this->GetAllLabelValues(), setLock);
1612}
1613
1614void mitk::MultiLabelSegmentation::SetAllLabelsLockedByGroup(GroupIndexType group, bool locked)
1615{

Callers

nothing calls this directly

Calls 3

ApplyToLabelsMethod · 0.95
GetAllLabelValuesMethod · 0.95
SetLockedMethod · 0.80

Tested by

no test coverage detected