MeVisLab Toolbox Reference
mlImageFormatInfos.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef ML_IMAGE_FORMAT_INFOS_H
14 #define ML_IMAGE_FORMAT_INFOS_H
15 
19 
20 // Resolve platform dependencies.
22 
23 #include "mlModuleIncludes.h"
24 
25 #include "mlDataCompressor.h"
26 
28 #include "mlImageFormatTools.h"
29 #include "mlImageFormatTagList.h"
30 #include "mlImageFormatIdxTable.h"
31 
32 ML_START_NAMESPACE
33 
34 
36  class DataCompressor;
37 
38  //--------------------------------------------------------------------------------
39  //--------------------------------------------------------------------------------
42  //--------------------------------------------------------------------------------
43  //--------------------------------------------------------------------------------
45  {
46  public:
49 
52 
54  void reset();
55 
58 
61  std::string defaultVoxelValue;
62 
65 
68 
71 
74 
77 
80 
82  std::string compressorName;
83 
85  std::string compressorVersion;
86 
89 
92 
95 
98 
99 
100  private:
103 
105  MLImageFormatInfos &operator=(const MLImageFormatInfos &);
106 
108  const PagedImage _defaultPagedImage;
109  };
110 
111 ML_END_NAMESPACE
112 
113 #endif // __mlImageFormatInfos_H
#define MLIMAGEFORMATBASE_EXPORT
Abstract base class for ML data compression algorithms.
A base class for abstract read/write access of the MLImageFileFormat.
Internal and private index table for the MLImageFormat.
A internal structure containing information about an opened file.
MLImageFormatTagList tagList
List of all tags.
MLImageFormatTagList compressionTagList
Compression information stored as string values.
MLImageFormatInfos()
Standard constructor.
std::string compressorVersion
Version of data compressor used for page data or "" if not available.
DataCompressor * compressor
Pointer to data compressor instance if available or NULL.
~MLImageFormatInfos()
Destructor to clean up.
MLint usesPartialPages
Non-zero if pages are allowed to be stored partially, zero otherwise.
MLImageFormatAbstractFileHandle * fileHandle
The descriptor of the file; NULL if closed.
PagedImage props
A PagedImage instance as property container.
MLint usesCheckSum
Non-zero if index tables stores page checksum values, zero otherwise.
MLImageFormatTagList privateTagList
List of all private tags.
MLImageFormatTagList userTagList
List of all user defined tags.
MLint endianess
Endianness of the file.
MLImageFormatIdxTable idxTab
Index table with location and storage information for pages.
std::string compressorName
Name of data compressor used for page data or "" if not available.
std::string defaultVoxelValue
String representation of a default value for voxels outside written image areas, a 'background value'...
void reset()
Resets to construction state.
Class defining a list of tags used in the MLImageFormat class.
The class PagedImage, representing a fragmented image that manages properties and data of an image lo...
Definition: mlPagedImage.h:66
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition: mlTypeDefs.h:490