|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter_h
19 #define itkDiscretePrincipalCurvaturesQuadEdgeMeshFilter_h
33 template <
typename TInputMesh,
typename TOutputMesh = TInputMesh>
67 #ifdef ITK_USE_CONCEPT_CHECKING
101 if (qe_it != qe_it->GetOnext())
118 qe_it2 = qe_it->GetOnext();
119 q0 = output->GetPoint(qe_it->GetDestination());
120 q1 = output->GetPoint(qe_it2->GetDestination());
122 temp_coeff = coefficent(output, qe_it);
123 Laplace += temp_coeff * (iP - q0);
132 normal += face_normal;
135 }
while (qe_it != qe);
140 Laplace *= 0.25 * area;
141 m_Mean = Laplace * normal;
OutputCurvatureType ComputeMixedArea(OutputQEType *iQE1, OutputQEType *iQE2)
typename OutputMeshType::Pointer OutputMeshPointer
FIXME add documentation here.
OutputMeshType * GetOutput()
typename OutputMeshType::Pointer OutputMeshPointer
TOutputMesh OutputMeshType
static CoordRepType ComputeAngle(const PointType &iP1, const PointType &iP2, const PointType &iP3)
Compute angles (iA,iB,iC)
typename InputMeshType::Pointer InputMeshPointer
typename OutputMeshType::PointIdentifier OutputPointIdentifier
TriangleHelper< OutputPointType > TriangleType
OutputCurvatureType m_Gaussian
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
#define itkConceptMacro(name, concept)
static VectorType ComputeNormal(const PointType &iA, const PointType &iB, const PointType &iC)
Compute Normal vector to the triangle formed by (iA,iB,iC)
~DiscretePrincipalCurvaturesQuadEdgeMeshFilter() override=default
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
virtual OutputCurvatureType ComputeDelta()
typename OutputMeshType::QEType OutputQEType
static constexpr double e
DiscretePrincipalCurvaturesQuadEdgeMeshFilter()
typename OutputMeshType::CellIdentifier OutputCellIdentifier
static constexpr double pi
void ComputeMeanAndGaussianCurvatures(const OutputPointType &iP)
typename OutputMeshType::PointType OutputPointType
OutputCurvatureType m_Mean