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

Method SetGroupName

Modules/Multilabel/src/mitkLabelSetImage.cpp:641–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641void mitk::MultiLabelSegmentation::SetGroupName(GroupIndexType groupID, const std::string& name)
642{
643 if (!this->ExistGroup(groupID))
644 mitkThrow() << "Error, cannot set group name. Group ID is invalid. Invalid ID: " << groupID;
645
646 m_Groups[groupID] = name;
647 this->InvokeEvent(GroupModifiedEvent(groupID));
648}
649
650
651void mitk::MultiLabelSegmentation::SetActiveLabel(LabelValueType label)

Callers 9

DoReadMethod · 0.80
LoadNewJSONPresetFunction · 0.80
setUpMethod · 0.80
RenameGroupTestMethod · 0.80
setDataMethod · 0.80
OnRenameGroupMethod · 0.80
mainFunction · 0.80
ApplyGroupModificationFunction · 0.80

Calls 1

ExistGroupMethod · 0.95

Tested by 3

setUpMethod · 0.64
RenameGroupTestMethod · 0.64
OnRenameGroupMethod · 0.64