22 #ifndef otbLabelMapSource_hxx
23 #define otbLabelMapSource_hxx
30 template <
class TOutputLabelMap>
33 this->Superclass::SetNumberOfRequiredOutputs(1);
34 this->Superclass::SetNthOutput(0, OutputLabelMapType::New().GetPointer());
37 template <
class TOutputLabelMap>
42 template <
class TOutputLabelMap>
48 for (
unsigned int i = 0; i < this->GetNumberOfOutputs(); ++i)
50 outputPtr = this->GetOutput(i);
57 template <
class TOutputLabelMap>
60 if (this->GetNumberOfOutputs() < 1)
67 template <
class TOutputLabelMap>
73 template <
class TOutputLabelMap>
76 Superclass::PrintSelf(os, indent);