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

itkBloxImage.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBloxImage.h,v $
00005   Language:  C++
00006   Date:      $Date: 2004/11/01 21:16:30 $
00007   Version:   $Revision: 1.19 $
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 __itkBloxImage_h
00018 #define __itkBloxImage_h
00019 
00020 #include "itkBloxPixel.h"
00021 #include "itkImage.h"
00022 
00023 namespace itk
00024 {
00025 
00059 template <typename TBloxPixelType, unsigned int VImageDimension=3>
00060 class ITK_EXPORT BloxImage : public Image<TBloxPixelType, VImageDimension>
00061 {
00062 public:
00064   typedef BloxImage  Self;
00065   typedef Image<TBloxPixelType, VImageDimension>  Superclass;
00066   typedef SmartPointer<Self>  Pointer;
00067   typedef SmartPointer<const Self>  ConstPointer;
00068   typedef WeakPointer<const Self>  ConstWeakPointer;
00069   
00071   itkNewMacro(Self);  
00072 
00074   itkTypeMacro(BloxImage, Image);
00075 
00078   typedef TBloxPixelType PixelType;
00079 
00084   typedef TBloxPixelType InternalPixelType;
00085 
00088   typedef DefaultPixelAccessor< PixelType > AccessorType;
00089 
00094   itkStaticConstMacro(ImageDimension, unsigned int, VImageDimension);
00095 
00097   typedef typename Superclass::PixelContainer PixelContainer;
00098   typedef typename Superclass::SizeType SizeType;
00099   typedef typename Superclass::IndexType IndexType;
00100   typedef typename Superclass::OffsetType OffsetType;
00101   typedef typename Superclass::RegionType RegionType;
00102   
00104   typedef typename PixelContainer::Pointer PixelContainerPointer;
00105 
00110   void EmptyImage();
00111 
00112 protected:
00113   BloxImage();
00114   virtual ~BloxImage();
00115   void PrintSelf(std::ostream& os, Indent indent) const;
00116 
00117 private:
00118   BloxImage(const Self&); //purposely not implemented
00119   void operator=(const Self&); //purposely not implemented
00120 
00121 };
00122 
00123 } // end namespace itk
00124 
00125 #ifndef ITK_MANUAL_INSTANTIATION
00126 #include "itkBloxImage.txx"
00127 #endif
00128 
00129 #endif

Generated at Wed May 24 22:52:28 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000