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

itkBloxPixel.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBloxPixel.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007-02-05 13:35:52 $
00007   Version:   $Revision: 1.15 $
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 __itkBloxPixel_h
00018 #define __itkBloxPixel_h
00019 
00020 #include <list>
00021 
00022 #include "itkBloxItem.h"
00023 
00024 namespace itk
00025 {
00026 
00044 template <typename TItemType>
00045 class BloxPixel : public std::list<TItemType*>
00046 {
00047 public:
00048 
00050   void DeleteListEntries();
00051 
00053   unsigned long int GetSize()
00054     {return static_cast<unsigned long>( this->size() ); }
00055 
00056   BloxPixel();
00057   ~BloxPixel();
00058 };
00059 
00060 
00061 } // end namespace itk
00062 
00063 // Define instantiation macro for this template.
00064 #define ITK_TEMPLATE_BloxPixel(_, EXPORT, x, y) namespace itk { \
00065   _(1(class EXPORT BloxPixel< ITK_TEMPLATE_1 x >)) \
00066   namespace Templates { typedef BloxPixel< ITK_TEMPLATE_1 x > \
00067                                BloxPixel##y; } \
00068   }
00069 
00070 #if ITK_TEMPLATE_EXPLICIT
00071 # include "Templates/itkBloxPixel+-.h"
00072 #endif
00073 
00074 #if ITK_TEMPLATE_TXX
00075 # include "itkBloxPixel.txx"
00076 #endif
00077 
00078 #endif
00079 

Generated at Thu May 28 09:30:28 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000