MeVisLab Toolbox Reference
mlMultiFileVolumeListDcmtkTools.h File Reference

Base object class for passing DSRDocuments between MeVisLab modules. More...

#include "MLMultiFileVolumeListDcmtkOutputsSystem.h"
#include "mlTypeDefs.h"
#include <dcmtk/dcmdata/dcfilefo.h>
#include <dcmtk/dcmdata/dcdeftag.h>

Go to the source code of this file.

Classes

struct  ml::DefaultDcmtkReaderFunctor
 Default class providing the read function for getDCMTKObjFromFile which needs the option to extent its functionality for different IODs. More...
 

Namespaces

namespace  ml
 Main documentation file for ML users and developers.
 

Typedefs

typedef boost::shared_ptr< DcmFileFormatDcmFileFormatPtr
 Boost shared pointer managing a DcmFileFormat object.
 

Functions

bool ml::loadDcmtkFile (const std::string &fName, DcmFileFormat &dcmfile, std::string *errVal)
 Load a DICOM file into the dcmtk DcmFileFormat object.
 
OFString ml::getDcmtkModality (DcmFileFormat &dcmfile, std::string *errVal)
 Return the modality of a given DcmFileFormat.
 
template<typename DCMObjType , typename DCMObjBoostPtrType , class DCMReaderFunctor = DefaultDcmtkReaderFunctor>
DCMObjBoostPtrType ml::getDCMTKObjFromFile (DcmFileFormat &dcmFile, std::string *errVal, const std::string &modalityStr, const std::string &typeStr, DCMReaderFunctor *readerFunctor=NULL)
 A template for loading a dcmtk object by a file object.
 
template<typename DCMObjType , typename DCMObjBoostPtrType , class DCMReaderFunctor = DefaultDcmtkReaderFunctor>
DCMObjBoostPtrType ml::getDCMTKObjFromString (const std::string &fName, std::string *errVal, DcmFileFormatPtr *dcmFilePtr, const std::string &modalityStr, const std::string &typeStr, DCMReaderFunctor *readerFunctor=NULL)
 A template for loading a dcmtk object by a file name.
 

Detailed Description

Base object class for passing DSRDocuments between MeVisLab modules.

Author
Wolf Spindler
Date
09/2014

Definition in file mlMultiFileVolumeListDcmtkTools.h.

Typedef Documentation

◆ DcmFileFormatPtr

Boost shared pointer managing a DcmFileFormat object.

Definition at line 22 of file mlMultiFileVolumeListDcmtkTools.h.