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

itkVectorAnisotropicDiffusionFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkVectorAnisotropicDiffusionFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-10-17 16:30:53 $
00007   Version:   $Revision: 1.14 $
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 __itkVectorAnisotropicDiffusionFunction_h
00018 #define __itkVectorAnisotropicDiffusionFunction_h
00019 
00020 #include "itkAnisotropicDiffusionFunction.h"
00021 #include "itkVector.h"
00022 
00023 namespace itk {
00024 
00049 template <class TImage>
00050 class ITK_EXPORT VectorAnisotropicDiffusionFunction :
00051     public AnisotropicDiffusionFunction<TImage>
00052 {
00053 public:
00055   typedef VectorAnisotropicDiffusionFunction   Self;
00056   typedef AnisotropicDiffusionFunction<TImage> Superclass;
00057   typedef SmartPointer<Self>                   Pointer;
00058   typedef SmartPointer<const Self>             ConstPointer;
00059 
00061   itkTypeMacro(VectorAnisotropicDiffusionFunction,
00062                AnisotropicDiffusionFunction);
00063 
00065   typedef typename Superclass::ImageType        ImageType;
00066   typedef typename Superclass::PixelType        PixelType;
00067   typedef typename Superclass::TimeStepType     TimeStepType;
00068   typedef typename Superclass::RadiusType       RadiusType;
00069   typedef typename Superclass::NeighborhoodType NeighborhoodType;
00070 
00072   itkStaticConstMacro(ImageDimension, unsigned int,
00073                       Superclass::ImageDimension );
00074   itkStaticConstMacro(VectorDimension, unsigned int, PixelType::Dimension );
00076 
00078   virtual void CalculateAverageGradientMagnitudeSquared(TImage *);
00079 
00080 protected:
00081   VectorAnisotropicDiffusionFunction() {}
00082   ~VectorAnisotropicDiffusionFunction() {}
00083   void PrintSelf(std::ostream& os, Indent indent) const
00084   { Superclass::PrintSelf(os,indent); }
00085 private:
00086   VectorAnisotropicDiffusionFunction(const Self&); //purposely not implemented
00087   void operator=(const Self&); //purposely not implemented
00088 };
00089 
00090 }// end namespace itk
00091 
00092 #ifndef ITK_MANUAL_INSTANTIATION
00093 #include "itkVectorAnisotropicDiffusionFunction.txx"
00094 #endif
00095 
00096 #endif
00097 

Generated at Thu Nov 6 00:37:47 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000