18 #ifndef itkQuadEdgeMeshParamMatrixCoefficients_h
19 #define itkQuadEdgeMeshParamMatrixCoefficients_h
23 #include "vnl/vnl_math.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 >
288 InputPointType::PointDimension);
322 oValue = ( L1A + L2A - L12 ) / AreaA + ( L1B + L2B - L12 ) / AreaB;
InputCoordRepType operator()(const InputMeshType *iMesh, InputQEType *iEdge) const
Compute a matrix filed with the inverse of the euclidian distance wherever two vertices are connected...
InputMeshType::CoordRepType InputCoordRepType
InputMeshType::PointIdentifier InputPointIdentifier
InputCoordRepType operator()(const InputMeshType *iMesh, InputQEType *iEdge) const
InputMeshType::PointType InputPointType
InputMeshType::PointType InputPointType
Compute a matrix filled by 1s wherever two vertices are connected by an edge.
MatrixCoefficients< TInputMesh > Superclass
InputMeshType::PointIdentifier InputPointIdentifier
IntrinsicMatrixCoefficients(const InputCoordRepType &iLambda)
InputMeshType::QEType InputQEType
InputCoordRepType operator()(const InputMeshType *, InputQEType *) const
InputMeshType::PointIdentifier InputPointIdentifier
InverseEuclideanDistanceMatrixCoefficients()
InputCoordRepType operator()(const InputMeshType *iMesh, InputQEType *iEdge) const
InputMeshType::QEType InputQEType
InputMeshType::PointType InputPointType
MatrixCoefficients< TInputMesh > Superclass
InputMeshType::VectorType InputVectorType
static const unsigned int PointDimension
InputCoordRepType operator()(const InputMeshType *iMesh, InputQEType *iEdge) const
InputMeshType::QEType InputQEType
InputMeshType::CoordRepType InputCoordRepType
InputPointType::VectorType InputVectorType
static CoordRepType Cotangent(const PointType &iA, const PointType &iB, const PointType &iC)
Compute cotangent(iA,iB,iC)
InputCoordRepType m_Lambda
virtual ~MatrixCoefficients()
MatrixCoefficients< TInputMesh > Superclass
InputMeshType::QEType InputQEType
Compute a matrix filled with Authalic Coefiicients of the edge, wherever two vertices are connected w...
InputMeshType::QEType InputQEType
InputMeshType::CoordRepType InputCoordRepType
InputMeshType::CoordRepType InputCoordRepType
InputMeshType::QEType InputQEType
AuthalicMatrixCoefficients()
HarmonicMatrixCoefficients()
InputMeshType::CoordRepType InputCoordRepType
InputMeshType::CoordRepType InputCoordRepType
Compute a matrix filled with Harmonic coefficients, wherever two vertices are connected by an edge...
Compute a mtrix filled by intrinsic Coefficients of the edge, wherever two vertices are connected by ...
Define additional traits for native types such as int or float.
MatrixCoefficients< TInputMesh > Superclass
Superclass for all the matrix coefficients computation classes.
MatrixCoefficients< TInputMesh > Superclass