00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkQuadEdgeMeshZipMeshFunction.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007/08/05 18:23:01 $ 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 __itkQuadEdgeMeshZipMeshFunction_h 00018 #define __itkQuadEdgeMeshZipMeshFunction_h 00019 00020 #include "itkQuadEdgeMeshFunctionBase.h" 00021 00022 namespace itk 00023 { 00024 00032 template < class TMesh, class TQEType > 00033 class ITK_EXPORT QuadEdgeMeshZipMeshFunction : 00034 public QuadEdgeMeshFunctionBase< TMesh, typename TQEType::OriginRefType > 00035 { 00036 public: 00037 00039 typedef QuadEdgeMeshZipMeshFunction Self; 00040 typedef itk::SmartPointer< Self > Pointer; 00041 typedef itk::SmartPointer< const Self > ConstPointer; 00042 00043 typedef QuadEdgeMeshFunctionBase< TMesh, 00044 typename TQEType::OriginRefType > Superclass; 00045 00046 itkNewMacro( Self ); 00048 itkTypeMacro( QuadEdgeMeshZipMeshFunction, QuadEdgeMeshFunctionBase ); 00049 00051 typedef TQEType QEType; 00052 00053 typedef typename Superclass::MeshType MeshType; 00054 typedef typename Superclass::OutputType OutputType; 00055 00057 virtual OutputType Evaluate( QEType* e ); 00058 00059 protected: 00060 QuadEdgeMeshZipMeshFunction(){}; 00061 ~QuadEdgeMeshZipMeshFunction(){}; 00062 00063 private: 00064 QuadEdgeMeshZipMeshFunction(const Self& ); //purposely not implemented 00065 void operator=(const Self& ); //purposely not implemented 00066 00067 }; 00068 00069 } // namespace itk 00070 00071 #include "itkQuadEdgeMeshZipMeshFunction.txx" 00072 00073 #endif 00074 00075 // eof - $RCSfile: itkQuadEdgeMeshZipMeshFunction.h,v $ 00076