00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkBloxBoundaryPointImage.h,v $ 00005 Language: C++ 00006 Date: $Date: 2002/09/12 20:38:59 $ 00007 Version: $Revision: 1.19 $ 00008 00009 Copyright (c) 2002 Insight 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 00034 template <unsigned int VImageDimension> 00035 class ITK_EXPORT BloxBoundaryPointImage : 00036 public BloxImage< BloxBoundaryPointPixel<VImageDimension >, VImageDimension > 00037 { 00038 public: 00040 typedef BloxBoundaryPointImage Self; 00041 typedef BloxImage<BloxBoundaryPointPixel<VImageDimension>, 00042 VImageDimension > 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<VImageDimension> PixelType; 00055 00060 typedef PixelType InternalPixelType; 00061 00064 typedef DefaultPixelAccessor< PixelType > AccessorType; 00065 00067 typedef typename Superclass::PixelContainer PixelContainer; 00068 typedef typename Superclass::SizeType SizeType; 00069 typedef typename Superclass::IndexType IndexType; 00070 typedef typename Superclass::OffsetType OffsetType; 00071 typedef typename Superclass::RegionType RegionType; 00072 00074 typedef typename PixelContainer::Pointer PixelContainerPointer; 00075 00077 itkSetMacro(NumBoundaryPoints, unsigned long int); 00078 00080 itkGetConstMacro(NumBoundaryPoints, unsigned long int); 00081 00082 protected: 00083 BloxBoundaryPointImage(); 00084 virtual ~BloxBoundaryPointImage(); 00085 void PrintSelf(std::ostream& os, Indent indent) const; 00086 00087 private: 00088 BloxBoundaryPointImage(const Self&); //purposely not implemented 00089 void operator=(const Self&); //purposely not implemented 00090 00092 unsigned long int m_NumBoundaryPoints; 00093 }; 00094 00095 } // end namespace itk 00096 00097 #ifndef ITK_MANUAL_INSTANTIATION 00098 #include "itkBloxBoundaryPointImage.txx" 00099 #endif 00100 00101 #endif