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

itkWarpMeshFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkWarpMeshFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-10-07 17:31:02 $
00007   Version:   $Revision: 1.2 $
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 __itkWarpMeshFilter_h
00018 #define __itkWarpMeshFilter_h
00019 
00020 #include "itkMeshToMeshFilter.h"
00021 
00022 namespace itk
00023 {
00024 
00040 template <class TInputMesh, class TOutputMesh, class TDeformationField>
00041 class ITK_EXPORT WarpMeshFilter : 
00042     public MeshToMeshFilter<TInputMesh,TOutputMesh>
00043 {
00044 public:
00046   typedef WarpMeshFilter                           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 typename InputMeshType::Pointer  InputMeshPointer;
00053 
00054   typedef TOutputMesh                      OutputMeshType;
00055   typedef typename OutputMeshType::Pointer OutputMeshPointer;
00056   
00058   typedef typename TInputMesh::CoordRepType  CoordRepType;
00059 
00061   typedef TDeformationField                            DeformationFieldType;
00062   typedef typename DeformationFieldType::ConstPointer  DeformationFieldPointer;
00063   typedef typename DeformationFieldType::PixelType     DisplacementType;
00064 
00066   itkNewMacro(Self);
00067 
00069   itkTypeMacro(WarpMeshFilter,MeshToMeshFilter);
00070 
00072   void SetDeformationField( const DeformationFieldType * field );
00073 
00075   const DeformationFieldType * GetDeformationField(void) const;
00076 
00077 
00078 protected:
00079   WarpMeshFilter();
00080   ~WarpMeshFilter() {};
00081   void PrintSelf(std::ostream& os, Indent indent) const;
00082   
00084   virtual void GenerateData( void );
00085 
00086 private:
00087   WarpMeshFilter(const WarpMeshFilter&); //purposely not implemented
00088   void operator=(const WarpMeshFilter&); //purposely not implemented
00089   
00090 };
00091 
00092 } // end namespace itk
00093 
00094 #ifndef ITK_MANUAL_INSTANTIATION
00095 #include "itkWarpMeshFilter.txx"
00096 #endif
00097 
00098 #endif
00099 

Generated at Thu Nov 6 01:00:36 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000