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

Method SetSelectedLabels

Modules/SegmentationUI/src/QmitkMultiLabelInspector.cpp:340–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340void QmitkMultiLabelInspector::SetSelectedLabels(const LabelValueVectorType& selectedLabels)
341{
342 if (mitk::Equal(this->GetSelectedLabels(), selectedLabels))
343 {
344 return;
345 }
346
347 this->UpdateSelectionModel(selectedLabels);
348 m_LastValidSelectedLabels = selectedLabels;
349}
350
351void QmitkMultiLabelInspector::UpdateSelectionModel(const LabelValueVectorType& selectedLabels)
352{

Callers 4

SetSelectedLabelMethod · 0.95
DeleteLabelInternalMethod · 0.95
RemoveGroupInternalMethod · 0.95
OnRenameLabelMethod · 0.95

Calls 3

GetSelectedLabelsMethod · 0.95
UpdateSelectionModelMethod · 0.95
EqualFunction · 0.50

Tested by

no test coverage detected