Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::DICOMGDCMImageFrameInfo Class Reference

The dataset access implementation for DICOMITKSeriesGDCMReader, based on GDCM. More...

#include <mitkDICOMGDCMImageFrameInfo.h>

Inheritance diagram for mitk::DICOMGDCMImageFrameInfo:
Collaboration diagram for mitk::DICOMGDCMImageFrameInfo:

Public Member Functions

 mitkClassMacro (DICOMGDCMImageFrameInfo, DICOMDatasetAccessingImageFrameInfo)
 
 mitkNewMacro1Param (DICOMGDCMImageFrameInfo, const std::string &)
 
 mitkNewMacro2Param (DICOMGDCMImageFrameInfo, const std::string &, unsigned int)
 
 mitkNewMacro1Param (DICOMGDCMImageFrameInfo, const DICOMImageFrameInfo::Pointer &)
 
 mitkNewMacro2Param (DICOMGDCMImageFrameInfo, const DICOMImageFrameInfo::Pointer &, gdcm::Scanner::TagToValue const &)
 
virtual ~DICOMGDCMImageFrameInfo ()
 
virtual DICOMDatasetFinding GetTagValueAsString (const DICOMTag &) const override
 Return a DICOMDatasetFinding instance of the tag. The return containes (if valid) the raw value of the tag as a string. More...
 
virtual FindingsListType GetTagValueAsString (const DICOMTagPath &path) const override
 Return a list of DICOMDatasetFindings of the passed tag path. The return containes (if valid) the raw value of the tag as a string. More...
 
std::string GetFilenameIfAvailable () const override
 Return a filename if possible. If DICOM is not read from file but from somewhere else (network, database), we might not have files. More...
 
- Public Member Functions inherited from mitk::DICOMDatasetAccessingImageFrameInfo
 mitkClassMacro (DICOMDatasetAccessingImageFrameInfo, DICOMImageFrameInfo)
 
- Public Member Functions inherited from mitk::DICOMImageFrameInfo
 mitkClassMacroItkParent (DICOMImageFrameInfo, itk::LightObject) static Pointer New()
 
 mitkNewMacro1Param (DICOMImageFrameInfo, const std::string &)
 
 mitkNewMacro2Param (DICOMImageFrameInfo, const std::string &, unsigned int)
 
bool operator== (const DICOMImageFrameInfo &other) const
 
- Public Member Functions inherited from mitk::DICOMDatasetAccess
virtual ~DICOMDatasetAccess ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 DICOMGDCMImageFrameInfo (const DICOMImageFrameInfo::Pointer &frameinfo)
 
 DICOMGDCMImageFrameInfo (const DICOMImageFrameInfo::Pointer &frameinfo, gdcm::Scanner::TagToValue const &tagToValueMapping)
 
 DICOMGDCMImageFrameInfo (const std::string &filename="", unsigned int frameNo=0)
 
- Protected Member Functions inherited from mitk::DICOMDatasetAccessingImageFrameInfo
 DICOMDatasetAccessingImageFrameInfo (const std::string &filename="", unsigned int frameNo=0)
 
virtual ~DICOMDatasetAccessingImageFrameInfo ()
 
- Protected Member Functions inherited from mitk::DICOMImageFrameInfo
 DICOMImageFrameInfo (const std::string &filename="", unsigned int frameNo=0)
 

Protected Attributes

const gdcm::Scanner::TagToValue m_TagForValue
 

Additional Inherited Members

- Public Types inherited from mitk::DICOMDatasetAccess
typedef std::list< DICOMDatasetFindingFindingsListType
 
- Public Attributes inherited from mitk::DICOMImageFrameInfo
const std::string Filename
 absolute filename More...
 
const unsigned int FrameNo
 frame number, starting with 0 More...
 

Detailed Description

The dataset access implementation for DICOMITKSeriesGDCMReader, based on GDCM.

This class combines a DICOMImageFrameInfo object with the scanning results from gdcm::Scanner. The scanning results will be used to implement the tag access methods of DICOMDatasetAccess.

Definition at line 34 of file mitkDICOMGDCMImageFrameInfo.h.

Constructor & Destructor Documentation

mitk::DICOMGDCMImageFrameInfo::~DICOMGDCMImageFrameInfo ( )
virtual

Definition at line 41 of file mitkDICOMGDCMImageFrameInfo.cpp.

mitk::DICOMGDCMImageFrameInfo::DICOMGDCMImageFrameInfo ( const DICOMImageFrameInfo::Pointer &  frameinfo)
protected

Definition at line 27 of file mitkDICOMGDCMImageFrameInfo.cpp.

mitk::DICOMGDCMImageFrameInfo::DICOMGDCMImageFrameInfo ( const DICOMImageFrameInfo::Pointer &  frameinfo,
gdcm::Scanner::TagToValue const &  tagToValueMapping 
)
protected

Definition at line 34 of file mitkDICOMGDCMImageFrameInfo.cpp.

mitk::DICOMGDCMImageFrameInfo::DICOMGDCMImageFrameInfo ( const std::string &  filename = "",
unsigned int  frameNo = 0 
)
protected

Definition at line 20 of file mitkDICOMGDCMImageFrameInfo.cpp.

Member Function Documentation

std::string mitk::DICOMGDCMImageFrameInfo::GetFilenameIfAvailable ( ) const
overridevirtual

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

Implements mitk::DICOMDatasetAccess.

Definition at line 110 of file mitkDICOMGDCMImageFrameInfo.cpp.

mitk::DICOMDatasetFinding mitk::DICOMGDCMImageFrameInfo::GetTagValueAsString ( const DICOMTag tag) const
overridevirtual

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

Parameters
tagTag which value should be retreived.

Implements mitk::DICOMDatasetAccess.

Definition at line 47 of file mitkDICOMGDCMImageFrameInfo.cpp.

References mitk::DICOMTag::GetElement(), mitk::DICOMTag::GetGroup(), mitk::DICOMDatasetFinding::isValid, and mitk::DICOMDatasetFinding::value.

mitk::DICOMDatasetAccess::FindingsListType mitk::DICOMGDCMImageFrameInfo::GetTagValueAsString ( const DICOMTagPath path) const
overridevirtual

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

Parameters
pathTag path which value should be retreived.

Implements mitk::DICOMDatasetAccess.

Definition at line 98 of file mitkDICOMGDCMImageFrameInfo.cpp.

References mitk::DICOMTagPath::GetFirstNode(), mitk::DICOMTagPath::IsExplicit(), mitk::DICOMTagPath::Size(), and mitk::DICOMTagPath::NodeInfo::tag.

mitk::DICOMGDCMImageFrameInfo::mitkClassMacro ( DICOMGDCMImageFrameInfo  ,
DICOMDatasetAccessingImageFrameInfo   
)
mitk::DICOMGDCMImageFrameInfo::mitkNewMacro1Param ( DICOMGDCMImageFrameInfo  ,
const std::string &   
)
mitk::DICOMGDCMImageFrameInfo::mitkNewMacro1Param ( DICOMGDCMImageFrameInfo  ,
const DICOMImageFrameInfo::Pointer &   
)
mitk::DICOMGDCMImageFrameInfo::mitkNewMacro2Param ( DICOMGDCMImageFrameInfo  ,
const std::string &  ,
unsigned  int 
)
mitk::DICOMGDCMImageFrameInfo::mitkNewMacro2Param ( DICOMGDCMImageFrameInfo  ,
const DICOMImageFrameInfo::Pointer &  ,
gdcm::Scanner::TagToValue const &   
)
static Pointer mitk::DICOMGDCMImageFrameInfo::New ( )
static

Member Data Documentation

const gdcm::Scanner::TagToValue mitk::DICOMGDCMImageFrameInfo::m_TagForValue
protected

Definition at line 58 of file mitkDICOMGDCMImageFrameInfo.h.


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