ITK  6.0.0
Insight Toolkit
itkLaplacianDeformationQuadEdgeMeshFilterWithHardConstraints.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#ifndef itkLaplacianDeformationQuadEdgeMeshFilterWithHardConstraints_h
19#define itkLaplacianDeformationQuadEdgeMeshFilterWithHardConstraints_h
20
22
23namespace itk
24{
40template <class TInputMesh, class TOutputMesh, class TSolverTraits>
42 : public LaplacianDeformationQuadEdgeMeshFilter<TInputMesh, TOutputMesh, TSolverTraits>
43{
44public:
46
52
54 using InputMeshType = TInputMesh;
55
56 static constexpr unsigned int InputPointDimension = InputMeshType::PointDimension;
57
59 using OutputMeshType = TOutputMesh;
60 using typename Superclass::OutputPointType;
61 using typename Superclass::OutputCoordRepType;
62 using typename Superclass::OutputPointIdentifier;
63
64 static constexpr unsigned int OutputPointDimension = OutputMeshType::PointDimension;
65
66 using SolverTraits = TSolverTraits;
67 using typename Superclass::ValueType;
68 using typename Superclass::MatrixType;
69 using typename Superclass::VectorType;
70
71 itkNewMacro(Self);
73
74protected:
77 void
78 PrintSelf(std::ostream & os, Indent indent) const override;
79
80 using typename Superclass::OutputMapPointIdentifier;
81 using typename Superclass::OutputMapPointIdentifierIterator;
82 using typename Superclass::OutputMapPointIdentifierConstIterator;
83
84 using typename Superclass::ConstraintMapType;
85 using typename Superclass::ConstraintMapConstIterator;
86
87 using typename Superclass::RowType;
88 using typename Superclass::RowConstIterator;
89 using typename Superclass::RowIterator;
90
91 void
93
98 void
100
101 void
102 GenerateData() override;
103};
104} // end namespace itk
105
106#include "itkLaplacianDeformationQuadEdgeMeshFilterWithHardConstraints.hxx"
107
108#endif
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Laplacian mesh deformation with hard constraints (interpolating displacement for some handle points)
void FillMatrix(MatrixType &iM, VectorType &iBx, VectorType &iBy, VectorType &iBz)
Fill matrix iM and vectors Bx and m_By depending on if one vertex is on the border or not.
void PrintSelf(std::ostream &os, Indent indent) const override
(abstract) base class for laplacian surface mesh deformation.
Light weight base class for most itk classes.
TOutputMesh OutputMeshType
Definition: itkMeshSource.h:68
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....