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;}
00047 
00049   CorrespondingList();
00050 
00052   ~CorrespondingList();
00053 
00054 private:
00055   
00057   int m_Index[VCliqueSize];
00058 };
00059 
00060 } // end namespace itk
00061 
00062 #ifndef ITK_MANUAL_INSTANTIATION
00063 #include "itkCorrespondingList.txx"
00064 #endif
00065 
00066 #endif
00067 

Generated at Tue Jul 29 19:40:28 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000