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

itkCopperColormapFunctor.h

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

Generated at Tue Sep 15 02:41:43 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000