18 #ifndef itkPolyLineCell_h
19 #define itkPolyLineCell_h
40 template <
typename TCellInterface>
59 static constexpr
unsigned int CellDimension = 1;
68 MakeCopy(CellAutoPointer &)
const override;
72 GetDimension()
const override;
75 GetNumberOfPoints()
const override;
78 GetNumberOfBoundaryFeatures(
int dimension)
const override;
81 GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &)
override;
90 SetPointIds(PointIdConstIterator first)
override;
93 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
96 SetPointIds(
int dummy,
int num, PointIdConstIterator first);
99 SetPointId(
int localId, PointIdentifier)
override;
101 PointIdsBegin()
override;
104 PointIdsBegin()
const override;
107 PointIdsEnd()
override;
110 PointIdsEnd()
const override;
113 virtual CellFeatureCount
114 GetNumberOfVertices()
const;
117 GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
126 for (PointIdentifier i = 0; i < numberOfPoints; ++i)
135 PolyLineCell(PointIdentifier numberOfPoints) { InitializePoints(numberOfPoints); }
145 #ifndef ITK_MANUAL_INSTANTIATION
146 # include "itkPolyLineCell.hxx"