18 #ifndef itkVertexCell_h
19 #define itkVertexCell_h
38 template <
typename TCellInterface>
39 class ITK_TEMPLATE_EXPORT
VertexCell :
public TCellInterface
53 static constexpr
unsigned int NumberOfPoints = 1;
54 static constexpr
unsigned int CellDimension = 0;
63 MakeCopy(CellAutoPointer &)
const override;
67 GetDimension()
const override;
70 GetNumberOfPoints()
const override;
73 GetNumberOfBoundaryFeatures(
int dimension)
const override;
76 GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &)
override;
78 SetPointIds(PointIdConstIterator first)
override;
81 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
84 SetPointId(
int localId, PointIdentifier)
override;
86 PointIdsBegin()
override;
89 PointIdsBegin()
const override;
92 PointIdsEnd()
override;
95 PointIdsEnd()
const override;
98 virtual void SetPointId(PointIdentifier);
99 virtual PointIdentifier
108 EvaluatePosition(CoordRepType *,
113 InterpolationWeightType *)
override;
118 for (PointIdentifier i = 0; i < Self::NumberOfPoints; i++)
130 PointIdentifier m_PointIds[NumberOfPoints];
134 #ifndef ITK_MANUAL_INSTANTIATION
135 # include "itkVertexCell.hxx"