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: 2004/11/01 21:16:30 $
00007   Version:   $Revision: 1.30 $
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   typedef WeakPointer<const Self>  ConstWeakPointer;
00061   
00063   itkNewMacro(Self);
00064 
00066   itkTypeMacro(BloxCoreAtomImage, BloxImage);
00067 
00069   typedef BloxBoundaryPointItem<dim> BPItemType;
00070 
00073   typedef BloxCoreAtomPixel<dim > PixelType;
00074 
00079   typedef PixelType InternalPixelType;
00080 
00083   typedef DefaultPixelAccessor< PixelType > AccessorType;
00084 
00086   typedef Point<double, dim> PositionType;
00087 
00089   typedef typename PositionType::VectorType VectorType;
00090 
00092   typedef CovariantVector<double, dim> GradientType;
00093 
00095   itkGetMacro(MedialNodeCount, int);
00096 
00097   typedef std::vector<PixelType*> NodePointerListType;
00098   typedef std::vector<PixelType*> * NodePointerListPointer;
00099 
00101   itkGetMacro(NodePointerList, NodePointerListPointer);
00102 
00107   typedef typename Superclass::PixelContainer PixelContainer;
00108   typedef typename Superclass::SizeType SizeType;
00109   typedef typename Superclass::IndexType IndexType;
00110   typedef typename IndexType::IndexValueType IndexValueType;
00111   typedef typename Superclass::OffsetType OffsetType;
00112   typedef typename Superclass::RegionType RegionType;
00113   
00115   typedef typename PixelContainer::Pointer PixelContainerPointer;
00116 
00118   void DoEigenanalysis();
00119 
00121   void DoCoreAtomVoting();
00122 
00123 
00124  // ImageRegionIterator<Self> ReturnIterator();
00125 
00126 
00127 protected:
00128   BloxCoreAtomImage();
00129   virtual ~BloxCoreAtomImage();
00130   void PrintSelf(std::ostream& os, Indent indent) const;
00131 
00132 private:
00133   BloxCoreAtomImage(const Self&); //purposely not implemented
00134   void operator=(const Self&); //purposely not implemented
00135 
00137   int m_MedialNodeCount;
00138 
00140   NodePointerListPointer m_NodePointerList;
00141 
00142 };
00143 
00144 } // end namespace itk
00145 
00146 #ifndef ITK_MANUAL_INSTANTIATION
00147 #include "itkBloxCoreAtomImage.txx"
00148 #endif
00149 
00150 #endif

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