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

itkCorrespondenceDataStructure.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkCorrespondenceDataStructure.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:29:05 $
00007   Version:   $Revision: 1.3 $
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 __itkCorrespondenceDataStructure_h
00018 #define __itkCorrespondenceDataStructure_h
00019 
00020 #include "itkDataObject.h"
00021 #include "itkNodeList.h"
00022 #include "itkSecondaryNodeList.h"
00023 #include "itkCorrespondingList.h"
00024 
00025 namespace itk
00026 {
00027 
00039 template<typename TItemType, int VCliqueSize>
00040 class CorrespondenceDataStructure : public DataObject {
00041 public:
00042 
00044   typedef CorrespondenceDataStructure Self;
00045   typedef DataObject Superclass;
00046   typedef SmartPointer<Self>   Pointer;
00047   typedef SmartPointer<const Self>  ConstPointer;
00048 
00050   itkNewMacro(Self);
00051 
00053   itkTypeMacro(CorrespondenceDataStructure, DataObject);
00054 
00055   typedef TItemType ItemType;
00056   itkStaticConstMacro(CliqueSize, unsigned int, VCliqueSize);
00057 
00059   void UpdateOutputInformation() {}
00060 
00062   typedef CorrespondingList<TItemType, VCliqueSize> CorrespondingListType;
00063 
00065   typedef SecondaryNodeList<CorrespondingListType, VCliqueSize> SecondaryNodeListType;
00066 
00068   typedef NodeList<SecondaryNodeListType> NodeListType;
00069 
00071   NodeListType * m_NodeList;
00072 
00073 protected:
00075   CorrespondenceDataStructure();
00076 
00078   ~CorrespondenceDataStructure() {};
00079 
00081   bool VerifyRequestedRegion() { return true; }
00082   void SetRequestedRegionToLargestPossibleRegion () {}
00083   bool RequestedRegionIsOutsideOfTheBufferedRegion () { return false; }
00084   void SetRequestedRegion (DataObject *) {}
00085 };
00086 
00087 } // end namespace itk
00088 
00089 #ifndef ITK_MANUAL_INSTANTIATION
00090 #include "itkCorrespondenceDataStructure.txx"
00091 #endif
00092 
00093 #endif 

Generated at Sun Jan 25 13:19:31 2004 for ITK by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-2000