17 #ifndef __itkPathSource_txx
18 #define __itkPathSource_txx
28 template<
class TOutputPath>
35 =
static_cast<TOutputPath*
>(this->MakeOutput(0).GetPointer());
46 template<
class TOutputPath>
51 if (this->GetNumberOfOutputs() < 1)
56 return static_cast<TOutputPath*
>
64 template<
class TOutputPath>
69 return static_cast<TOutputPath*
>
76 template<
class TOutputPath>
81 this->GraftNthOutput(0, graft);
87 template<
class TOutputPath>
92 if (idx < this->GetNumberOfOutputs())
99 itkWarningMacro( <<
"Warning: GraftNthOutput() is broken" );
129 template<
class TOutputPath>
134 return static_cast<DataObject*
>(TOutputPath::New().GetPointer());
140 template<
class TOutputPath>
145 Superclass::PrintSelf(os,indent);