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

itkAutumnColormapFunctor.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkAutumnColormapFunctor.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-05-15 19:22:31 $
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 #ifndef __itkAutumnColormapFunctor_h
00018 #define __itkAutumnColormapFunctor_h
00019 
00020 #include "itkColormapFunctor.h"
00021 
00022 namespace itk {
00023 
00024 namespace Functor {  
00025 
00039 template< class TScalar, class TRGBPixel >
00040 class ITK_EXPORT AutumnColormapFunctor
00041 : public ColormapFunctor<TScalar, TRGBPixel>
00042 {
00043 public:
00044 
00045   typedef AutumnColormapFunctor                  Self;
00046   typedef ColormapFunctor<TScalar, TRGBPixel>    Superclass;
00047   typedef SmartPointer<Self>                     Pointer;
00048   typedef SmartPointer<const Self>               ConstPointer;
00049 
00051   itkNewMacro( Self );
00052 
00053   typedef typename Superclass::RGBPixelType      RGBPixelType;
00054   typedef typename Superclass::ScalarType        ScalarType;  
00055   typedef typename Superclass::RealType          RealType;
00056   
00057   virtual RGBPixelType operator()( const TScalar & ) const;
00058 
00059 protected:
00060   AutumnColormapFunctor() {};
00061   ~AutumnColormapFunctor() {};
00062 
00063 private:
00064   AutumnColormapFunctor(const Self&); //purposely not implemented
00065   void operator=(const Self&); //purposely not implemented
00066 };
00067   
00068 } // end namespace functor
00069 
00070 } // end namespace itk
00071 
00072 #ifndef ITK_MANUAL_INSTANTIATION
00073 #include "itkAutumnColormapFunctor.txx"
00074 #endif
00075 
00076 #endif
00077 

Generated at Thu May 28 09:20:31 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000