18#ifndef itkQuadraticEdgeCell_h
19#define itkQuadraticEdgeCell_h
34template <
typename TCellInterface>
53 static constexpr unsigned int NumberOfPoints = 3;
54 static constexpr unsigned int NumberOfVertices = 2;
55 static constexpr unsigned int CellDimension = 1;
82 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
99 virtual CellFeatureCount
116 ShapeFunctionsArrayType & weights)
const override;
120 std::array<PointIdentifier, NumberOfPoints> m_PointIds{ MakeFilled<std::array<PointIdentifier, NumberOfPoints>>(
125#ifndef ITK_MANUAL_INSTANTIATION
126# include "itkQuadraticEdgeCell.hxx"
static constexpr T max(const T &)
Represents a second order line segment for a Mesh.
void SetPointIds(PointIdConstIterator first, PointIdConstIterator last) override
PointIdConstIterator PointIdsEnd() const override
typename VertexType::SelfAutoPointer VertexAutoPointer
itkCellCommonTypedefs(QuadraticEdgeCell)
virtual CellFeatureCount GetNumberOfVertices() const
void SetPointIds(PointIdConstIterator first) override
PointIdConstIterator PointIdsBegin() const override
QuadraticEdgeCell()=default
virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &)
void MakeCopy(CellAutoPointer &) const override
PointIdIterator PointIdsBegin() override
bool GetBoundaryFeature(int dimension, CellFeatureIdentifier, CellAutoPointer &) override
PointIdIterator PointIdsEnd() override
unsigned int GetNumberOfPoints() const override
void SetPointId(int localId, PointIdentifier) override
itkCellInheritedTypedefs(TCellInterface)
CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const override
void EvaluateShapeFunctions(const ParametricCoordArrayType ¶metricCoordinates, ShapeFunctionsArrayType &weights) const override
itkCellVisitMacro(CellGeometryEnum::QUADRATIC_EDGE_CELL)
unsigned int GetDimension() const override
~QuadraticEdgeCell() override=default
CellGeometryEnum GetType() const override
Represents a single vertex for a Mesh.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....