ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkQuadEdgeMeshZipMeshFunction.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkQuadEdgeMeshZipMeshFunction_h
19 #define itkQuadEdgeMeshZipMeshFunction_h
20 
22 
23 namespace itk
24 {
32 template< typename TMesh, typename TQEType >
33 class ITK_TEMPLATE_EXPORT QuadEdgeMeshZipMeshFunction:
34  public QuadEdgeMeshFunctionBase< TMesh, typename TQEType::OriginRefType >
35 {
36 public:
37 
42 
43  typedef QuadEdgeMeshFunctionBase< TMesh,
44  typename TQEType::OriginRefType > Superclass;
45 
46  itkNewMacro(Self);
49 
51  typedef TQEType QEType;
52 
53  typedef typename Superclass::MeshType MeshType;
54  typedef typename Superclass::OutputType OutputType;
55 
60  virtual OutputType Evaluate(QEType *e);
61 
62 protected:
64  ~QuadEdgeMeshZipMeshFunction() ITK_OVERRIDE {}
65 
66 private:
67  ITK_DISALLOW_COPY_AND_ASSIGN(QuadEdgeMeshZipMeshFunction);
68 };
69 } // namespace itk
70 
71 #include "itkQuadEdgeMeshZipMeshFunction.hxx"
72 
73 #endif
74 
75 // eof - itkQuadEdgeMeshZipMeshFunction.h
Light weight base class for most itk classes.
QuadEdgeMeshFunctionBase< TMesh, typename TQEType::OriginRefType > Superclass
Fuse the incoming edge and it&#39;s Onext() follower (like a zipper does).
static ITK_CONSTEXPR_VAR double e
The base of the natural logarithm or Euler&#39;s number
Definition: itkMath.h:56