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

itkIsotropicFourthOrderLevelSetImageFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkIsotropicFourthOrderLevelSetImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:33 $ 00007 Version: $Revision: 1.5 $ 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 #ifndef _itkIsotropicFourthOrderLevelSetImageFilter_h_ 00018 #define _itkIsotropicFourthOrderLevelSetImageFilter_h_ 00019 00020 #include "itkLevelSetFunctionWithRefitTerm.h" 00021 #include "itkSparseFieldFourthOrderLevelSetImageFilter.h" 00022 00023 namespace itk { 00024 00072 template <class TInputImage, class TOutputImage> 00073 class ITK_EXPORT IsotropicFourthOrderLevelSetImageFilter 00074 : public SparseFieldFourthOrderLevelSetImageFilter <TInputImage, TOutputImage> 00075 { 00076 public: 00078 typedef IsotropicFourthOrderLevelSetImageFilter Self; 00079 typedef SparseFieldFourthOrderLevelSetImageFilter <TInputImage, 00080 TOutputImage> Superclass; 00081 typedef SmartPointer<Self> Pointer; 00082 typedef SmartPointer<const Self> ConstPointer; 00083 00085 itkTypeMacro(IsotropicFourthOrderLevelSetImageFilter, 00086 SparseFieldFourthOrderLevelSetImageFilter); 00087 00089 itkNewMacro (Self); 00090 00092 typedef typename Superclass::SparseImageType SparseImageType; 00093 00096 typedef LevelSetFunctionWithRefitTerm <TOutputImage,SparseImageType> FunctionType; 00097 00099 typedef typename FunctionType::RadiusType RadiusType; 00100 00101 itkGetMacro(MaxFilterIteration,unsigned int); 00102 itkSetMacro(MaxFilterIteration,unsigned int); 00103 00104 protected: 00105 IsotropicFourthOrderLevelSetImageFilter(); 00106 ~IsotropicFourthOrderLevelSetImageFilter() {}; 00107 virtual void PrintSelf(std::ostream& os, Indent indent) const; 00108 00110 typename FunctionType::Pointer m_Function; 00111 00113 unsigned int m_MaxFilterIteration; 00114 00116 virtual bool Halt() 00117 { 00118 if (this->GetElapsedIterations()==m_MaxFilterIteration) return true; 00119 else return false; 00120 } 00121 00122 private: 00123 IsotropicFourthOrderLevelSetImageFilter(const Self&); 00124 //purposely not implemented 00125 void operator=(const Self&); //purposely not implemented 00126 }; 00127 00128 } // end namespace itk 00129 00130 #ifndef ITK_MANUAL_INSTANTIATION 00131 #include "itkIsotropicFourthOrderLevelSetImageFilter.txx" 00132 #endif 00133 00134 #endif

Generated at Sun Apr 1 02:36:23 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000