18#ifndef itkQuadraticEdgeCell_h
19#define itkQuadraticEdgeCell_h
39template <
typename TCellInterface>
58 static constexpr unsigned int NumberOfPoints = 3;
59 static constexpr unsigned int NumberOfVertices = 2;
60 static constexpr unsigned int CellDimension = 1;
87 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
104 virtual CellFeatureCount
121 ShapeFunctionsArrayType & weights)
const override;
125 std::array<PointIdentifier, NumberOfPoints> m_PointIds{ MakeFilled<std::array<PointIdentifier, NumberOfPoints>>(
130#ifndef ITK_MANUAL_INSTANTIATION
131# 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....