diff --git a/Code/BasicFilters/otbImageToPointSetFilter.h b/Code/BasicFilters/otbImageToPointSetFilter.h index 33c97bb47999ca3d7ddc5e6f6ff3fb06f2f3072b..a3d5aa22252e8b2a3a5b434f0f373bc7d206420d 100644 --- a/Code/BasicFilters/otbImageToPointSetFilter.h +++ b/Code/BasicFilters/otbImageToPointSetFilter.h @@ -24,7 +24,7 @@ namespace otb { /** \class ImageToPointSetFilter - * \brief + * \brief Base class to output PointSet data with image data as input * * ImageToPointSetFilter is the base class for all process objects that output * Point Set data and require image data as input. Specifically, this class @@ -47,7 +47,7 @@ public: itkTypeMacro(ImageToPointSetFilter, PointSetSource); /** Create a valid output. */ - itk::DataObject::Pointer MakeOutput(unsigned int idx); +// itk::DataObject::Pointer MakeOutput(unsigned int idx); /** Some Image related typedefs. */ typedef TInputImage InputImageType; @@ -69,7 +69,7 @@ public: const InputImageType * GetInput(unsigned int idx); /** Get the output Point Set of this process object. */ - OutputPointSetType * GetOutput(void); +// OutputPointSetType * GetOutput(void); /** Prepare the output */ void GenerateOutputInformation(void); diff --git a/Code/BasicFilters/otbImageToPointSetFilter.txx b/Code/BasicFilters/otbImageToPointSetFilter.txx index 81c527884647ca22a324cd956fe988d1599f6e6a..21c364eb3009a2983f74b4ae5f17ec74d03b4297 100644 --- a/Code/BasicFilters/otbImageToPointSetFilter.txx +++ b/Code/BasicFilters/otbImageToPointSetFilter.txx @@ -54,14 +54,14 @@ ImageToPointSetFilter<TInputImage,TOutputPointSet> /** * Make Output */ -template <class TInputImage, class TOutputPointSet> -itk::DataObject::Pointer -ImageToPointSetFilter<TInputImage,TOutputPointSet> -::MakeOutput(unsigned int) -{ - OutputPointSetPointer outputPointSet = OutputPointSetType::New(); - return dynamic_cast< itk::DataObject *>( outputPointSet.GetPointer() ); -} +// template <class TInputImage, class TOutputPointSet> +// itk::DataObject::Pointer +// ImageToPointSetFilter<TInputImage,TOutputPointSet> +// ::MakeOutput(unsigned int) +// { +// OutputPointSetPointer outputPointSet = OutputPointSetType::New(); +// return dynamic_cast< itk::DataObject *>( outputPointSet.GetPointer() ); +// } @@ -98,14 +98,14 @@ ImageToPointSetFilter<TInputImage,TOutputPointSet> /** * */ -template <class TInputImage, class TOutputPointSet> -typename ImageToPointSetFilter<TInputImage,TOutputPointSet>::OutputPointSetType * -ImageToPointSetFilter<TInputImage,TOutputPointSet> -::GetOutput(void) -{ - return dynamic_cast<OutputPointSetType*> - (this->ProcessObjectType::GetOutput(0)); -} +// template <class TInputImage, class TOutputPointSet> +// typename ImageToPointSetFilter<TInputImage,TOutputPointSet>::OutputPointSetType * +// ImageToPointSetFilter<TInputImage,TOutputPointSet> +// ::GetOutput(void) +// { +// return dynamic_cast<OutputPointSetType*> +// (this->ProcessObjectType::GetOutput(0)); +// } /**