ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
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 __itkQuadEdgeMeshZipMeshFunction_h 00019 #define __itkQuadEdgeMeshZipMeshFunction_h 00020 00021 #include "itkQuadEdgeMeshFunctionBase.h" 00022 00023 namespace itk 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 SmartPointer< Self > Pointer; 00041 typedef 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 00060 virtual OutputType Evaluate(QEType *e); 00061 00062 protected: 00063 QuadEdgeMeshZipMeshFunction(){} 00064 ~QuadEdgeMeshZipMeshFunction(){} 00065 private: 00066 QuadEdgeMeshZipMeshFunction(const Self &); //purposely not implemented 00067 void operator=(const Self &); //purposely not implemented 00068 }; 00069 } // namespace itk 00070 00071 #include "itkQuadEdgeMeshZipMeshFunction.hxx" 00072 00073 #endif 00074 00075 // eof - itkQuadEdgeMeshZipMeshFunction.h 00076