X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FITKImageInterpolators%2FInterpolateImageFunction.h;fp=plugins%2FITKImageInterpolators%2FInterpolateImageFunction.h;h=88b8b58c667deb5133797cfbfcabc344508dc6e6;hb=80ac2c55630c2a345a2102f0be86843147a398cc;hp=0000000000000000000000000000000000000000;hpb=e393f405f8f1864f8b019940fe1303be78002f64;p=cpPlugins.git diff --git a/plugins/ITKImageInterpolators/InterpolateImageFunction.h b/plugins/ITKImageInterpolators/InterpolateImageFunction.h new file mode 100644 index 0000000..88b8b58 --- /dev/null +++ b/plugins/ITKImageInterpolators/InterpolateImageFunction.h @@ -0,0 +1,50 @@ +#ifndef __cpPluginsITKImageInterpolators__InterpolateImageFunction__h__ +#define __cpPluginsITKImageInterpolators__InterpolateImageFunction__h__ + +#include +#include + +namespace cpPluginsITKImageInterpolators +{ + /** + */ + class cpPluginsITKImageInterpolators_EXPORT InterpolateImageFunction + : public cpPlugins::BaseObjects::ProcessObject + { + public: + typedef InterpolateImageFunction Self; + typedef cpPlugins::BaseObjects::ProcessObject Superclass; + typedef itk::SmartPointer< Self > Pointer; + typedef itk::SmartPointer< const Self > ConstPointer; + + public: + itkTypeMacro( BaseFilter, cpPlugins::BaseObjects::ProcessObject ); + cpPlugins_Id_Macro( InterpolateImageFunction, ImageInterpolators ); + + protected: + InterpolateImageFunction( ); + virtual ~InterpolateImageFunction( ); + + public: + virtual void CreateInterpolator( + itk::LightObject* image, + const std::string& precision_type + ) = 0; + + protected: + virtual void _GenerateData( ) cpPlugins_OVERRIDE; + + private: + // Purposely not implemented. + InterpolateImageFunction( const Self& other ); + Self& operator=( const Self& other ); + + protected: + std::string m_PrecisionType; + }; + +} // ecapseman + +#endif // __cpPluginsITKImageInterpolators__InterpolateImageFunction__h__ + +// eof - $RCSfile$