ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkTriangleCellSubdivisionQuadEdgeMeshFilter.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 itkTriangleCellSubdivisionQuadEdgeMeshFilter_h
20#define itkTriangleCellSubdivisionQuadEdgeMeshFilter_h
21
23
24namespace itk
25{
38template <typename TInputMesh, typename TOutputMesh = TInputMesh>
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(TriangleCellSubdivisionQuadEdgeMeshFilter);
43
48
68
85
86 using SubdivisionCellContainer = std::list<OutputCellIdentifier>;
87 using SubdivisionCellContainerConstIterator = typename SubdivisionCellContainer::const_iterator;
88
90 itkOverrideGetNameOfClassMacro(TriangleCellSubdivisionQuadEdgeMeshFilter);
91 itkGetConstReferenceMacro(CellsToBeSubdivided, SubdivisionCellContainer);
92
93 void
95 void
97
98protected:
101
102 virtual void
104 void
106 void
108
109 void
111 const OutputPointIdentifier * trianglePointIds,
112 const OutputPointIdentifier * edgePointIds,
113 const unsigned int * splitEdges,
114 const InputCellIdentifier id);
115 void
117 const OutputPointIdentifier * trianglePointIds,
118 const OutputPointIdentifier * edgePointIds,
119 const unsigned int * splitEdges,
120 const InputCellIdentifier id);
121 void
123 const OutputPointIdentifier * trianglePointIds,
124 const OutputPointIdentifier * edgePointIds,
125 const InputCellIdentifier id);
126
127 void
128 PassCellData(const InputCellIdentifier inputId, const OutputQEType * outputEdge);
129
130 void
131 PrintSelf(std::ostream & os, Indent indent) const override;
132
135};
136} // end namespace itk
137
138#ifndef ITK_MANUAL_INSTANTIATION
139# include "itkTriangleCellSubdivisionQuadEdgeMeshFilter.hxx"
140#endif
141
142#endif
Control indentation during Print() invocation.
Definition itkIndent.h:53
typename OutputMeshType::CoordinateType OutputCoordinateType
typename InputMeshType::CoordinateType InputCoordinateType
Implements transparent reference counting.
typename OutputMeshType::CellsContainerPointer OutputCellsContainerPointer
typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
typename InputMeshType::CellsContainerIterator InputCellsContainerIterator
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
typename InputMeshType::PointsContainerIterator InputPointsContainerIterator
typename OutputMeshType::CellsContainerIterator OutputCellsContainerIterator
typename InputMeshType::PointsContainerConstIterator InputPointsContainerConstIterator
typename InputMeshType::PointsContainerPointer InputPointsContainerPointer
typename InputMeshType::CellsContainerConstIterator InputCellsContainerConstIterator
typename OutputMeshType::CellsContainerConstIterator OutputCellsContainerConstIterator
void AddSubdividedCellId(OutputCellIdentifier cellId)
void SplitTriangleFromOneEdge(OutputMeshType *output, const OutputPointIdentifier *trianglePointIds, const OutputPointIdentifier *edgePointIds, const unsigned int *splitEdges, const InputCellIdentifier id)
void PassCellData(const InputCellIdentifier inputId, const OutputQEType *outputEdge)
virtual void AddNewCellPoints(InputCellType *cell)=0
void SplitTriangleFromThreeEdges(OutputMeshType *output, const OutputPointIdentifier *trianglePointIds, const OutputPointIdentifier *edgePointIds, const InputCellIdentifier id)
~TriangleCellSubdivisionQuadEdgeMeshFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
void SplitTriangleFromTwoEdges(OutputMeshType *output, const OutputPointIdentifier *trianglePointIds, const OutputPointIdentifier *edgePointIds, const unsigned int *splitEdges, const InputCellIdentifier id)
void SetCellsToBeSubdivided(const SubdivisionCellContainer &cellIdList)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....