ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkConditionalSubdivisionQuadEdgeMeshFilter.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 itkConditionalSubdivisionQuadEdgeMeshFilter_h
20 #define itkConditionalSubdivisionQuadEdgeMeshFilter_h
21 
24 #include "itkConceptChecking.h"
25 
26 namespace itk
27 {
34 template< typename TInputMesh, typename TSubdivisionFilter >
36  public QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, typename TSubdivisionFilter::OutputMeshType >
37 {
38 public:
39  ITK_DISALLOW_COPY_AND_ASSIGN(ConditionalSubdivisionQuadEdgeMeshFilter);
40 
45 
46  using SubdivisionFilterType = TSubdivisionFilter;
47  using SubdivisionFilterPointer = typename SubdivisionFilterType::Pointer;
48 
49  using InputMeshType = TInputMesh;
50  using InputMeshPointer = typename InputMeshType::Pointer;
51 
52  using OutputMeshType = typename SubdivisionFilterType::OutputMeshType;
53  using OutputMeshPointer = typename OutputMeshType::Pointer;
54 
55  using SubdivisionCellContainer = typename SubdivisionFilterType::SubdivisionCellContainer;
56 
59 
62  itkNewMacro( Self );
64 
65 #ifdef ITK_USE_CONCEPT_CHECKING
66  itkConceptMacro( SameTypeCheck,
68  itkConceptMacro( SameTypeCheckMesh,
70  itkConceptMacro( SameTypeCheckContainer,
72 #endif
73 
74  void SetSubdivisionCriterion( CriterionType * criterion );
75 
76 protected:
78 
80 
81  void GenerateData() override;
82 
83  void PrintSelf( std::ostream & os, Indent indent ) const override;
84 
88 };
89 } // end namespace itk
90 
91 #ifndef ITK_MANUAL_INSTANTIATION
92 #include "itkConditionalSubdivisionQuadEdgeMeshFilter.hxx"
93 #endif
94 
95 #endif
Light weight base class for most itk classes.
void SetSubdivisionCriterion(CriterionType *criterion)
typename SubdivisionFilterType::SubdivisionCellContainer SubdivisionCellContainer
void PrintSelf(std::ostream &os, Indent indent) const override
typename SubdivisionFilterType::OutputMeshType OutputMeshType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
#define itkConceptMacro(name, concept)