Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
Common
otbImageToPathFilter.txx
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 __otbImageToPathFilter_txx
19
#define __otbImageToPathFilter_txx
20
21
#include "
otbImageToPathFilter.h
"
22
23
namespace
otb
24
{
28
template
<
class
TInputImage,
class
TOutputPath>
29
ImageToPathFilter<TInputImage, TOutputPath>
30
::ImageToPathFilter
()
31
{
32
this->SetNumberOfRequiredInputs(1);
33
}
37
template
<
class
TInputImage,
class
TOutputPath>
38
void
39
ImageToPathFilter<TInputImage, TOutputPath>
40
::SetInput
(
const
InputImageType
* image)
41
{
42
this->ProcessObjectType::SetNthInput(0, const_cast<InputImageType *>(image));
43
}
47
template
<
class
TInputImage,
class
TOutputPath>
48
const
typename
ImageToPathFilter<TInputImage, TOutputPath>::InputImageType
*
49
ImageToPathFilter<TInputImage, TOutputPath>
50
::GetInput
(
void
)
51
{
52
return
static_cast<
const
TInputImage *
>
(this->ProcessObjectType::GetInput(0));
53
}
57
template
<
class
TInputImage,
class
TOutputPath>
58
void
59
ImageToPathFilter<TInputImage, TOutputPath>
60
::PrintSelf
(std::ostream& os,
itk::Indent
indent)
const
61
{
62
Superclass::PrintSelf(os, indent);
63
}
64
}
// end namespace otb
65
66
#endif
Generated at Sun Feb 3 2013 00:30:13 for
Orfeo Toolbox
with
doxygen 1.8.1.1