ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkLaplacianDeformationQuadEdgeMeshFilterWithHardConstraints.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 #ifndef itkLaplacianDeformationQuadEdgeMeshFilterWithHardConstraints_h
19 #define itkLaplacianDeformationQuadEdgeMeshFilterWithHardConstraints_h
20 
22 
23 namespace itk
24 {
40 template< class TInputMesh, class TOutputMesh, class TSolverTraits >
42  public LaplacianDeformationQuadEdgeMeshFilter< TInputMesh, TOutputMesh, TSolverTraits >
43 {
44 public:
45 
48  typedef LaplacianDeformationQuadEdgeMeshFilter< TInputMesh,
49  TOutputMesh, TSolverTraits > Superclass;
52 
54  typedef TInputMesh InputMeshType;
55 
56  itkStaticConstMacro(InputPointDimension, unsigned int, InputMeshType::PointDimension);
57 
59  typedef TOutputMesh OutputMeshType;
60  typedef typename Superclass::OutputPointType OutputPointType;
61  typedef typename Superclass::OutputCoordRepType OutputCoordRepType;
62  typedef typename Superclass::OutputPointIdentifier OutputPointIdentifier;
63 
64  itkStaticConstMacro(OutputPointDimension, unsigned int, OutputMeshType::PointDimension);
65 
66  typedef TSolverTraits SolverTraits;
67  typedef typename Superclass::ValueType ValueType;
68  typedef typename Superclass::MatrixType MatrixType;
70 
71  itkNewMacro(Self);
74 
75 protected:
76 
79  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
80 
81  typedef typename Superclass::OutputMapPointIdentifier OutputMapPointIdentifier;
82  typedef typename Superclass::OutputMapPointIdentifierIterator OutputMapPointIdentifierIterator;
83  typedef typename Superclass::OutputMapPointIdentifierConstIterator OutputMapPointIdentifierConstIterator;
84 
85  typedef typename Superclass::ConstraintMapType ConstraintMapType;
86  typedef typename Superclass::ConstraintMapConstIterator ConstraintMapConstIterator;
87 
88  typedef typename Superclass::RowType RowType;
89  typedef typename Superclass::RowConstIterator RowConstIterator;
90  typedef typename Superclass::RowIterator RowIterator;
91 
92  virtual void ComputeVertexIdMapping() ITK_OVERRIDE;
93 
98  void FillMatrix(MatrixType & iM, VectorType & iBx, VectorType & iBy, VectorType & iBz);
99 
100  virtual void GenerateData() ITK_OVERRIDE;
101 
102 private:
103  ITK_DISALLOW_COPY_AND_ASSIGN(LaplacianDeformationQuadEdgeMeshFilterWithHardConstraints);
104 };
105 } // end namespace itk
106 
107 #include "itkLaplacianDeformationQuadEdgeMeshFilterWithHardConstraints.hxx"
108 
109 #endif
Light weight base class for most itk classes.
LaplacianDeformationQuadEdgeMeshFilter< TInputMesh, TOutputMesh, TSolverTraits > Superclass
Laplacian mesh deformation with hard constraints (interpolating displacement for some handle points) ...
Control indentation during Print() invocation.
Definition: itkIndent.h:49
(abstract) base class for laplacian surface mesh deformation.