diff --git a/Code/BasicFilters/otbImageToPointSetFilter.h b/Code/BasicFilters/otbImageToPointSetFilter.h index a3d5aa22252e8b2a3a5b434f0f373bc7d206420d..e4e4b3b8c0f0c839d95e5e02ff9be34ed11cef66 100644 --- a/Code/BasicFilters/otbImageToPointSetFilter.h +++ b/Code/BasicFilters/otbImageToPointSetFilter.h @@ -42,13 +42,9 @@ public: typedef itk::SmartPointer<Self> Pointer; typedef itk::SmartPointer<const Self> ConstPointer; - /** Run-time type information (and related methods). */ itkTypeMacro(ImageToPointSetFilter, PointSetSource); - /** Create a valid output. */ -// itk::DataObject::Pointer MakeOutput(unsigned int idx); - /** Some Image related typedefs. */ typedef TInputImage InputImageType; typedef typename InputImageType::Pointer InputImagePointer; @@ -68,9 +64,6 @@ public: /** Get the input image of this process object. */ const InputImageType * GetInput(unsigned int idx); - /** Get the output Point Set of this process object. */ -// OutputPointSetType * GetOutput(void); - /** Prepare the output */ void GenerateOutputInformation(void); diff --git a/Code/BasicFilters/otbImageToPointSetFilter.txx b/Code/BasicFilters/otbImageToPointSetFilter.txx index 21c364eb3009a2983f74b4ae5f17ec74d03b4297..44cff425ddb5002f36810f206efc271deeead00a 100644 --- a/Code/BasicFilters/otbImageToPointSetFilter.txx +++ b/Code/BasicFilters/otbImageToPointSetFilter.txx @@ -49,22 +49,6 @@ ImageToPointSetFilter<TInputImage,TOutputPointSet> ::~ImageToPointSetFilter() { } - - -/** - * 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() ); -// } - - - /** * @@ -81,7 +65,6 @@ ImageToPointSetFilter<TInputImage,TOutputPointSet> } - /** * */ @@ -94,20 +77,6 @@ ImageToPointSetFilter<TInputImage,TOutputPointSet> (this->ProcessObjectType::GetInput(idx)); } - -/** - * - */ -// template <class TInputImage, class TOutputPointSet> -// typename ImageToPointSetFilter<TInputImage,TOutputPointSet>::OutputPointSetType * -// ImageToPointSetFilter<TInputImage,TOutputPointSet> -// ::GetOutput(void) -// { -// return dynamic_cast<OutputPointSetType*> -// (this->ProcessObjectType::GetOutput(0)); -// } - - /** * */