00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkBloxBoundaryProfileImage.h,v $ 00005 Language: C++ 00006 Date: $Date: 2002/08/26 16:24:39 $ 00007 Version: $Revision: 1.2 $ 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 __itkBloxBoundaryProfileImage_h 00018 #define __itkBloxBoundaryProfileImage_h 00019 00020 #include "vnl/vnl_vector_fixed.h" 00021 #include "itkPoint.h" 00022 #include "itkVector.h" 00023 #include "itkCovariantVector.h" 00024 #include "itkBloxBoundaryPointItem.h" 00025 #include "itkBloxBoundaryPointPixel.h" 00026 #include "itkBloxBoundaryPointImage.h" 00027 00028 #include "itkBloxBoundaryProfileItem.h" 00029 #include "itkBloxBoundaryProfilePixel.h" 00030 #include "itkBloxImage.h" 00031 #include "itkImage.h" 00032 00033 namespace itk 00034 { 00035 00045 template <unsigned int VImageDimension> 00046 class ITK_EXPORT BloxBoundaryProfileImage : 00047 public BloxImage<BloxBoundaryProfilePixel<VImageDimension >, VImageDimension> 00048 { 00049 public: 00050 00052 typedef BloxBoundaryProfileImage Self; 00053 typedef BloxImage<BloxBoundaryProfilePixel<VImageDimension>, 00054 VImageDimension > Superclass; 00055 typedef SmartPointer<Self> Pointer; 00056 typedef SmartPointer<const Self> ConstPointer; 00057 00058 itkNewMacro(Self); 00059 00060 itkTypeMacro(BloxBoundaryProfileImage, BloxImage); 00061 00062 typedef BloxBoundaryProfilePixel<VImageDimension> PixelType; 00063 typedef PixelType InternalPixelType; 00064 00065 typedef DefaultPixelAccessor< PixelType > AccessorType; 00066 00067 typedef Point<double, VImageDimension> PositionType; 00068 00069 typedef typename PositionType::VectorType VectorType; 00070 00071 typedef CovariantVector<double, VImageDimension> GradientType; 00072 00073 typedef typename Superclass::PixelContainer PixelContainer; 00074 typedef typename Superclass::SizeType SizeType; 00075 typedef typename Superclass::IndexType IndexType; 00076 typedef typename Superclass::OffsetType OffsetType; 00077 typedef typename Superclass::RegionType RegionType; 00078 00079 typedef typename PixelContainer::Pointer PixelContainerPointer; 00080 00081 00082 protected: 00083 BloxBoundaryProfileImage(); 00084 virtual ~BloxBoundaryProfileImage(); 00085 void PrintSelf(std::ostream& os, Indent indent) const; 00086 00087 private: 00088 BloxBoundaryProfileImage(const Self&); //purposely not implemented 00089 void operator=(const Self&); //purposely not implemented 00090 }; 00091 00092 } // end namespace itk 00093 00094 #ifndef ITK_MANUAL_INSTANTIATION 00095 #include "itkBloxBoundaryProfileImage.txx" 00096 #endif 00097 00098 #endif