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

itkTransformMeshFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkTransformMeshFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/30 15:24:40 $
00007   Version:   $Revision: 1.12 $
00008 
00009   Copyright (c) 2002 Insight 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 __itkTransformMeshFilter_h
00018 #define __itkTransformMeshFilter_h
00019 
00020 #include "itkMeshToMeshFilter.h"
00021 #include "itkTransform.h"
00022 
00023 namespace itk
00024 {
00025 
00040 template <class TInputMesh, class TOutputMesh, class TTransform>
00041 class ITK_EXPORT TransformMeshFilter : 
00042     public MeshToMeshFilter<TInputMesh,TOutputMesh>
00043 {
00044 public:
00046   typedef TransformMeshFilter  Self;
00047   typedef MeshToMeshFilter<TInputMesh,TOutputMesh> Superclass;
00048   typedef SmartPointer<Self>  Pointer;
00049   typedef SmartPointer<const Self>  ConstPointer;
00050   
00051   typedef TInputMesh InputMeshType;
00052   typedef TOutputMesh OutputMeshType;
00053   typedef typename InputMeshType::Pointer InputMeshPointer;
00054   typedef typename OutputMeshType::Pointer OutputMeshPointer;
00055   
00057   typedef typename TInputMesh::CoordRepType  CoordRepType;
00058 
00060   typedef TTransform  TransformType;
00061 
00063   itkNewMacro(Self);
00064   
00066   itkTypeMacro(TransformMeshFilter,MeshToMeshFilter);
00067 
00069   itkSetObjectMacro(Transform, TransformType); 
00070 
00072   itkGetObjectMacro(Transform,TransformType);
00073 
00074 protected:
00075   TransformMeshFilter();
00076   ~TransformMeshFilter() {};
00077   void PrintSelf(std::ostream& os, Indent indent) const;
00078   
00080   virtual void GenerateData( void );
00081 
00083   typename TransformType::Pointer   m_Transform;
00084 
00085 private:
00086   TransformMeshFilter(const TransformMeshFilter&); //purposely not implemented
00087   void operator=(const TransformMeshFilter&); //purposely not implemented
00088   
00089 };
00090 
00091 } // end namespace itk
00092 
00093 #ifndef ITK_MANUAL_INSTANTIATION
00094 #include "itkTransformMeshFilter.txx"
00095 #endif
00096 
00097 #endif

Generated at Fri May 21 01:15:25 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000