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/09/10 14:29:46 $ 00007 Version: $Revision: 1.8 $ 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 __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 Update() 00062 { this->Run() ; } 00063 00065 void Run() ; 00066 00067 protected: 00068 ListSampleToHistogramFilter() ; 00069 virtual ~ListSampleToHistogramFilter() {} 00070 private: 00071 TListSample* m_List ; 00072 THistogram* m_Histogram ; 00073 } ; // end of class 00074 00075 } // end of namespace Statistics 00076 } // end of namespace itk 00077 00078 #ifndef ITK_MANUAL_INSTANTIATION 00079 #include "itkListSampleToHistogramFilter.txx" 00080 #endif 00081 00082 #endif

Generated at Sat Mar 31 02:23:55 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000