MeVisLab Toolbox Reference
mlDMFileReaderTools.h File Reference

Some tool functions for file reader. More...

Go to the source code of this file.

Namespaces

namespace  ml
 Defines the class GetTileJob.

Functions

MLDMFileReader_EXPORT std::string ml::DMGetDataTypeAsString (DMEncodedStructureType encType)
 Returns a human readable string version for the provided encType.
MLDMFileReader_EXPORT MLDataType ml::DMEncodedStructureTypeToMLType (DMEncodedStructureType encType)
 Converts encType to the corresponding MLDataType or to ML_INVALID_DATA_TYPE if not possible.
MLDMFileReader_EXPORT MLDataType ml::DMPixelDataTypeToMLType (DMEncodedVoxelDataType encType)
MLDMFileReader_EXPORT MLuint64 ml::DMGetEncodedSimpleTypeByteSize (DMEncodedStructureType encType)
 Returns the byte size of the encoded simple, on arrays, structs or bad types it returns 0.
MLDMFileReader_EXPORT double ml::DMGetSimpleEncodedMemoryValueAsDouble (DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
MLDMFileReader_EXPORT MLuint64 ml::DMGetSimpleEncodedMemoryValueAsMLuint64 (DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
MLDMFileReader_EXPORT MLint64 ml::DMGetSimpleEncodedMemoryValueAsMLint64 (DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
MLDMFileReader_EXPORT DMTagPtr ml::DMGetTag (const std::string &label, const DMTagPtrVector &tagVec)
 Returns the first tag with label in tagVec or nullptr if not found.
MLDMFileReader_EXPORT DMTagPtrVector ml::DMGetTags (const std::string &label, const DMTagPtrVector &tagVec)
 Returns all tags with label in tagVec or an empty vector if not found.
MLDMFileReader_EXPORT DMTagPtrVector ml::DMGetTags (const std::string &groupTagName1, const std::string &groupTagName2, const DMTagPtrVector &tagVec)
MLDMFileReader_EXPORT DMTagPtrVector ml::DMGetTags (const std::string &groupTagName1, const std::string &groupTagName2, const std::string &groupTagName3, const DMTagPtrVector &tagVec)
MLDMFileReader_EXPORT DMTagPtr ml::DMGetTag (const std::string &groupTagName1, const std::string &tagName, const DMTagPtrVector &tagVec)
MLDMFileReader_EXPORT DMTagPtr ml::DMGetTag (const std::string &groupTagName1, const std::string &groupTagName2, const std::string &tagName, const DMTagPtrVector &tagVec)
MLDMFileReader_EXPORT DMTagPtr ml::DMGetTag (const std::string &groupTagName1, const std::string &groupTagName2, const std::string &groupTagName3, const std::string &tagName, const DMTagPtrVector &tagVec)
MLDMFileReader_EXPORT std::vector< DMImageDataStructPtrml::DMSetUpImageStructs (DMFileReader &reader)
 Search all image data structures in the open reader and return them as list.

Detailed Description

Some tool functions for file reader.

Author
Wolf Spindler
Date
11/2014

Definition in file mlDMFileReaderTools.h.