ITK  5.3.0
Insight Toolkit
itkQuadEdgeMeshFunctionBase.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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 itkQuadEdgeMeshFunctionBase_h
19 #define itkQuadEdgeMeshFunctionBase_h
20 
21 #include "itkObject.h"
22 #include "itkObjectFactory.h"
23 
24 namespace itk
25 {
54 template <typename TMesh, typename TOutput>
56 {
57 public:
58  ITK_DISALLOW_COPY_AND_MOVE(QuadEdgeMeshFunctionBase);
59 
62  using Superclass = Object;
65 
67  itkTypeMacro(QuadEdgeMeshFunctionBase, Object);
68 
70  using MeshType = TMesh;
71  using EdgeCellType = typename MeshType::EdgeCellType;
72 
74  using OutputType = TOutput;
75 
77  virtual void
78  SetInput(MeshType * input)
79  {
80  this->m_Mesh = input;
81  }
82 
84  // virtual OutputType Evaluate( )
85  // {
86  // return( (OutputType) 0 );
87  // }
88 
89 protected:
91 
92  ~QuadEdgeMeshFunctionBase() override = default;
93 
94 private:
95 protected:
98 };
99 } // end namespace itk
100 
101 #endif
itk::QuadEdgeMeshFunctionBase::~QuadEdgeMeshFunctionBase
~QuadEdgeMeshFunctionBase() override=default
itkObjectFactory.h
itk::QuadEdgeMeshFunctionBase< TMesh, TQEType::OriginRefType >::MeshType
TMesh MeshType
Definition: itkQuadEdgeMeshFunctionBase.h:70
itk::QuadEdgeMeshFunctionBase
Definition: itkQuadEdgeMeshFunctionBase.h:55
itk::SmartPointer< Self >
itk::QuadEdgeMeshFunctionBase< TMesh, TQEType::OriginRefType >::EdgeCellType
typename MeshType::EdgeCellType EdgeCellType
Definition: itkQuadEdgeMeshFunctionBase.h:71
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::QuadEdgeMeshFunctionBase::SetInput
virtual void SetInput(MeshType *input)
Definition: itkQuadEdgeMeshFunctionBase.h:78
itkObject.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::Object
Base class for most ITK classes.
Definition: itkObject.h:62
itk::QuadEdgeMeshFunctionBase< TMesh, TQEType::OriginRefType >::OutputType
TQEType::OriginRefType OutputType
Definition: itkQuadEdgeMeshFunctionBase.h:74
itk::QuadEdgeMeshFunctionBase::m_Mesh
MeshType * m_Mesh
Definition: itkQuadEdgeMeshFunctionBase.h:97
itk::Object::Object
Object()
itk::QuadEdgeMeshFunctionBase::QuadEdgeMeshFunctionBase
QuadEdgeMeshFunctionBase()
Definition: itkQuadEdgeMeshFunctionBase.h:90