00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkParametricSpaceToImageSpaceMeshFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2008-10-17 16:30:48 $ 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 __itkParametricSpaceToImageSpaceMeshFilter_h 00018 #define __itkParametricSpaceToImageSpaceMeshFilter_h 00019 00020 #include "itkMeshToMeshFilter.h" 00021 00022 namespace itk 00023 { 00024 00046 template <class TInputMesh, class TOutputMesh > 00047 class ITK_EXPORT ParametricSpaceToImageSpaceMeshFilter : 00048 public MeshToMeshFilter<TInputMesh,TOutputMesh> 00049 { 00050 public: 00052 typedef ParametricSpaceToImageSpaceMeshFilter Self; 00053 typedef MeshToMeshFilter<TInputMesh,TOutputMesh> Superclass; 00054 typedef SmartPointer<Self> Pointer; 00055 typedef SmartPointer<const Self> ConstPointer; 00056 00058 typedef typename TInputMesh::CoordRepType CoordRepType; 00059 00060 typedef TInputMesh InputMeshType; 00061 typedef TOutputMesh OutputMeshType; 00062 typedef typename InputMeshType::Pointer InputMeshPointer; 00063 typedef typename OutputMeshType::Pointer OutputMeshPointer; 00064 00066 itkNewMacro(Self); 00067 00069 itkTypeMacro(ParametricSpaceToImageSpaceMeshFilter,MeshToMeshFilter); 00070 00071 protected: 00072 ParametricSpaceToImageSpaceMeshFilter(); 00073 ~ParametricSpaceToImageSpaceMeshFilter() {}; 00074 void PrintSelf(std::ostream& os, Indent indent) const; 00075 00077 virtual void GenerateData( void ); 00078 00080 virtual void GenerateOutputInformation( void ); 00081 00082 private: 00083 ParametricSpaceToImageSpaceMeshFilter(const ParametricSpaceToImageSpaceMeshFilter&); //purposely not implemented 00084 void operator=(const ParametricSpaceToImageSpaceMeshFilter&); //purposely not implemented 00085 00086 }; 00087 00088 } // end namespace itk 00089 00090 #ifndef ITK_MANUAL_INSTANTIATION 00091 #include "itkParametricSpaceToImageSpaceMeshFilter.txx" 00092 #endif 00093 00094 #endif 00095