18#ifndef itkDiscreteCurvatureQuadEdgeMeshFilter_h
19#define itkDiscreteCurvatureQuadEdgeMeshFilter_h
34template <
typename TInputMesh,
typename TOutputMesh = TInputMesh>
83 id[0] = iQE1->GetOrigin();
84 id[1] = iQE1->GetDestination();
85 id[2] = iQE2->GetDestination();
89 for (
int i = 0; i < 3; ++i)
110 while (p_it != points->End())
113 output->SetPointData(p_it->Index(), curvature);
typename OutputMeshType::QEType OutputQEType
typename OutputMeshTraits::PixelType OutputCurvatureType
typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
SmartPointer< const Self > ConstPointer
typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
typename OutputMeshType::MeshTraits OutputMeshTraits
TOutputMesh OutputMeshType
typename OutputMeshType::PointIdentifier OutputPointIdentifier
TriangleHelper< OutputPointType > TriangleType
void GenerateData() override
typename OutputMeshType::Pointer OutputMeshPointer
DiscreteCurvatureQuadEdgeMeshFilter Self
OutputCurvatureType ComputeMixedArea(OutputQEType *iQE1, OutputQEType *iQE2)
OutputMeshType * m_OutputMesh
SmartPointer< Self > Pointer
DiscreteCurvatureQuadEdgeMeshFilter()
typename InputMeshType::Pointer InputMeshPointer
virtual OutputCurvatureType EstimateCurvature(const OutputPointType &iP)=0
~DiscreteCurvatureQuadEdgeMeshFilter() override=default
typename OutputMeshType::PointType OutputPointType
typename OutputPointType::CoordinateType OutputCoordType
QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh > Superclass
typename OutputMeshType::CellIdentifier OutputCellIdentifier
OutputMeshType * GetOutput()
QuadEdgeMeshToQuadEdgeMeshFilter()
virtual void CopyInputMeshToOutputMesh()
Implements transparent reference counting.
A convenience class for computation of various triangle elements in 2D or 3D.
static CoordinateType ComputeMixedArea(const PointType &iP1, const PointType &iP2, const PointType &iP3)
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....