| 818 | } |
| 819 | |
| 820 | std::size_t mitk::Label::GetPrimaryAnatomicStructureCount() const |
| 821 | { |
| 822 | PropertyKeyPath searchPath; |
| 823 | searchPath.AddAnySelection(LabelPropertyConstants::GetPrimaryAnatomicStructurePropertyBaseName()); |
| 824 | searchPath.AddElement(LabelPropertyConstants::GetValuePropertySubName()); |
| 825 | |
| 826 | return FindIndexedPropertyNames(this, searchPath).size(); |
| 827 | } |
| 828 | |
| 829 | void mitk::Label::RemovePrimaryAnatomicStructure(std::size_t index) |
| 830 | { |