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

Method GetAnatomicRegion

Modules/Multilabel/src/mitkLabel.cpp:773–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771}
772
773mitk::DICOMCodeSequenceWithModifiers mitk::Label::GetAnatomicRegion(std::size_t index) const
774{
775 PropertyKeyPath basePath;
776 basePath.AddSelection(LabelPropertyConstants::GetAnatomicRegionPropertyBaseName(), index);
777 auto result = GetDICOMCodeSequenceWithModifiersFromProperties(basePath);
778
779 if (!result.has_value())
780 mitkThrow() << "Cannot get AnatomicRegion code. Index seems to be invalid. Index: " << index;
781
782 return *result;
783}
784
785std::size_t mitk::Label::GetAnatomicRegionCount() const
786{

Callers 5

BuildMetaInfoHandlerMethod · 0.80
TestDICOMFunctionsMethod · 0.80
dataMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestDICOMFunctionsMethod · 0.64