00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkQuadEdgeMeshEulerOperatorSplitFacetFunction.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007/08/02 23:38:12 $ 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 __itkQuadEdgeMeshEulerOperatorSplitFacetFunction_h 00018 #define __itkQuadEdgeMeshEulerOperatorSplitFacetFunction_h 00019 00020 #include "itkQuadEdgeMeshFunctionBase.h" 00021 00022 namespace itk 00023 { 00024 00034 template < class TMesh, class TQEType > 00035 class ITK_EXPORT QuadEdgeMeshEulerOperatorSplitFacetFunction : 00036 public QuadEdgeMeshFunctionBase< TMesh, TQEType* > 00037 { 00038 public: 00039 00041 typedef QuadEdgeMeshEulerOperatorSplitFacetFunction Self; 00042 typedef QuadEdgeMeshFunctionBase< TMesh, TQEType* > Superclass; 00043 typedef itk::SmartPointer< Self > Pointer; 00044 typedef itk::SmartPointer< const Self > ConstPointer; 00045 00046 itkNewMacro( Self ); 00048 itkTypeMacro( QuadEdgeMeshEulerOperatorSplitFacetFunction, 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* h, QEType* g ); 00058 00059 protected: 00060 QuadEdgeMeshEulerOperatorSplitFacetFunction(){}; 00061 ~QuadEdgeMeshEulerOperatorSplitFacetFunction(){}; 00062 00063 private: 00064 QuadEdgeMeshEulerOperatorSplitFacetFunction(const Self& ); //purposely not implemented 00065 void operator=(const Self& ); //purposely not implemented 00066 00067 }; 00068 00069 } // namespace itk 00070 00071 #include "itkQuadEdgeMeshEulerOperatorSplitFacetFunction.txx" 00072 00073 #endif 00074 00075 // eof - $RCSfile: itkQuadEdgeMeshEulerOperatorSplitFacetFunction.h,v $ 00076