ITK  4.0.0
Insight Segmentation and Registration Toolkit
itkQuadEdgeMeshEulerOperatorSplitFacetFunction.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 #ifndef __itkQuadEdgeMeshEulerOperatorSplitFacetFunction_h
00019 #define __itkQuadEdgeMeshEulerOperatorSplitFacetFunction_h
00020 
00021 #include "itkQuadEdgeMeshFunctionBase.h"
00022 
00023 namespace itk
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 SmartPointer< Self >                         Pointer;
00044   typedef 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   typedef typename Superclass::EdgeCellType EdgeCellType;
00056 
00058   virtual OutputType Evaluate(QEType *h, QEType *g);
00059 
00060 protected:
00061   QuadEdgeMeshEulerOperatorSplitFacetFunction(){}
00062   ~QuadEdgeMeshEulerOperatorSplitFacetFunction(){}
00063 private:
00064   QuadEdgeMeshEulerOperatorSplitFacetFunction(const Self &); //purposely not
00065                                                              // implemented
00066   void operator=(const Self &);                              //purposely not
00067                                                              // implemented
00068 };
00069 } // namespace itk
00070 
00071 #include "itkQuadEdgeMeshEulerOperatorSplitFacetFunction.hxx"
00072 
00073 #endif
00074 
00075 // eof - itkQuadEdgeMeshEulerOperatorSplitFacetFunction.h
00076