X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FAlgorithms%2FMacheteImageFilter.h;fp=lib%2FcpExtensions%2FAlgorithms%2FMacheteImageFilter.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=d9d3c3273a8bc4dd9181441740e739a7e9909634;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Algorithms/MacheteImageFilter.h b/lib/cpExtensions/Algorithms/MacheteImageFilter.h deleted file mode 100644 index d9d3c32..0000000 --- a/lib/cpExtensions/Algorithms/MacheteImageFilter.h +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------- -// @author Jose Luis Guzman (cycopepe@gmail.com) -// ------------------------------------------------------------------------- - - -#ifndef __CPEXTENSIONS__ALGORITHMS__MACHETEIMAGEFILTER__H__ -#define __CPEXTENSIONS__ALGORITHMS__MACHETEIMAGEFILTER__H__ - -#include - -#include - -namespace cpExtensions -{ - namespace Algorithms - { - template< class I, class O> - class MacheteImageFilter :public itk::ImageToImageFilter < I, O > - { - public: - /** Standard class typedefs. */ - typedef MacheteImageFilter Self; - - typedef itk::ImageToImageFilter< I, O > Superclass; - typedef itk::SmartPointer< Self > Pointer; - - /** Method for creation through the object factory. */ - itkNewMacro(Self); - - /** Run-time type information (and related methods). */ - itkTypeMacro(MacheteImageFilter, ImageToImageFilter); - - typedef typename I::PixelType RadiusType; - //typedef typename I::SizeValueType RadiusValueType; - - itkGetConstReferenceMacro(Radius, RadiusType); - - - void SetRadius(const RadiusType & rad); - //void SetRadius(const RadiusValueType & rad); - - void SetPoint(itk::Point & point); - void SetPoint(const double & x, const double & y, const double & z); - - protected: - MacheteImageFilter(){} - ~MacheteImageFilter(){} - - /** Does the real work. */ - virtual void GenerateData(); - - RadiusType m_Radius; - itk::Point point; - - private: - MacheteImageFilter(const Self &); //purposely not implemented - void operator=(const Self &); //purposely not implemented - - - }; - - } // ecapseman - -} // ecapseman - - -#ifndef ITK_MANUAL_INSTANTIATION -#include -#endif - - -#endif // __CPEXTENSIONS__ALGORITHMS__MACHETEIMAGEFILTER__H__ \ No newline at end of file