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
Global and OS specific declarations for the MLImageFormatBase project.
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, not to be used, because it is subject to chan...
A internal structure containing information about an opened file, not to be used, because it is subje...
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
Endianess 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()
Reset to construction state.
Class defining a list of tags used in the MLImageFormat class.
Class which represents an image, which manages properties of an image and image data which is located...
Definition: mlPagedImage.h:70
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition: mlTypeDefs.h:578