|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkDiscreteMeanCurvatureQuadEdgeMeshFilter_h
19 #define itkDiscreteMeanCurvatureQuadEdgeMeshFilter_h
35 template <
typename TInputMesh,
typename TOutputMesh = TInputMesh>
72 #ifdef ITK_USE_CONCEPT_CHECKING
101 if (qe != qe->GetOnext())
116 qe_it2 = qe_it->GetOnext();
117 q0 = output->GetPoint(qe_it->GetDestination());
118 q1 = output->GetPoint(qe_it2->GetDestination());
120 temp_coeff = coefficent(output, qe_it);
121 Laplace += temp_coeff * (iP - q0);
126 face_normal = TriangleType::ComputeNormal(q0, iP, q1);
127 normal += face_normal;
130 }
while (qe_it != qe);
138 if (normal.GetSquaredNorm() > 0.)
141 Laplace *= 0.25 / area;
142 oH = Laplace * normal;
OutputCurvatureType ComputeMixedArea(OutputQEType *iQE1, OutputQEType *iQE2)
typename OutputMeshType::Pointer OutputMeshPointer
OutputMeshType * GetOutput()
see the following paper title: Discrete Differential-Geometry Operators for Triangulated 2-Manifolds ...
typename OutputMeshType::Pointer OutputMeshPointer
TOutputMesh OutputMeshType
typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
typename InputMeshType::Pointer InputMeshPointer
typename InputMeshType::Pointer InputMeshPointer
typename OutputMeshType::PointIdentifier OutputPointIdentifier
A convenience class for computation of various triangle elements in 2D or 3D.
TriangleHelper< OutputPointType > TriangleType
OutputCurvatureType EstimateCurvature(const OutputPointType &iP) override
Light weight base class for most itk classes.
typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
typename OutputMeshTraits::PixelType OutputCurvatureType
typename OutputMeshType::VectorType OutputVectorType
typename OutputMeshType::MeshTraits OutputMeshTraits
typename OutputMeshType::PointType OutputPointType
typename OutputPointType::CoordRepType OutputCoordType
DiscreteMeanCurvatureQuadEdgeMeshFilter()=default
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
typename OutputMeshType::QEType OutputQEType
static constexpr double e
TOutputMesh OutputMeshType
typename OutputMeshType::CellIdentifier OutputCellIdentifier
typename OutputMeshType::PointIdentifier OutputPointIdentifier
typename OutputMeshType::PointType OutputPointType
~DiscreteMeanCurvatureQuadEdgeMeshFilter() override=default
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator