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

itkImageContainerInterface.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkImageContainerInterface.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:10 $ 00007 Version: $Revision: 1.10 $ 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 __itkImageContainerInterface_h 00018 #define __itkImageContainerInterface_h 00019 00020 #include "itkObject.h" 00021 00022 namespace itk 00023 { 00024 00052 template <typename TElementIdentifier, typename TElement> 00053 class ITK_EXPORT ImageContainerInterface: public Object 00054 { 00055 public: 00057 typedef ImageContainerInterface Self; 00058 typedef Object Superclass; 00059 typedef SmartPointer<Self> Pointer; 00060 typedef SmartPointer<const Self> ConstPointer; 00061 00063 itkTypeMacro(ImageContainerInterface, Object); 00064 00066 typedef TElementIdentifier ElementIdentifier; 00067 typedef TElement Element; 00068 00070 virtual TElement & operator[](const ElementIdentifier)=0; 00071 00073 virtual const TElement & operator[](const ElementIdentifier) const =0; 00074 00077 virtual TElement *GetBufferPointer()=0; 00078 00080 virtual unsigned long Size(void) const =0; 00081 00086 virtual void Reserve(ElementIdentifier)=0; 00087 00091 virtual void Squeeze(void)=0; 00092 00093 }; 00094 00095 } // end namespace itk 00096 00097 #endif

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