MeVisLab Toolbox Reference
ml::DicomModifyTools Namespace Reference

Functions

MLDICOMMODIFYFIELDADDONS_EXPORT std::string getCurrentDate ()
 Returns date string formatted as specified for DA Value Representation in DICOM standard.
 
MLDICOMMODIFYFIELDADDONS_EXPORT std::string getCurrentTime ()
 Returns time string formatted as specified for TM Value Representation in DICOM standard.
 
MLDICOMMODIFYFIELDADDONS_EXPORT void copyDicomTag (DCMTree::TreePtr dstTree, DCMTree::Const_TreePtr srcTree, DCMTree::RawTagId tagID)
 Copies DICOM tag from source tree to destination tree.
 
MLDICOMMODIFYFIELDADDONS_EXPORT std::string getTimezoneOffsetFromUTC ()
 Returns timezone offset string formatted as specified for Timezone Offset From UTC (0008,0201) tag in DICOM standard.
 

Function Documentation

◆ copyDicomTag()

MLDICOMMODIFYFIELDADDONS_EXPORT void ml::DicomModifyTools::copyDicomTag ( DCMTree::TreePtr dstTree,
DCMTree::Const_TreePtr srcTree,
DCMTree::RawTagId tagID )

Copies DICOM tag from source tree to destination tree.

If passed tag is of sequence type, the whole sequence is copied. If tag already exists in the destination tree, it is overwritten. If either the destination or the source tree are NULL, then function does nothing.

Parameters
dstTree- Destination tree.
srcTree- Source tree.
tagId- Tag's ID.

References copyDicomTag().

Referenced by copyDicomTag().

◆ getCurrentDate()

MLDICOMMODIFYFIELDADDONS_EXPORT std::string ml::DicomModifyTools::getCurrentDate ( )

Returns date string formatted as specified for DA Value Representation in DICOM standard.

References getCurrentDate().

Referenced by getCurrentDate().

◆ getCurrentTime()

MLDICOMMODIFYFIELDADDONS_EXPORT std::string ml::DicomModifyTools::getCurrentTime ( )

Returns time string formatted as specified for TM Value Representation in DICOM standard.

References getCurrentTime().

Referenced by getCurrentTime().

◆ getTimezoneOffsetFromUTC()

MLDICOMMODIFYFIELDADDONS_EXPORT std::string ml::DicomModifyTools::getTimezoneOffsetFromUTC ( )

Returns timezone offset string formatted as specified for Timezone Offset From UTC (0008,0201) tag in DICOM standard.

References getTimezoneOffsetFromUTC().

Referenced by getTimezoneOffsetFromUTC().