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

itkBloxCoreAtomImage.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBloxCoreAtomImage.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:29:02 $
00007   Version:   $Revision: 1.29 $
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 __itkBloxCoreAtomImage_h
00018 #define __itkBloxCoreAtomImage_h
00019 
00020 #include "vnl/vnl_vector_fixed.h"
00021 #include "vnl/vnl_vector.h"
00022 #include "itkPoint.h"
00023 #include "itkVector.h"
00024 #include "itkCovariantVector.h"
00025 #include "itkBloxBoundaryPointItem.h"
00026 #include "itkBloxBoundaryPointPixel.h"
00027 #include "itkBloxBoundaryPointImage.h"
00028 #include "itkBloxCoreAtomItem.h"
00029 #include "itkBloxCoreAtomPixel.h"
00030 #include "itkBloxImage.h"
00031 
00032 namespace itk
00033 {
00034 
00043 template <unsigned int dim>
00044 class ITK_EXPORT BloxCoreAtomImage :
00045   public BloxImage<BloxCoreAtomPixel<dim>, dim>
00046 {
00047 public:
00049   typedef BloxCoreAtomImage  Self;
00050 
00055   itkStaticConstMacro(NDimensions, unsigned int, dim);
00056 
00057   typedef BloxImage<BloxCoreAtomPixel<dim>, dim>  Superclass;
00058   typedef SmartPointer<Self>  Pointer;
00059   typedef SmartPointer<const Self>  ConstPointer;
00060   
00062   itkNewMacro(Self);
00063 
00065   itkTypeMacro(BloxCoreAtomImage, BloxImage);
00066 
00068   typedef BloxBoundaryPointItem<dim> BPItemType;
00069 
00072   typedef BloxCoreAtomPixel<dim > PixelType;
00073 
00078   typedef PixelType InternalPixelType;
00079 
00082   typedef DefaultPixelAccessor< PixelType > AccessorType;
00083 
00085   typedef Point<double, dim> PositionType;
00086 
00088   typedef typename PositionType::VectorType VectorType;
00089 
00091   typedef CovariantVector<double, dim> GradientType;
00092 
00094   itkGetMacro(MedialNodeCount, int);
00095 
00096   typedef std::vector<PixelType*> NodePointerListType;
00097   typedef std::vector<PixelType*> * NodePointerListPointer;
00098 
00100   itkGetMacro(NodePointerList, NodePointerListPointer);
00101 
00106   typedef typename Superclass::PixelContainer PixelContainer;
00107   typedef typename Superclass::SizeType SizeType;
00108   typedef typename Superclass::IndexType IndexType;
00109   typedef typename IndexType::IndexValueType IndexValueType;
00110   typedef typename Superclass::OffsetType OffsetType;
00111   typedef typename Superclass::RegionType RegionType;
00112   
00114   typedef typename PixelContainer::Pointer PixelContainerPointer;
00115 
00117   void DoEigenanalysis();
00118 
00120   void DoCoreAtomVoting();
00121 
00122 
00123  // ImageRegionIterator<Self> ReturnIterator();
00124 
00125 
00126 protected:
00127   BloxCoreAtomImage();
00128   virtual ~BloxCoreAtomImage();
00129   void PrintSelf(std::ostream& os, Indent indent) const;
00130 
00131 private:
00132   BloxCoreAtomImage(const Self&); //purposely not implemented
00133   void operator=(const Self&); //purposely not implemented
00134 
00136   int m_MedialNodeCount;
00137 
00139   NodePointerListPointer m_NodePointerList;
00140 
00141 };
00142 
00143 } // end namespace itk
00144 
00145 #ifndef ITK_MANUAL_INSTANTIATION
00146 #include "itkBloxCoreAtomImage.txx"
00147 #endif
00148 
00149 #endif

Generated at Sun Jan 25 13:19:29 2004 for ITK by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-2000