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

itkMeshToMeshFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMeshToMeshFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:29:16 $
00007   Version:   $Revision: 1.18 $
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   Portions of this code are covered under the VTK copyright.
00013   See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.
00014 
00015      This software is distributed WITHOUT ANY WARRANTY; without even 
00016      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00017      PURPOSE.  See the above copyright notices for more information.
00018 
00019 =========================================================================*/
00020 #ifndef __itkMeshToMeshFilter_h
00021 #define __itkMeshToMeshFilter_h
00022 
00023 #include "itkMeshSource.h"
00024 
00025 namespace itk
00026 {
00027 
00038 template <class TInputMesh, class TOutputMesh>
00039 class ITK_EXPORT MeshToMeshFilter : public MeshSource<TOutputMesh>
00040 {
00041 public:
00043   typedef MeshToMeshFilter  Self;
00044   typedef MeshSource<TOutputMesh> Superclass;
00045   typedef SmartPointer<Self>  Pointer;
00046   typedef SmartPointer<const Self>  ConstPointer;
00047 
00049   itkNewMacro(Self);
00050 
00052   itkTypeMacro(MeshToMeshFilter,MeshSource);
00053 
00055   typedef TInputMesh InputMeshType;
00056   typedef typename InputMeshType::Pointer InputMeshPointer;
00057 
00059   void SetInput(InputMeshType *input);
00060 
00062   InputMeshType * GetInput(void);
00063   InputMeshType * GetInput(unsigned int idx);
00065 
00066 protected:
00067   MeshToMeshFilter();
00068   ~MeshToMeshFilter() {};
00069   
00070 private:
00071   MeshToMeshFilter(const Self&); //purposely not implemented
00072   void operator=(const Self&); //purposely not implemented
00073   
00074 };
00075 
00076 } // end namespace itk
00077 
00078 #ifndef ITK_MANUAL_INSTANTIATION
00079 #include "itkMeshToMeshFilter.txx"
00080 #endif
00081 
00082 #endif
00083 

Generated at Tue Jul 29 21:14:44 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000