22 #ifndef otbDrawPathFilter_hxx
23 #define otbDrawPathFilter_hxx
33 template <
class TInputImage,
class TInputPath,
class TOutputImage>
39 template <
class TInputImage,
class TInputPath,
class TOutputImage>
42 this->SetPathInput(path);
45 template <
class TInputImage,
class TInputPath,
class TOutputImage>
48 return this->GetPathInput();
54 template <
class TInputImage,
class TInputPath,
class TOutputImage>
58 typedef typename DrawListFilterType::InputPathListType PathListType;
59 typename PathListType::Pointer list = PathListType::New();
64 typename DrawListFilterType::Pointer drawer = DrawListFilterType::New();
65 drawer->SetInput(this->GetImageInput());
66 drawer->SetInputPath(list);
67 drawer->SetPathValue(m_Value);
69 drawer->GraftOutput(this->GetOutput());
71 this->GraftOutput(drawer->GetOutput());
76 template <
class TInputImage,
class TInputPath,
class TOutputImage>
79 Superclass::PrintSelf(os, indent);
80 os << indent <<
"Path Value: " << m_Value << std::endl;