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

itkListSample.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkListSample.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/11 19:57:14 $
00007   Version:   $Revision: 1.8 $
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 __itkListSample_h
00018 #define __itkListSample_h
00019 
00020 #include "itkSample.h"
00021 
00022 #include <vector>
00023 
00024 namespace itk{ 
00025 namespace Statistics{
00026 
00038 template< class TMeasurementVector >
00039 class ITK_EXPORT ListSample : public Sample< TMeasurementVector >
00040 {
00041 public:
00043   typedef ListSample  Self;
00044   typedef Sample< TMeasurementVector > Superclass;
00045 
00047   itkTypeMacro(ListSample, Sample);
00048 
00053   typedef typename Superclass::MeasurementVectorType MeasurementVectorType;
00054   typedef typename Superclass::MeasurementType MeasurementType;
00055   typedef typename Superclass::FrequencyType FrequencyType ;
00056   typedef typename Superclass::InstanceIdentifier InstanceIdentifier;
00057 
00059   itkStaticConstMacro(MeasurementVectorSize, unsigned int,
00060                       TMeasurementVector::Length);
00061 
00062 protected:
00063   ListSample() ;
00064   virtual ~ListSample() {};
00065   void PrintSelf(std::ostream& os, Indent indent) const; 
00066   
00067 private:
00068   ListSample(const Self&) ; //purposely not implemented
00069   void operator=(const Self&) ; //purposely not implemented
00070 };
00071 
00072 } // end of namespace Statistics 
00073 } // end of namespace itk 
00074 
00075 #ifndef ITK_MANUAL_INSTANTIATION
00076 #include "itkListSample.txx"
00077 #endif
00078 
00079 #endif

Generated at Wed Mar 12 01:13:05 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000