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

itkVectorCurvatureAnisotropicDiffusionImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkVectorCurvatureAnisotropicDiffusionImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/30 15:24:40 $
00007   Version:   $Revision: 1.11 $
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 __itkVectorCurvatureAnisotropicDiffusionImageFilter_h_
00018 #define __itkVectorCurvatureAnisotropicDiffusionImageFilter_h_
00019 
00020 #include "itkExceptionObject.h"
00021 #include "itkAnisotropicDiffusionImageFilter.h"
00022 #include "itkVectorCurvatureNDAnisotropicDiffusionFunction.h"
00023 
00024 namespace itk {
00025 
00032 template <class TInputImage, class TOutputImage>
00033 class VectorCurvatureAnisotropicDiffusionImageFilter
00034   : public AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00035 {
00036 public:
00038   typedef VectorCurvatureAnisotropicDiffusionImageFilter Self;
00039   typedef AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00040    Superclass;
00041   typedef SmartPointer<Self> Pointer;
00042   typedef SmartPointer<const Self> ConstPointer;
00043 
00045   itkNewMacro(Self);
00046 
00048   itkTypeMacro(VectorCurvatureAnisotropicDiffusionImageFilter,
00049                AnisotropicDiffusionImageFilter);
00050   
00052   typedef typename Superclass::UpdateBufferType UpdateBufferType;
00053 
00055   itkStaticConstMacro(ImageDimension, unsigned int,
00056                       Superclass::ImageDimension );
00057   
00058 protected:
00059   VectorCurvatureAnisotropicDiffusionImageFilter()
00060     {
00061     typename VectorCurvatureNDAnisotropicDiffusionFunction<UpdateBufferType>::Pointer q
00062         = VectorCurvatureNDAnisotropicDiffusionFunction<UpdateBufferType>::New();
00063       this->SetDifferenceFunction(q);
00064     }
00065   ~VectorCurvatureAnisotropicDiffusionImageFilter() {}
00066   void PrintSelf(std::ostream& os, Indent indent) const
00067     { Superclass::PrintSelf(os,indent);  }
00068 private:
00069   VectorCurvatureAnisotropicDiffusionImageFilter(const Self&); //purposely not implemented
00070   void operator=(const Self&); //purposely not implemented
00071 };
00072 
00073 } // end namspace itk
00074 
00075 #endif

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