| 589 | } |
| 590 | |
| 591 | std::string mitk::DICOMImageBlockDescriptor::GetSOPClassUID() const |
| 592 | { |
| 593 | auto tagCache = m_TagCache.Lock(); |
| 594 | |
| 595 | if ( !m_ImageFrameList.empty() && tagCache.IsNotNull() ) |
| 596 | { |
| 597 | static const DICOMTag tagSOPClassUID( 0x0008, 0x0016 ); |
| 598 | return tagCache->GetTagValue( m_ImageFrameList.front(), tagSOPClassUID ).value; |
| 599 | } |
| 600 | else |
| 601 | { |
| 602 | MITK_ERROR |
| 603 | << "Invalid call to DICOMImageBlockDescriptor::GetSOPClassUID(). Need to have initialized tag-cache!"; |
| 604 | return std::string( "" ); |
| 605 | } |
| 606 | } |
| 607 | |
| 608 | std::string mitk::DICOMImageBlockDescriptor::GetSOPClassUIDAsName() const |
| 609 | { |
no test coverage detected