18 #ifndef itkQuadEdgeMeshParamMatrixCoefficients_h
19 #define itkQuadEdgeMeshParamMatrixCoefficients_h
32 template<
typename TInputMesh >
54 template<
typename TInputMesh >
84 template<
typename TInputMesh >
127 template<
typename TInputMesh >
156 if ( iEdge->IsLeftSet() )
162 if ( iEdge->IsRightSet() )
181 template<
typename TInputMesh >
212 if ( iEdge->IsLeftSet() )
220 if ( iEdge->IsRightSet() )
227 return oValue / pt1.SquaredEuclideanDistanceTo(pt2);
238 template<
typename TInputMesh >
261 + ( 1.0 -
m_Lambda ) * authalic(iMesh, iEdge);
274 template<
typename TInputMesh >
321 oValue = ( L1A + L2A - L12 ) / AreaA + ( L1B + L2B - L12 ) / AreaB;
InverseEuclideanDistanceMatrixCoefficients()=default
Compute a matrix filed with the inverse of the euclidian distance wherever two vertices are connected...
Compute a matrix filled by 1s wherever two vertices are connected by an edge.
Define numeric traits for std::vector.
IntrinsicMatrixCoefficients(const InputCoordRepType &iLambda)
typename InputMeshType::PointIdentifier InputPointIdentifier
InputCoordRepType operator()(const InputMeshType *iMesh, InputQEType *iEdge) const
InputCoordRepType operator()(const InputMeshType *, InputQEType *) const override
typename InputMeshType::PointIdentifier InputPointIdentifier
MatrixCoefficients()=default
typename InputMeshType::PointType InputPointType
virtual ~MatrixCoefficients()=default
static CoordRepType Cotangent(const PointType &iA, const PointType &iB, const PointType &iC)
Compute cotangent(iA,iB,iC)
InputCoordRepType m_Lambda
typename InputMeshType::PointType InputPointType
AuthalicMatrixCoefficients()=default
typename InputMeshType::PointIdentifier InputPointIdentifier
Compute a matrix filled with Authalic Coefiicients of the edge, wherever two vertices are connected w...
typename InputMeshType::VectorType InputVectorType
ImageBaseType::PointType PointType
Compute a matrix filled with Harmonic coefficients, wherever two vertices are connected by an edge...
InputCoordRepType operator()(const InputMeshType *iMesh, InputQEType *iEdge) const override
OnesMatrixCoefficients()=default
Compute a mtrix filled by intrinsic Coefficients of the edge, wherever two vertices are connected by ...
typename InputMeshType::QEType InputQEType
ImageBaseType::SpacingType VectorType
typename InputMeshType::PointType InputPointType
HarmonicMatrixCoefficients()=default
InputCoordRepType operator()(const InputMeshType *iMesh, InputQEType *iEdge) const override
InputCoordRepType operator()(const InputMeshType *iMesh, InputQEType *iEdge) const override
static constexpr unsigned int PointDimension
typename InputPointType::VectorType InputVectorType
Superclass for all the matrix coefficients computation classes.
typename InputMeshType::CoordRepType InputCoordRepType