ITK  4.9.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:
43 
44  typedef TSubdivisionFilter SubdivisionFilterType;
45  typedef typename SubdivisionFilterType::Pointer SubdivisionFilterPointer;
46 
47  typedef TInputMesh InputMeshType;
48  typedef typename InputMeshType::Pointer InputMeshPointer;
49 
50  typedef typename SubdivisionFilterType::OutputMeshType OutputMeshType;
51  typedef typename OutputMeshType::Pointer OutputMeshPointer;
52 
53  typedef typename SubdivisionFilterType::SubdivisionCellContainer SubdivisionCellContainer;
54 
57 
60  itkNewMacro( Self );
62 
63 #ifdef ITK_USE_CONCEPT_CHECKING
64  itkConceptMacro( SameTypeCheck,
66  itkConceptMacro( SameTypeCheckMesh,
68  itkConceptMacro( SameTypeCheckContainer,
70 #endif
71 
72  void SetSubdivisionCriterion( CriterionType * criterion );
73 
74 protected:
76 
78 
79  virtual void GenerateData() ITK_OVERRIDE;
80 
81  void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
82 
86 
87 private:
88  ConditionalSubdivisionQuadEdgeMeshFilter( const Self & ); // purposely not implemented
89  void operator=( const Self & ); // purposely not implemented
90 };
91 } // end namespace itk
92 
93 #ifndef ITK_MANUAL_INSTANTIATION
94 #include "itkConditionalSubdivisionQuadEdgeMeshFilter.hxx"
95 #endif
96 
97 #endif
Light weight base class for most itk classes.
QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, typename TSubdivisionFilter::OutputMeshType > Superclass
SubdivisionFilterType::SubdivisionCellContainer SubdivisionCellContainer
void SetSubdivisionCriterion(CriterionType *criterion)
QuadEdgeMeshSubdivisionCriterion< SubdivisionFilterType > CriterionType
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
Definition: itkIndent.h:49
#define itkConceptMacro(name, concept)