18#ifndef itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter_h
19#define itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter_h
33template <
typename TInputMesh,
typename TOutputMesh = TInputMesh>
98 if (qe_it != qe_it->GetOnext())
111 Laplace += temp_coeff * (iP - q0);
120 normal += face_normal;
123 }
while (qe_it != qe);
128 Laplace *= 0.25 * area;
129 m_Mean = Laplace * normal;
typename OutputMeshType::QEType OutputQEType
typename OutputMeshTraits::PixelType OutputCurvatureType
typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
typename OutputMeshType::MeshTraits OutputMeshTraits
TOutputMesh OutputMeshType
typename OutputMeshType::PointIdentifier OutputPointIdentifier
TriangleHelper< OutputPointType > TriangleType
typename OutputMeshType::Pointer OutputMeshPointer
OutputCurvatureType ComputeMixedArea(OutputQEType *iQE1, OutputQEType *iQE2)
DiscreteCurvatureQuadEdgeMeshFilter()
typename InputMeshType::Pointer InputMeshPointer
typename OutputMeshType::PointType OutputPointType
typename OutputPointType::CoordinateType OutputCoordType
typename OutputMeshType::CellIdentifier OutputCellIdentifier
OutputCurvatureType m_Mean
ConformalMatrixCoefficients< OutputMeshType > CoefficientType
OutputCurvatureType m_Gaussian
SmartPointer< Self > Pointer
~DiscretePrincipalCurvaturesQuadEdgeMeshFilter() override=default
virtual OutputCurvatureType ComputeDelta()
SmartPointer< const Self > ConstPointer
DiscreteCurvatureQuadEdgeMeshFilter< TInputMesh, TOutputMesh > Superclass
void ComputeMeanAndGaussianCurvatures(const OutputPointType &iP)
DiscretePrincipalCurvaturesQuadEdgeMeshFilter Self
DiscretePrincipalCurvaturesQuadEdgeMeshFilter()
OutputMeshType * GetOutput()
typename OutputMeshType::VectorType OutputVectorType
Implements transparent reference counting.
static VectorType ComputeNormal(const PointType &iA, const PointType &iB, const PointType &iC)
static CoordinateType ComputeAngle(const PointType &iP1, const PointType &iP2, const PointType &iP3)
#define itkConceptMacro(name, concept)
static constexpr double pi
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....