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

itkMinMaxCurvatureFlowImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMinMaxCurvatureFlowImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/11 19:39:01 $
00007   Version:   $Revision: 1.9 $
00008 
00009   Copyright (c) 2002 Insight 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 #ifndef __itkMinMaxCurvatureFlowImageFilter_h_
00018 #define __itkMinMaxCurvatureFlowImageFilter_h_
00019 
00020 #include "itkCurvatureFlowImageFilter.h"
00021 #include "itkMinMaxCurvatureFlowFunction.h"
00022 
00023 namespace itk {
00024 
00073 template <class TInputImage, class TOutputImage>
00074 class MinMaxCurvatureFlowImageFilter
00075   : public CurvatureFlowImageFilter<TInputImage, TOutputImage>
00076 {
00077 public:
00079   typedef MinMaxCurvatureFlowImageFilter Self;
00080   typedef CurvatureFlowImageFilter<TInputImage, TOutputImage>
00081    Superclass;
00082   typedef SmartPointer<Self> Pointer;
00083   typedef SmartPointer<const Self>  ConstPointer;
00084 
00086   itkNewMacro(Self);
00087 
00089   itkTypeMacro(MinMaxCurvatureFlowImageFilter,
00090                CurvatureFlowImageFilter);
00091 
00093   typedef typename Superclass::FiniteDifferenceFunctionType
00094     FiniteDifferenceFunctionType;
00095   typedef typename Superclass::OutputImageType OutputImageType;
00096 
00098   typedef MinMaxCurvatureFlowFunction<OutputImageType>
00099     MinMaxCurvatureFlowFunctionType;
00100 
00103   itkStaticConstMacro(ImageDimension, unsigned int,
00104                       Superclass::ImageDimension);
00105 
00107   typedef typename FiniteDifferenceFunctionType::RadiusType RadiusType;
00108   typedef typename RadiusType::SizeValueType RadiusValueType;
00109 
00111   itkSetMacro( StencilRadius, RadiusValueType );
00112   itkGetMacro( StencilRadius, RadiusValueType );
00113   
00114 protected:
00115   MinMaxCurvatureFlowImageFilter();
00116   ~MinMaxCurvatureFlowImageFilter() {}
00117   void PrintSelf(std::ostream& os, Indent indent) const;
00118   
00121   virtual void InitializeIteration();
00122   
00123 private:
00124   MinMaxCurvatureFlowImageFilter(const Self&); //purposely not implemented
00125   void operator=(const Self&); //purposely not implemented
00126 
00127   RadiusValueType    m_StencilRadius;
00128   
00129 };
00130 
00131 } // end namspace itk
00132 
00133 #ifndef ITK_MANUAL_INSTANTIATION
00134 #include "itkMinMaxCurvatureFlowImageFilter.txx"
00135 #endif
00136 
00137 #endif

Generated at Wed Mar 12 01:13:07 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000