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

itkGreenColormapFunctor.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGreenColormapFunctor.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-05-15 19:08:09 $
00007   Version:   $Revision: 1.2 $
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 __itkGreenColormapFunctor_h
00018 #define __itkGreenColormapFunctor_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 GreenColormapFunctor
00041 : public ColormapFunctor<TScalar, TRGBPixel>
00042 {
00043 public:
00044 
00045   typedef GreenColormapFunctor                   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   GreenColormapFunctor() {};
00061   ~GreenColormapFunctor() {};
00062 
00063 private:
00064   GreenColormapFunctor(const Self&); //purposely not implemented
00065   void operator=(const Self&); //purposely not implemented
00066 
00067 };
00068   
00069 } // end namespace functor
00070 
00071 } // end namespace itk
00072 
00073 #ifndef ITK_MANUAL_INSTANTIATION
00074 #include "itkGreenColormapFunctor.txx"
00075 #endif
00076 
00077 #endif
00078 

Generated at Mon Jul 12 2010 18:29:32 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000