]> Creatis software - cpPlugins.git/blobdiff - plugins/ITKImageInterpolators/InterpolateImageFunction.h
...
[cpPlugins.git] / plugins / ITKImageInterpolators / InterpolateImageFunction.h
index 88b8b58c667deb5133797cfbfcabc344508dc6e6..ebf8f52272fd9db0b09ab032f61d33ade072fa4d 100644 (file)
@@ -1,26 +1,30 @@
 #ifndef __cpPluginsITKImageInterpolators__InterpolateImageFunction__h__
 #define __cpPluginsITKImageInterpolators__InterpolateImageFunction__h__
 
-#include <cpPluginsITKImageInterpolators_Export.h>
-#include <cpPlugins/BaseObjects/ProcessObject.h>
+#include <cpPlugins_ITKImageInterpolators_Export.h>
+#include <cpPlugins/Pipeline/ProcessObject.h>
 
 namespace cpPluginsITKImageInterpolators
 {
   /**
    */
-  class cpPluginsITKImageInterpolators_EXPORT InterpolateImageFunction
-    : public cpPlugins::BaseObjects::ProcessObject
+  class cpPlugins_ITKImageInterpolators_EXPORT InterpolateImageFunction
+    : public cpPlugins::Pipeline::ProcessObject
   {
   public:
     typedef InterpolateImageFunction              Self;
-    typedef cpPlugins::BaseObjects::ProcessObject Superclass;
+    typedef cpPlugins::Pipeline::ProcessObject Superclass;
     typedef itk::SmartPointer< Self >             Pointer;
     typedef itk::SmartPointer< const Self >       ConstPointer;
 
   public:
-    itkTypeMacro( BaseFilter, cpPlugins::BaseObjects::ProcessObject );
+    itkTypeMacro( BaseFilter, cpPlugins::Pipeline::ProcessObject );
     cpPlugins_Id_Macro( InterpolateImageFunction, ImageInterpolators );
 
+  public:
+    virtual void SetITK( itk::LightObject* o ) override;
+    virtual void SetVTK( vtkObjectBase* o ) override;
+
   protected:
     InterpolateImageFunction( );
     virtual ~InterpolateImageFunction( );
@@ -32,7 +36,7 @@ namespace cpPluginsITKImageInterpolators
       ) = 0;
 
   protected:
-    virtual void _GenerateData( ) cpPlugins_OVERRIDE;
+    virtual void _GenerateData( ) override;
 
   private:
     // Purposely not implemented.