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

itkBloxBoundaryPointImage.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBloxBoundaryPointImage.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007-01-30 20:56:07 $
00007   Version:   $Revision: 1.25 $
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 __itkBloxBoundaryPointImage_h
00018 #define __itkBloxBoundaryPointImage_h
00019 
00020 #include "itkPoint.h"
00021 #include "itkBloxBoundaryPointPixel.h"
00022 #include "itkBloxImage.h"
00023 
00024 namespace itk
00025 {
00026 
00033 template <unsigned int TImageDimension>
00034 class ITK_EXPORT BloxBoundaryPointImage :
00035   public BloxImage< BloxBoundaryPointPixel<TImageDimension >, TImageDimension >
00036 {
00037 public:
00038 
00040   typedef BloxBoundaryPointImage       Self;
00041   typedef BloxImage<BloxBoundaryPointPixel<TImageDimension>,
00042                     TImageDimension >  Superclass;
00043   typedef SmartPointer<Self>           Pointer;
00044   typedef SmartPointer<const Self>     ConstPointer;
00045 
00047   itkTypeMacro(BloxBoundaryPointImage, BloxImage);
00048 
00050   itkNewMacro(Self);
00051 
00054   typedef BloxBoundaryPointPixel<TImageDimension> PixelType;
00055 
00060   typedef PixelType InternalPixelType;
00061 
00062   typedef typename Superclass::IOPixelType   IOPixelType;
00063 
00066   typedef DefaultPixelAccessor< PixelType > AccessorType;
00067 
00069   typedef typename Superclass::PixelContainer PixelContainer;
00070   typedef typename Superclass::SizeType       SizeType;
00071   typedef typename Superclass::IndexType      IndexType;
00072   typedef typename Superclass::OffsetType     OffsetType;
00073   typedef typename Superclass::RegionType     RegionType;
00074 
00076   typedef typename PixelContainer::Pointer PixelContainerPointer;
00077 
00079   itkSetMacro(NumBoundaryPoints, unsigned long int);
00080 
00082   itkGetConstReferenceMacro(NumBoundaryPoints, unsigned long int);
00083 
00084 protected:
00085   BloxBoundaryPointImage();
00086   virtual ~BloxBoundaryPointImage();
00087   void PrintSelf(std::ostream& os, Indent indent) const;
00088 
00089 private:
00090   BloxBoundaryPointImage(const Self&); //purposely not implemented
00091   void operator=(const Self&); //purposely not implemented
00092 
00094   unsigned long int m_NumBoundaryPoints;
00095 };
00096 
00097 } // end namespace itk
00098 
00099 // Define instantiation macro for this template.
00100 #define ITK_TEMPLATE_BloxBoundaryPointImage(_, EXPORT, x, y) namespace itk { \
00101   _(1(class EXPORT BloxBoundaryPointImage< ITK_TEMPLATE_1 x >)) \
00102   namespace Templates { typedef BloxBoundaryPointImage< ITK_TEMPLATE_1 x > \
00103                                             BloxBoundaryPointImage##y; } \
00104   }
00105 
00106 #if ITK_TEMPLATE_EXPLICIT
00107 # include "Templates/itkBloxBoundaryPointImage+-.h"
00108 #endif
00109 
00110 #if ITK_TEMPLATE_TXX
00111 # include "itkBloxBoundaryPointImage.txx"
00112 #endif
00113 
00114 #endif
00115 

Generated at Tue Sep 15 02:23:08 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000