79 const std::string &groupTagName2,
88 const std::string &groupTagName2,
89 const std::string &groupTagName3,
97 const std::string &tagName,
106 const std::string &groupTagName2,
107 const std::string &tagName,
117 const std::string &groupTagName2,
118 const std::string &groupTagName3,
119 const std::string &tagName,
Project global and OS specific declarations.
#define MLDMFileReader_EXPORT
If included by external modules, exported symbols are declared as import symbols.
A tool classes to load Digital Microscopy files.
MLint32 MLDataType
MLDataType.
Project wide definitions.
UINT64 MLuint64
Introduce platform-independent 64-bit unsigned integer type.
INT64 MLint64
Include 64-bit integer support for Windows or Unix.
MLDMFileReader_EXPORT DMTagPtr DMGetTag(const std::string &groupTagName1, const std::string &groupTagName2, const std::string &groupTagName3, const std::string &tagName, const DMTagPtrVector &tagVec)
If possible then search the first group tag with groupTagName1 in tagVec, then search the first tag w...
MLDMFileReader_EXPORT MLuint64 DMGetEncodedSimpleTypeByteSize(DMEncodedStructureType encType)
Returns the byte size of the encoded simple, on arrays, structs or bad types it returns 0.
boost::shared_ptr< DMTag > DMTagPtr
Boost shared-pointer type definitions for DMTagEntry.
MLDMFileReader_EXPORT DMTagPtrVector DMGetTags(const std::string &groupTagName1, const std::string &groupTagName2, const std::string &groupTagName3, const DMTagPtrVector &tagVec)
If possible then search the first group tag with groupTagName1 in tagVec, and search first group tag ...
MLDMFileReader_EXPORT MLDataType DMPixelDataTypeToMLType(DMEncodedVoxelDataType encType)
Converts a DM pixel data type to the corresponding MLDataType or to ML_INVALID_DATA_TYPE if not possi...
MLDMFileReader_EXPORT std::string DMGetDataTypeAsString(DMEncodedStructureType encType)
Returns a human readable string version for the provided encType.
MLDMFileReader_EXPORT MLint64 DMGetSimpleEncodedMemoryValueAsMLint64(DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
MLDMFileReader_EXPORT double DMGetSimpleEncodedMemoryValueAsDouble(DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
DMEncodedVoxelDataType
Enumerator describing the DMReader encoded voxel data type; the enumerator value corresponds to the v...
std::vector< DMTagPtr > DMTagPtrVector
Vector of shared pointers to DMTags.
MLDMFileReader_EXPORT MLDataType DMEncodedStructureTypeToMLType(DMEncodedStructureType encType)
Converts encType to the corresponding MLDataType or to ML_INVALID_DATA_TYPE if not possible.
MLDMFileReader_EXPORT std::vector< DMImageDataStructPtr > DMSetUpImageStructs(DMFileReader &reader)
Search all image data structures in the open reader and return them as list.
MLDMFileReader_EXPORT MLuint64 DMGetSimpleEncodedMemoryValueAsMLuint64(DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
DMEncodedStructureType
Enumerator describing the encoded type; the enumerator value is the same as the stored value in file.