MeVisLab Toolbox Reference
mlInputSubImageProperties.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_INPUT_SUB_IMAGE_PROPERTIES_H
14 #define ML_INPUT_SUB_IMAGE_PROPERTIES_H
15 
20 
21 #include "mlScaleShiftData.h"
22 
23 ML_START_NAMESPACE
24 
25 //-------------------------------------------------------------------------
32 //-------------------------------------------------------------------------
34 {
35 
36 public:
37 
40  dataType(MLint8Type),
41  dataTypeWasSet(false),
42  useInputTileCache(false),
43  readOnlyInputTile(false),
44  scaleShift() // Leave the default setting which is the identity.
45  {
46  }
47 
50 
53 
58 
65 
70 };
71 
72 #if ML_DEPRECATED_SINCE(3,5,0)
77 ML_DEPRECATED typedef InputSubImageProperties InSubImageProperties;
79 #endif
80 
81 
82 
83 ML_END_NAMESPACE
84 
85 #endif // __mlInputSubImageProperties_H
86 
87 
88 
#define ML_DEPRECATED
Definition: CSOGroup.h:371
Defines the class InputSubImageProperties which is a simple container for some properties which can b...
MLDataType dataType
Data type for the subimage. It must not be changed if useInputTileCache is true.
bool dataTypeWasSet
A flag if the datatype was set by the user.
ScaleShiftData scaleShift
Describes scaling of the input data buffers; default is the identity, that is _shift=0 and _scale = 1...
InputSubImageProperties()
Constructor initializing all members.
bool readOnlyInputTile
If this flag is set, the input tiles (SubImgs) that are passed to Module::calculateOutputSubImage are...
bool useInputTileCache
Data type for the subimage.
MLint32 MLDataType
MLDataType.
Definition: mlTypeDefs.h:684
@ MLint8Type
Enumerator for the signed 8 bit ML integer type.
Definition: mlTypeDefs.h:722