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

itkCorrespondingList.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkCorrespondingList.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:05 $ 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 __itkCorrespondingList_h 00018 #define __itkCorrespondingList_h 00019 00020 #include <list> 00021 #include "itkCorrespondingList.h" 00022 00023 namespace itk 00024 { 00025 00034 template <typename TItemType, int VCliqueSize> 00035 class CorrespondingList : public std::list< TItemType > 00036 { 00037 public: 00038 00040 unsigned long int GetSize() 00041 {return this->size(); } 00042 00044 int GetIndex(int i){return m_Index[i];} 00045 void SetIndex(int i, int value){m_Index[i] = value;} 00046 00048 CorrespondingList(); 00049 00051 ~CorrespondingList(); 00052 00053 private: 00054 00056 int m_Index[VCliqueSize]; 00057 }; 00058 00059 } // end namespace itk 00060 00061 #ifndef ITK_MANUAL_INSTANTIATION 00062 #include "itkCorrespondingList.txx" 00063 #endif 00064 00065 #endif

Generated at Sun Apr 1 02:26:28 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000