Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
ApplicationEngine
otbWrapperInputImageListParameter.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 __otbWrapperInputImageListParameter_h
19
#define __otbWrapperInputImageListParameter_h
20
21
#include "
otbImageFileReader.h
"
22
23
#include "
otbWrapperParameter.h
"
24
#include "
otbObjectList.h
"
25
26
namespace
otb
27
{
28
namespace
Wrapper
29
{
34
class
ITK_EXPORT
InputImageListParameter
:
public
Parameter
35
{
36
public
:
38
typedef
InputImageListParameter
Self
;
39
typedef
Parameter
Superclass
;
40
typedef
itk::SmartPointer<Self>
Pointer
;
41
typedef
itk::SmartPointer<const Self>
ConstPointer
;
42
43
typedef
otb::ImageFileReader<FloatVectorImageType>
ImageFileReaderType
;
44
typedef
otb::ObjectList<ImageFileReaderType>
ImageFileReaderListType
;
45
47
itkNewMacro(
Self
);
48
50
itkTypeMacro(
InputImageListParameter
,
Parameter
);
51
53
bool
SetListFromFileName(
const
std::vector<std::string> & filenames);
54
56
void
AddNullElement();
57
59
bool
AddFromFileName(
const
std::string & filename);
60
62
bool
SetNthFileName(
const
unsigned
int
id
,
const
std::string & filename );
63
64
66
std::vector<std::string> GetFileNameList()
const
;
67
69
std::string GetNthFileName(
unsigned
int
i )
const
;
70
72
FloatVectorImageListType
* GetImageList()
const
;
73
75
FloatVectorImageType
* GetNthImage(
unsigned
int
i)
const
;
76
78
void
SetImageList(
FloatVectorImageListType
* imList);
79
81
void
AddImage(
FloatVectorImageType
* image);
82
83
bool
HasValue()
const
;
84
85
87
void
Erase(
unsigned
int
id
);
88
90
virtual
void
ClearValue();
91
92
93
protected
:
95
InputImageListParameter
();
96
98
virtual
~
InputImageListParameter
();
99
100
101
102
FloatVectorImageListType::Pointer
m_ImageList
;
103
ImageFileReaderListType::Pointer
m_ReaderList
;
104
105
private
:
106
InputImageListParameter
(
const
Parameter
&);
//purposely not implemented
107
void
operator =(
const
Parameter
&);
//purposely not implemented
108
109
};
// End class InputImage Parameter
110
111
}
// End namespace Wrapper
112
}
// End namespace otb
113
114
#endif
Generated at Sun Feb 3 2013 00:59:12 for
Orfeo Toolbox
with
doxygen 1.8.1.1