MeVisLab Toolbox Reference
mlDMFileReaderDefs.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
5
10//----------------------------------------------------------------------------------
11
12#pragma once
13
15#include <mlUtilsSystem.h>
16
17#include <FMEThirdPartyWarningsDisable.h>
18#include <boost/shared_ptr.hpp>
19#include <string>
20#include <vector>
21#include <FMEThirdPartyWarningsRestore.h>
22
24
25class DMFileReader;
26class DMImage;
27class DMTag;
28class DMTagGroup;
29class DMTagDirectory;
30class DMTagData;
31class DMImageDataStruct;
32
34typedef boost::shared_ptr<DMFileReader> DMFileReaderPtr;
35
37typedef boost::shared_ptr<DMImage> DMImagePtr;
38
40typedef boost::shared_ptr<DMImageDataStruct> DMImageDataStructPtr;
41
43typedef boost::shared_ptr<DMTag> DMTagPtr;
44
46typedef boost::shared_ptr<DMTagDirectory> DMTagDirectoryPtr;
47
49typedef std::vector<DMTagPtr> DMTagPtrVector;
50
52typedef boost::shared_ptr<DMTagGroup> DMTagGroupPtr;
53
55typedef boost::shared_ptr<DMTagData> DMTagDataPtr;
56
57
83
103
Project global and OS specific declarations.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< DMTag > DMTagPtr
Boost shared-pointer type definitions for DMTagEntry.
boost::shared_ptr< DMImage > DMImagePtr
Boost shared-pointer type definitions for DMImage.
DMEncodedVoxelDataType
Enumerator describing the DMReader encoded voxel data type; the enumerator value corresponds to the v...
@ DM_1ByteUnsignedByte
@ DM_2ByteUnsignedShort
@ DM_16ByteComplex
@ DM_4ByteUnusedRedGreenBlueWord
@ DM_2ByteSignedShort
@ DM_4BytePackedComplex
@ DM_8ByteComplexF
@ DM_4ByteSignedLong
@ DM_4ByteUnsignedLong
@ DM_1ByteSignedByte
@ DM_4ByteZeroRedGreenBlueWord
std::vector< DMTagPtr > DMTagPtrVector
Vector of shared pointers to DMTags.
boost::shared_ptr< DMTagData > DMTagDataPtr
Boost shared-pointer type definitions for DMTagData.
boost::shared_ptr< DMFileReader > DMFileReaderPtr
Boost shared-pointer type definitions for DMFileReader.
boost::shared_ptr< DMTagGroup > DMTagGroupPtr
Boost shared-pointer type definitions for DMTagGroup.
DMEncodedStructureType
Enumerator describing the encoded type; the enumerator value is the same as the stored value in file.
@ DM_LongLong
64 bit long unknown if signed or not (only .dm4)
@ DM_Octet
octet: data size = 1
@ DM_Char
char: data size = 1
@ DM_Short
short: data size = 2
@ DM_Array
data size = array_length x sizeof(array_type)
@ DM_ULong
unsigned long: data size = 4
@ DM_Double
double: data size = 8
@ DM_Undefined
Undefined type, still not read from file or if mode does not match.
@ DM_Long
long: data size = 4
@ DM_ULongLong
64 bit long unknown if signed or not (only .dm4)
@ DM_InvalidType
Invalid type, already read from file but value is wrong.
@ DM_Struct
struct: contains the following data: struct_name: data size = struct_namelength x 1 [ for the n field...
@ DM_String
string: data size = 2 x string length, stored as 2 byte unicode
@ DM_UShort
unsigned short: data size = 2
@ DM_Boolean
boolean: data size = 1
@ DM_Float
float: data size = 4
boost::shared_ptr< DMTagDirectory > DMTagDirectoryPtr
Boost shared-pointer type definitions for DMTagMap.
boost::shared_ptr< DMImageDataStruct > DMImageDataStructPtr
Boost shared-pointer type definitions for DMIMageDataStruct.