1 // -------------------------------------------------------------------------
2 // @author Jose Luis Guzman (cycopepe@gmail.com)
3 // -------------------------------------------------------------------------
6 #ifndef __CPEXTENSIONS__ALGORITHMS__MACHETEIMAGEFILTER__H__
7 #define __CPEXTENSIONS__ALGORITHMS__MACHETEIMAGEFILTER__H__
9 #include <cpExtensions/cpExtensions_Export.h>
11 #include <itkImageToImageFilter.h>
13 namespace cpExtensions
17 template< class I, class O>
18 class MacheteImageFilter :public itk::ImageToImageFilter < I, O >
21 /** Standard class typedefs. */
22 typedef MacheteImageFilter Self;
24 typedef itk::ImageToImageFilter< I, O > Superclass;
25 typedef itk::SmartPointer< Self > Pointer;
27 /** Method for creation through the object factory. */
30 /** Run-time type information (and related methods). */
31 itkTypeMacro(MacheteImageFilter, ImageToImageFilter);
33 void SetRadius(double radius);
34 void SetPoint(itk::Point<double, 3> point);
37 MacheteImageFilter(){}
38 ~MacheteImageFilter(){}
40 /** Does the real work. */
41 virtual void GenerateData();
45 MacheteImageFilter(const Self &); //purposely not implemented
46 void operator=(const Self &); //purposely not implemented
49 itk::Point<double, 3> point;
57 #ifndef ITK_MANUAL_INSTANTIATION
58 #include <cpExtensions/Algorithms/MacheteImageFilter.hxx>
62 #endif // __CPEXTENSIONS__ALGORITHMS__MACHETEIMAGEFILTER__H__