Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
A generic storage class for image frame info with data access. More...
#include <mitkDICOMGenericImageFrameInfo.h>
Public Member Functions | |
mitkClassMacro (DICOMGenericImageFrameInfo, DICOMDatasetAccessingImageFrameInfo) | |
mitkNewMacro1Param (DICOMGenericImageFrameInfo, const std::string &) | |
mitkNewMacro2Param (DICOMGenericImageFrameInfo, const std::string &, unsigned int) | |
mitkNewMacro1Param (DICOMGenericImageFrameInfo, const DICOMImageFrameInfo::Pointer &) | |
virtual | ~DICOMGenericImageFrameInfo () |
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... | |
void | SetTagValue (const DICOMTagPath &path, const std::string &value) |
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 Types | |
typedef std::map< DICOMTagPath, std::string > | ValueMapType |
Protected Member Functions | |
DICOMGenericImageFrameInfo (const DICOMImageFrameInfo::Pointer &frameinfo) | |
DICOMGenericImageFrameInfo (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 | |
ValueMapType | m_Values |
Additional Inherited Members | |
Public Types inherited from mitk::DICOMDatasetAccess | |
typedef std::list< DICOMDatasetFinding > | FindingsListType |
Public Attributes inherited from mitk::DICOMImageFrameInfo | |
const std::string | Filename |
absolute filename More... | |
const unsigned int | FrameNo |
frame number, starting with 0 More... | |
A generic storage class for image frame info with data access.
Definition at line 30 of file mitkDICOMGenericImageFrameInfo.h.
|
protected |
Definition at line 56 of file mitkDICOMGenericImageFrameInfo.h.
|
virtual |
Definition at line 33 of file mitkDICOMGenericImageFrameInfo.cpp.
|
protected |
Definition at line 27 of file mitkDICOMGenericImageFrameInfo.cpp.
|
protected |
Definition at line 21 of file mitkDICOMGenericImageFrameInfo.cpp.
|
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 84 of file mitkDICOMGenericImageFrameInfo.cpp.
|
overridevirtual |
Return a DICOMDatasetFinding instance of the tag. The return containes (if valid) the raw value of the tag as a string.
tag | Tag which value should be retreived. |
Implements mitk::DICOMDatasetAccess.
Definition at line 39 of file mitkDICOMGenericImageFrameInfo.cpp.
References mitk::DICOMDatasetFinding::isValid, mitk::DICOMDatasetFinding::path, and mitk::DICOMDatasetFinding::value.
|
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.
path | Tag path which value should be retreived. |
Implements mitk::DICOMDatasetAccess.
Definition at line 56 of file mitkDICOMGenericImageFrameInfo.cpp.
References mitk::DICOMTagPath::Equals().
mitk::DICOMGenericImageFrameInfo::mitkClassMacro | ( | DICOMGenericImageFrameInfo | , |
DICOMDatasetAccessingImageFrameInfo | |||
) |
mitk::DICOMGenericImageFrameInfo::mitkNewMacro1Param | ( | DICOMGenericImageFrameInfo | , |
const std::string & | |||
) |
mitk::DICOMGenericImageFrameInfo::mitkNewMacro1Param | ( | DICOMGenericImageFrameInfo | , |
const DICOMImageFrameInfo::Pointer & | |||
) |
mitk::DICOMGenericImageFrameInfo::mitkNewMacro2Param | ( | DICOMGenericImageFrameInfo | , |
const std::string & | , | ||
unsigned | int | ||
) |
|
static |
Referenced by mitk::DICOMDCMTKTagScanner::Scan().
void mitk::DICOMGenericImageFrameInfo::SetTagValue | ( | const DICOMTagPath & | path, |
const std::string & | value | ||
) |
Sets the value for a passed tag path. If the tag path is already set, it will be overwritten with the new value.
Definition at line 72 of file mitkDICOMGenericImageFrameInfo.cpp.
References mitk::DICOMTagPath::IsExplicit(), mitkThrow, and mitk::DICOMTagPath::ToStr().
|
protected |
Definition at line 57 of file mitkDICOMGenericImageFrameInfo.h.