ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkQuadEdgeMeshSubdivisionCriterion.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 * https://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
24namespace itk
25{
31template <typename TCellSubdivisionFilter>
33{
34public:
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 CoordinateType = typename MeshType::CoordinateType;
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
60 itkOverrideGetNameOfClassMacro(QuadEdgeMeshSubdivisionCriterion);
61
62 virtual void
63 Compute(MeshType * mesh, SubdivisionCellContainer & edgeList) = 0;
64
65protected:
68};
69
70} // namespace itk
71#endif
typename MeshType::PointsContainerConstIterator PointsContainerConstIterator
virtual void Compute(MeshType *mesh, SubdivisionCellContainer &edgeList)=0
typename TSubdivisionFilter::SubdivisionCellContainer SubdivisionCellContainer
~QuadEdgeMeshSubdivisionCriterion() override=default
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....