Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
Common
otbRAMDrivenTiledStreamingManager.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ORFEO Toolbox
4
Language: C++
5
Date: $Date$
6
Version: $Revision$
7
8
9
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10
See OTBCopyright.txt for details.
11
12
13
This software is distributed WITHOUT ANY WARRANTY; without even
14
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
PURPOSE. See the above copyright notices for more information.
16
17
=========================================================================*/
18
#ifndef __otbRAMDrivenTiledStreamingManager_h
19
#define __otbRAMDrivenTiledStreamingManager_h
20
21
#include "
otbStreamingManager.h
"
22
23
namespace
otb
24
{
25
37
template
<
class
TImage>
38
class
ITK_EXPORT
RAMDrivenTiledStreamingManager
:
public
StreamingManager
<TImage>
39
{
40
public
:
42
typedef
RAMDrivenTiledStreamingManager
Self
;
43
typedef
StreamingManager<TImage>
Superclass
;
44
typedef
itk::SmartPointer<Self>
Pointer
;
45
typedef
itk::SmartPointer<const Self>
ConstPointer
;
46
47
typedef
TImage
ImageType
;
48
typedef
typename
Superclass::RegionType
RegionType
;
49
51
itkNewMacro(
Self
);
52
54
itkTypeMacro(
RAMDrivenTiledStreamingManager
,
itk::LightObject
);
55
57
itkStaticConstMacro(ImageDimension,
unsigned
int
, ImageType::ImageDimension);
58
61
itkSetMacro(AvailableRAMInMB,
unsigned
int
);
62
65
itkGetConstMacro(AvailableRAMInMB,
unsigned
int
);
66
68
itkSetMacro(Bias,
double
);
69
71
itkGetConstMacro(Bias,
double
);
72
75
virtual
void
PrepareStreaming(
itk::DataObject
* input,
const
RegionType
®ion);
76
77
protected
:
78
RAMDrivenTiledStreamingManager
();
79
virtual
~
RAMDrivenTiledStreamingManager
();
80
82
unsigned
int
m_AvailableRAMInMB
;
83
85
double
m_Bias
;
86
87
private
:
88
RAMDrivenTiledStreamingManager
(
const
RAMDrivenTiledStreamingManager
&);
89
void
operator =(
const
RAMDrivenTiledStreamingManager
&);
90
};
91
92
}
// End namespace otb
93
94
#ifndef OTB_MANUAL_INSTANTIATION
95
#include "
otbRAMDrivenTiledStreamingManager.txx
"
96
#endif
97
98
#endif
99
Generated at Sun Feb 3 2013 00:43:42 for
Orfeo Toolbox
with
doxygen 1.8.1.1