ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkQuadEdgeMeshSubdivisionCriterion.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 
19 #ifndef itkQuadEdgeMeshSubdivisionCriterion_h
20 #define itkQuadEdgeMeshSubdivisionCriterion_h
21 
22 #include "itkObject.h"
23 
24 namespace itk
25 {
31 template< typename TCellSubdivisionFilter >
32 class ITK_EXPORT QuadEdgeMeshSubdivisionCriterion : public Object
33 {
34 public:
36  using Superclass = Object;
39 
40  using MeshType = typename TCellSubdivisionFilter::InputMeshType;
41  using MeshPointer = typename MeshType::Pointer;
42  using MeshConstPointer = typename MeshType::ConstPointer;
43  using PointsContainerPointer = typename MeshType::PointsContainerPointer;
44  using PointsContainerConstIterator = typename MeshType::PointsContainerConstIterator;
45  using PointsContainerIterator = typename MeshType::PointsContainerIterator;
46  using CellsContainer = typename MeshType::CellsContainer;
47  using CellsContainerPointer = typename MeshType::CellsContainerPointer;
48  using CellsContainerIterator = typename MeshType::CellsContainerIterator;
49  using CellsContainerConstIterator = typename MeshType::CellsContainerConstIterator;
50  using PointType = typename MeshType::PointType;
51  using CoordRepType = typename MeshType::CoordRepType;
52  using PointIdentifier = typename MeshType::PointIdentifier;
53  using CellIdentifier = typename MeshType::CellIdentifier;
54  using CellType = typename MeshType::CellType;
55  using QEType = typename MeshType::QEType;
56  using PointIdIterator = typename MeshType::PointIdIterator;
57  using SubdivisionCellContainer = typename TCellSubdivisionFilter::SubdivisionCellContainer;
58 
61 
62  virtual void Compute( MeshType * mesh, SubdivisionCellContainer & edgeList ) = 0;
63 
64 protected:
67 };
68 
69 }
70 #endif
typename TSubdivisionFilter::SubdivisionCellContainer SubdivisionCellContainer
Light weight base class for most itk classes.
typename MeshType::PointsContainerConstIterator PointsContainerConstIterator
typename MeshType::CellsContainerConstIterator CellsContainerConstIterator
Base class for most ITK classes.
Definition: itkObject.h:60