00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkBloxBoundaryProfilePixel.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007-01-30 20:56:07 $ 00007 Version: $Revision: 1.11 $ 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 __itkBloxBoundaryProfilePixel_h 00018 #define __itkBloxBoundaryProfilePixel_h 00019 00020 #include "itkBloxBoundaryProfileItem.h" 00021 #include "itkBloxBoundaryPointItem.h" 00022 #include "itkPoint.h" 00023 #include "itkBloxPixel.h" 00024 00025 namespace itk 00026 { 00027 00028 template <unsigned int NDimensions> 00029 class ITK_EXPORT BloxBoundaryProfilePixel : public BloxPixel< 00030 BloxBoundaryProfileItem<NDimensions> > 00031 { 00032 public: 00033 00035 itkTypeMacro( BloxBoundaryProfilePixel, BloxPixel ); 00036 00038 typedef BloxBoundaryProfilePixel<NDimensions> BoundaryProfileItemType; 00039 00041 typedef BloxBoundaryPointItem<NDimensions> BPItemType; 00042 00044 typedef Point<double, NDimensions> PositionType; 00045 00046 BloxBoundaryProfilePixel(); 00047 virtual ~BloxBoundaryProfilePixel(); 00048 }; 00049 00050 } // end namespace itk 00051 00052 // Define instantiation macro for this template. 00053 #define ITK_TEMPLATE_BloxBoundaryProfilePixel(_, EXPORT, x, y) namespace itk { \ 00054 _(1(class EXPORT BloxBoundaryProfilePixel< ITK_TEMPLATE_1 x >)) \ 00055 namespace Templates { typedef BloxBoundaryProfilePixel< ITK_TEMPLATE_1 x > \ 00056 BloxBoundaryProfilePixel##y; } \ 00057 } 00058 00059 #if ITK_TEMPLATE_EXPLICIT 00060 # include "Templates/itkBloxBoundaryProfilePixel+-.h" 00061 #endif 00062 00063 #if ITK_TEMPLATE_TXX 00064 # include "itkBloxBoundaryProfilePixel.txx" 00065 #endif 00066 00067 00068 #endif 00069