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

itkListSampleToHistogramFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkListSampleToHistogramFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/01/27 17:06:56 $
00007   Version:   $Revision: 1.6 $
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 __itkListSampleToHistogramFilter_h
00018 #define __itkListSampleToHistogramFilter_h
00019 
00020 #include "itkObject.h"
00021 #include "itkListSampleBase.h"
00022 #include "itkHistogram.h"
00023 
00024 namespace itk{
00025   namespace Statistics{
00026 
00036 template< class TListSample, class THistogram >
00037 class ITK_EXPORT ListSampleToHistogramFilter :
00038       public Object
00039 {
00040 public:
00042   typedef ListSampleToHistogramFilter Self;
00043   typedef Object Superclass;
00044   typedef SmartPointer<Self>   Pointer;
00045   
00047   itkTypeMacro(ListSampleToHistogramFilter, Object) ;
00048   
00050   itkNewMacro(Self) ;
00051 
00053   void SetListSample(TListSample* list)
00054   { m_List = list ; }
00055 
00057   void SetHistogram(THistogram* histogram)
00058   { m_Histogram = histogram ;  }
00059 
00061   void Run() ;
00062 
00063 protected:
00064   ListSampleToHistogramFilter() ;
00065   virtual ~ListSampleToHistogramFilter() {}
00066 private:
00067   TListSample* m_List ;
00068   THistogram* m_Histogram ;
00069 } ; // end of class
00070 
00071   } // end of namespace Statistics 
00072 } // end of namespace itk 
00073 
00074 #ifndef ITK_MANUAL_INSTANTIATION
00075 #include "itkListSampleToHistogramFilter.txx"
00076 #endif
00077 
00078 #endif

Generated at Fri May 21 01:15:00 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000