Medical Imaging Interaction Toolkit  2023.12.99-63768887
Medical Imaging Interaction Toolkit
mitk::DICOMDatasetAccess Class Referenceabstract

Interface to datasets that is presented to sorting classes such as DICOMDatasetSorter. More...

#include <mitkDICOMDatasetAccess.h>

Inheritance diagram for mitk::DICOMDatasetAccess:

Public Types

typedef std::list< DICOMDatasetFindingFindingsListType
 

Public Member Functions

virtual std::string GetFilenameIfAvailable () const =0
 Return a filename if possible. If DICOM is not read from file but from somewhere else (network, database), we might not have files. More...
 
virtual DICOMDatasetFinding GetTagValueAsString (const DICOMTag &tag) const =0
 Return a DICOMDatasetFinding instance of the tag. The return contains (if valid) the raw value of the tag as a string. More...
 
virtual FindingsListType GetTagValueAsString (const DICOMTagPath &path) const =0
 Return a list of DICOMDatasetFindings of the passed tag path. The return contains (if valid) the raw value of the tag as a string. More...
 
virtual ~DICOMDatasetAccess ()
 

Detailed Description

Interface to datasets that is presented to sorting classes such as DICOMDatasetSorter.

Minimal interface to hide actual implementation, which might rely on GDCM.

Definition at line 45 of file mitkDICOMDatasetAccess.h.

Member Typedef Documentation

◆ FindingsListType

Constructor & Destructor Documentation

◆ ~DICOMDatasetAccess()

virtual mitk::DICOMDatasetAccess::~DICOMDatasetAccess ( )
inlinevirtual

Definition at line 66 of file mitkDICOMDatasetAccess.h.

Member Function Documentation

◆ GetFilenameIfAvailable()

virtual std::string mitk::DICOMDatasetAccess::GetFilenameIfAvailable ( ) const
pure virtual

Return a filename if possible. If DICOM is not read from file but from somewhere else (network, database), we might not have files.

Implemented in mitk::DICOMGDCMImageFrameInfo, and mitk::DICOMGenericImageFrameInfo.

◆ GetTagValueAsString() [1/2]

virtual DICOMDatasetFinding mitk::DICOMDatasetAccess::GetTagValueAsString ( const DICOMTag tag) const
pure virtual

Return a DICOMDatasetFinding instance of the tag. The return contains (if valid) the raw value of the tag as a string.

Parameters
tagTag which value should be retrieved.

Implemented in mitk::DICOMGDCMImageFrameInfo, and mitk::DICOMGenericImageFrameInfo.

◆ GetTagValueAsString() [2/2]

virtual FindingsListType mitk::DICOMDatasetAccess::GetTagValueAsString ( const DICOMTagPath path) const
pure virtual

Return a list of DICOMDatasetFindings of the passed tag path. The return contains (if valid) the raw value of the tag as a string.

Parameters
pathTag path which value should be retrieved.

Implemented in mitk::DICOMGDCMImageFrameInfo, and mitk::DICOMGenericImageFrameInfo.


The documentation for this class was generated from the following file: