21 #ifndef otbListSampleSource_hxx
22 #define otbListSampleSource_hxx
31 template <
class TInputSampleList,
class TOutputSampleList>
34 this->SetNumberOfRequiredOutputs(1);
37 typename OutputSampleListType::Pointer outputPtr =
static_cast<OutputSampleListType*
>(this->MakeOutput(0).GetPointer());
38 this->ProcessObject::SetNthOutput(0, outputPtr.GetPointer());
41 template <
class TInputSampleList,
class TOutputSampleList>
49 template <
class TInputSampleList,
class TOutputSampleList>
55 template <
class TInputSampleList,
class TOutputSampleList>
59 Superclass::PrintSelf(os, indent);
OutputSampleListType * GetOutput()
void PrintSelf(std::ostream &os, itk::Indent indent) const override
OutputSampleListType::Pointer OutputSampleListPointer
TOutputSampleList OutputSampleListType
itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
itk::DataObject::Pointer DataObjectPointer
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.