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

itkMRASlabIdentifier.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkMRASlabIdentifier.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:34 $ 00007 Version: $Revision: 1.14 $ 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 __itkMRASlabIdentifier_h 00018 #define __itkMRASlabIdentifier_h 00019 00020 #include "itkObject.h" 00021 #include "itkImage.h" 00022 #include <vector> 00023 00024 00025 namespace itk 00026 { 00027 00064 template <class TInputImage> 00065 class ITK_EXPORT MRASlabIdentifier : public Object 00066 { 00067 public: 00069 typedef MRASlabIdentifier Self; 00070 typedef Object Superclass; 00071 typedef SmartPointer<Self> Pointer; 00072 typedef SmartPointer<const Self> ConstPointer; 00073 00075 itkTypeMacro(MRASlabIdentifier, Object); 00076 00078 itkNewMacro(Self); 00079 00081 typedef TInputImage ImageType; 00082 00084 typedef typename TInputImage::Pointer ImagePointer; 00085 00087 typedef typename TInputImage::ConstPointer ImageConstPointer; 00088 00090 typedef typename TInputImage::PixelType ImagePixelType; 00091 typedef typename TInputImage::IndexType ImageIndexType; 00092 typedef typename TInputImage::SizeType ImageSizeType; 00093 typedef typename TInputImage::RegionType ImageRegionType ; 00094 typedef std::vector<ImageRegionType> SlabRegionVectorType ; 00095 00097 itkSetConstObjectMacro( Image, ImageType ); 00098 itkGetConstObjectMacro( Image, ImageType ); 00099 00101 itkSetMacro(NumberOfSamples, unsigned int); 00102 itkGetConstMacro(NumberOfSamples, unsigned int); 00103 00105 itkSetMacro(BackgroundMinimumThreshold, ImagePixelType); 00106 itkGetConstMacro(BackgroundMinimumThreshold, ImagePixelType); 00107 00109 itkSetMacro(Tolerance, double); 00110 itkGetConstMacro(Tolerance, double); 00111 00114 itkSetMacro(SlicingDirection,int); 00115 itkGetConstMacro(SlicingDirection,int); 00116 00119 void GenerateSlabRegions(void); 00120 00122 SlabRegionVectorType GetSlabRegionVector(void) ; 00123 00124 protected: 00125 MRASlabIdentifier() ; 00126 virtual ~MRASlabIdentifier() {} 00127 void PrintSelf(std::ostream& os, Indent indent) const; 00128 00129 private: 00130 MRASlabIdentifier(const Self&); //purposely not implemented 00131 void operator=(const Self&); //purposely not implemented 00132 00134 ImageConstPointer m_Image ; 00135 00138 unsigned int m_NumberOfSamples ; 00139 00140 int m_SlicingDirection ; 00141 ImagePixelType m_BackgroundMinimumThreshold ; 00142 double m_Tolerance ; 00143 SlabRegionVectorType m_Slabs ; 00144 }; 00145 00146 } // end namespace itk 00147 00148 00149 #ifndef ITK_MANUAL_INSTANTIATION 00150 #include "itkMRASlabIdentifier.txx" 00151 #endif 00152 00153 #endif /* __itkMRASlabIdentifier_h */

Generated at Sat Mar 31 02:24:46 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000