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

itkImageToMeshFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkImageToMeshFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:50 $ 00007 Version: $Revision: 1.9 $ 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 __itkImageToMeshFilter_h 00018 #define __itkImageToMeshFilter_h 00019 00020 #include "itkMeshSource.h" 00021 00022 namespace itk 00023 { 00024 00034 template <class TInputImage, class TOutputMesh> 00035 class ITK_EXPORT ImageToMeshFilter : public MeshSource<TOutputMesh> 00036 { 00037 public: 00039 typedef ImageToMeshFilter Self; 00040 typedef MeshSource<TOutputMesh> Superclass; 00041 typedef SmartPointer<Self> Pointer; 00042 typedef SmartPointer<const Self> ConstPointer; 00043 00044 00046 itkTypeMacro(ImageToMeshFilter, MeshSource); 00047 00049 DataObject::Pointer MakeOutput(unsigned int idx); 00050 00052 typedef TInputImage InputImageType; 00053 typedef typename InputImageType::Pointer InputImagePointer; 00054 typedef typename InputImageType::ConstPointer InputImageConstPointer; 00055 typedef typename InputImageType::RegionType InputImageRegionType; 00056 typedef typename InputImageType::PixelType InputImagePixelType; 00057 00059 typedef TOutputMesh OutputMeshType; 00060 typedef typename OutputMeshType::Pointer OutputMeshPointer; 00061 00063 void SetInput(unsigned int idx, const InputImageType *input); 00064 00066 const InputImageType * GetInput(unsigned int idx); 00067 00069 OutputMeshType * GetOutput(void); 00070 00072 void GenerateOutputInformation(void); 00073 00074 protected: 00075 ImageToMeshFilter(); 00076 ~ImageToMeshFilter(); 00077 void PrintSelf(std::ostream& os, Indent indent) const; 00078 00079 private: 00080 ImageToMeshFilter(const ImageToMeshFilter&); //purposely not implemented 00081 void operator=(const ImageToMeshFilter&); //purposely not implemented 00082 00083 }; 00084 00085 } // end namespace itk 00086 00087 #ifndef ITK_MANUAL_INSTANTIATION 00088 #include "itkImageToMeshFilter.txx" 00089 #endif 00090 00091 #endif

Generated at Sun Apr 1 02:35:53 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000