00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _itkChainCodeToFourierSeriesPathFilter_h
00019 #define _itkChainCodeToFourierSeriesPathFilter_h
00020
00021 #include "itkPathToPathFilter.h"
00022 #include "itkOffset.h"
00023
00024
00025 namespace itk
00026 {
00027
00040 template <class TInputChainCodePath, class TOutputFourierSeriesPath>
00041 class ITK_EXPORT ChainCodeToFourierSeriesPathFilter : public
00042 PathToPathFilter< TInputChainCodePath, TOutputFourierSeriesPath >
00043 {
00044 public:
00046 typedef ChainCodeToFourierSeriesPathFilter Self;
00047 typedef PathToPathFilter< TInputChainCodePath,
00048 TOutputFourierSeriesPath > Superclass;
00049 typedef SmartPointer<Self> Pointer;
00050 typedef SmartPointer<const Self> ConstPointer;
00051
00053 itkNewMacro(Self);
00054
00056 itkTypeMacro(ChainCodeToFourierSeriesPathFilter, PathToPathFilter);
00057
00059 typedef TInputChainCodePath InputPathType;
00060 typedef typename InputPathType::Pointer InputPathPointer;
00061 typedef typename InputPathType::InputType InputPathInputType;
00062 typedef TOutputFourierSeriesPath OutputPathType;
00063 typedef typename OutputPathType::Pointer OutputPathPointer;
00064 typedef typename OutputPathType::InputType OutputPathInputType;
00065 typedef typename InputPathType::IndexType IndexType;
00066 typedef typename InputPathType::OffsetType OffsetType;
00067 typedef typename OutputPathType::VectorType VectorType;
00068
00076 itkSetMacro( NumberOfHarmonics, unsigned int )
00077
00078 protected:
00079 ChainCodeToFourierSeriesPathFilter();
00080 virtual ~ChainCodeToFourierSeriesPathFilter() {};
00081 void PrintSelf(std::ostream& os, Indent indent) const;
00082
00083 void GenerateData(void);
00084
00085 private:
00086 ChainCodeToFourierSeriesPathFilter(const Self&);
00087 void operator=(const Self&);
00088
00089 unsigned int m_NumberOfHarmonics;
00090
00091 };
00092
00093 }
00094
00095 #ifndef ITK_MANUAL_INSTANTIATION
00096 #include "itkChainCodeToFourierSeriesPathFilter.txx"
00097 #endif
00098
00099 #endif