Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkChainCodeToFourierSeriesPathFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkChainCodeToFourierSeriesPathFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-10-13 18:54:26 $
00007   Version:   $Revision: 1.3 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 
00018 #ifndef __itkChainCodeToFourierSeriesPathFilter_h
00019 #define __itkChainCodeToFourierSeriesPathFilter_h
00020 
00021 #include "itkPathToPathFilter.h"
00022 #include "itkOffset.h"
00023 //Templates require interfaces conforming to itkPath.h and itkChainCodePath.h
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&); //purposely not implemented
00087   void operator=(const Self&); //purposely not implemented
00088 
00089   unsigned int m_NumberOfHarmonics;
00090 
00091 };
00092 
00093 } // end namespace itk
00094 
00095 #ifndef ITK_MANUAL_INSTANTIATION
00096 #include "itkChainCodeToFourierSeriesPathFilter.txx"
00097 #endif
00098 
00099 #endif
00100 

Generated at Tue Sep 15 02:32:03 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000