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.
21
#include "
MLImageFormatBaseSystem.h
"
22
23
#include "
mlModuleIncludes.h
"
24
25
#include "
mlDataCompressor.h
"
26
27
#include "
mlImageFormatFileAccess.h
"
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
//--------------------------------------------------------------------------------
44
class
MLIMAGEFORMATBASE_EXPORT
MLImageFormatInfos
45
{
46
public
:
48
MLImageFormatInfos
();
49
51
~MLImageFormatInfos
();
52
54
void
reset
();
55
57
MLImageFormatAbstractFileHandle
*
fileHandle
;
58
61
std::string
defaultVoxelValue
;
62
64
MLint
endianess
;
65
67
MLint
usesCheckSum
;
68
70
MLint
usesPartialPages
;
71
73
PagedImage
props
;
74
76
MLImageFormatIdxTable
idxTab
;
77
79
DataCompressor
*
compressor
;
80
82
std::string
compressorName
;
83
85
std::string
compressorVersion
;
86
88
MLImageFormatTagList
compressionTagList
;
89
91
MLImageFormatTagList
userTagList
;
92
94
MLImageFormatTagList
privateTagList
;
95
97
MLImageFormatTagList
tagList
;
98
99
100
private
:
102
MLImageFormatInfos
(
const
MLImageFormatInfos
&);
103
105
MLImageFormatInfos
&operator=(
const
MLImageFormatInfos
&);
106
108
const
PagedImage
_defaultPagedImage;
109
};
110
111
ML_END_NAMESPACE
112
113
#endif
// __mlImageFormatInfos_H
MLImageFormatBaseSystem.h
MLIMAGEFORMATBASE_EXPORT
#define MLIMAGEFORMATBASE_EXPORT
Definition:
MLImageFormatBaseSystem.h:19
ml::DataCompressor
Abstract base class for ML data compression algorithms.
Definition:
mlDataCompressor.h:37
ml::MLImageFormatAbstractFileHandle
A base class for abstract read/write access of the MLImageFileFormat.
Definition:
mlImageFormatFileAccess.h:27
ml::MLImageFormatIdxTable
Internal and private index table for the MLImageFormat.
Definition:
mlImageFormatIdxTable.h:39
ml::MLImageFormatInfos
A internal structure containing information about an opened file.
Definition:
mlImageFormatInfos.h:45
ml::MLImageFormatInfos::tagList
MLImageFormatTagList tagList
List of all tags.
Definition:
mlImageFormatInfos.h:97
ml::MLImageFormatInfos::compressionTagList
MLImageFormatTagList compressionTagList
Compression information stored as string values.
Definition:
mlImageFormatInfos.h:88
ml::MLImageFormatInfos::MLImageFormatInfos
MLImageFormatInfos()
Standard constructor.
ml::MLImageFormatInfos::compressorVersion
std::string compressorVersion
Version of data compressor used for page data or "" if not available.
Definition:
mlImageFormatInfos.h:85
ml::MLImageFormatInfos::compressor
DataCompressor * compressor
Pointer to data compressor instance if available or NULL.
Definition:
mlImageFormatInfos.h:79
ml::MLImageFormatInfos::~MLImageFormatInfos
~MLImageFormatInfos()
Destructor to clean up.
ml::MLImageFormatInfos::usesPartialPages
MLint usesPartialPages
Non-zero if pages are allowed to be stored partially, zero otherwise.
Definition:
mlImageFormatInfos.h:70
ml::MLImageFormatInfos::fileHandle
MLImageFormatAbstractFileHandle * fileHandle
The descriptor of the file; NULL if closed.
Definition:
mlImageFormatInfos.h:57
ml::MLImageFormatInfos::props
PagedImage props
A PagedImage instance as property container.
Definition:
mlImageFormatInfos.h:73
ml::MLImageFormatInfos::usesCheckSum
MLint usesCheckSum
Non-zero if index tables stores page checksum values, zero otherwise.
Definition:
mlImageFormatInfos.h:67
ml::MLImageFormatInfos::privateTagList
MLImageFormatTagList privateTagList
List of all private tags.
Definition:
mlImageFormatInfos.h:94
ml::MLImageFormatInfos::userTagList
MLImageFormatTagList userTagList
List of all user defined tags.
Definition:
mlImageFormatInfos.h:91
ml::MLImageFormatInfos::endianess
MLint endianess
Endianness of the file.
Definition:
mlImageFormatInfos.h:64
ml::MLImageFormatInfos::idxTab
MLImageFormatIdxTable idxTab
Index table with location and storage information for pages.
Definition:
mlImageFormatInfos.h:76
ml::MLImageFormatInfos::compressorName
std::string compressorName
Name of data compressor used for page data or "" if not available.
Definition:
mlImageFormatInfos.h:82
ml::MLImageFormatInfos::defaultVoxelValue
std::string defaultVoxelValue
String representation of a default value for voxels outside written image areas, a 'background value'...
Definition:
mlImageFormatInfos.h:61
ml::MLImageFormatInfos::reset
void reset()
Resets to construction state.
ml::MLImageFormatTagList
Class defining a list of tags used in the MLImageFormat class.
Definition:
mlImageFormatTagList.h:39
ml::PagedImage
The class PagedImage, representing a fragmented image that manages properties and data of an image lo...
Definition:
mlPagedImage.h:66
mlDataCompressor.h
mlImageFormatFileAccess.h
mlImageFormatIdxTable.h
mlImageFormatTagList.h
mlImageFormatTools.h
mlModuleIncludes.h
MLint
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
MeVis
Foundation
Sources
MLImageFormatBase
mlImageFormatInfos.h
Generated by
1.9.1