18 #ifndef itkLaplacianDeformationQuadEdgeMeshFilter_h
19 #define itkLaplacianDeformationQuadEdgeMeshFilter_h
26 #include "itksys/hash_map.hxx"
92 template<
class TInputMesh,
class TOutputMesh,
class TSolverTraits >
111 static constexpr
unsigned int InputPointDimension =
InputMeshType::PointDimension;
122 static constexpr
unsigned int OutputPointDimension =
OutputMeshType::PointDimension;
134 this->m_CoefficientsMethod = iMethod;
153 void ClearConstraints();
156 itkSetMacro(Order,
unsigned int);
157 itkGetMacro(Order,
unsigned int);
170 itkSetMacro(AreaComputationType, AreaType );
171 itkGetMacro(AreaComputationType, AreaType );
174 #ifdef ITK_USE_CONCEPT_CHECKING
199 return reinterpret_cast< size_t >( qe );
203 using CoefficientMapType = itksys::hash_map< OutputQEPrimal*, OutputCoordRepType, HashOutputQEPrimal >;
206 using AreaMapType = itksys::hash_map< OutputPointIdentifier, OutputCoordRepType >;
209 using RowType = itksys::hash_map< OutputPointIdentifier, OutputCoordRepType >;
220 unsigned int m_Order{1};
223 void PrintSelf(std::ostream & os,
Indent indent)
const override;
228 virtual void ComputeVertexIdMapping();
230 void ComputeLaplacianMatrix(
MatrixType &ioL );
234 unsigned int iDegree,
256 void SolveLinearSystems(
const MatrixType & iM,
270 m_Id(iV), m_Weight(iWeight), m_Degree(iDegree) {}
279 #include "itkLaplacianDeformationQuadEdgeMeshFilter.hxx"
Light weight base class for most itk classes.
TOutputMesh OutputMeshType
typename OutputMeshType::PointIdentifier OutputPointIdentifier
typename OutputMeshType::PointType OutputPointType
typename OutputMeshType::CoordRepType OutputCoordRepType
typename InputMeshType::PointType InputPointType
A convenience class for computation of various triangle elements in 2D or 3D.
Duplicates the content of a Mesh.
typename OutputMeshType::QEPrimal OutputQEPrimal
Control indentation during Print() invocation.
typename OutputMeshType::VectorType OutputVectorType
#define itkConceptMacro(name, concept)
typename OutputQEPrimal::IteratorGeom OutputQEIterator
Superclass for all the matrix coefficients computation classes.