18 #ifndef itkVertexCell_h
19 #define itkVertexCell_h
41 template <
typename TCellInterface>
42 class ITK_TEMPLATE_EXPORT
VertexCell :
public TCellInterface
56 static constexpr
unsigned int NumberOfPoints = 1;
57 static constexpr
unsigned int CellDimension = 0;
66 MakeCopy(CellAutoPointer &)
const override;
70 GetDimension()
const override;
73 GetNumberOfPoints()
const override;
76 GetNumberOfBoundaryFeatures(
int dimension)
const override;
79 GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &)
override;
81 SetPointIds(PointIdConstIterator first)
override;
84 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
87 SetPointId(
int localId, PointIdentifier)
override;
89 PointIdsBegin()
override;
92 PointIdsBegin()
const override;
95 PointIdsEnd()
override;
98 PointIdsEnd()
const override;
101 virtual void SetPointId(PointIdentifier);
102 virtual PointIdentifier
111 EvaluatePosition(CoordRepType *,
116 InterpolationWeightType *)
override;
127 std::array<PointIdentifier, NumberOfPoints> m_PointIds{ MakeFilled<std::array<PointIdentifier, NumberOfPoints>>(
132 #ifndef ITK_MANUAL_INSTANTIATION
133 # include "itkVertexCell.hxx"