| 771 | } |
| 772 | |
| 773 | mitk::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 | |
| 785 | std::size_t mitk::Label::GetAnatomicRegionCount() const |
| 786 | { |
no outgoing calls