18 #ifndef itkPolyLineCell_h
19 #define itkPolyLineCell_h
35 template <
typename TCellInterface>
54 static constexpr
unsigned int CellDimension = 1;
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;
85 SetPointIds(PointIdConstIterator first)
override;
88 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
91 SetPointIds(
int dummy,
int num, PointIdConstIterator first);
94 SetPointId(
int localId, PointIdentifier)
override;
96 PointIdsBegin()
override;
99 PointIdsBegin()
const override;
102 PointIdsEnd()
override;
105 PointIdsEnd()
const override;
108 virtual CellFeatureCount
109 GetNumberOfVertices()
const;
112 GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
121 for (PointIdentifier i = 0; i < numberOfPoints; ++i)
130 PolyLineCell(PointIdentifier numberOfPoints) { InitializePoints(numberOfPoints); }
136 std::vector<PointIdentifier> m_PointIds{};
140 #ifndef ITK_MANUAL_INSTANTIATION
141 # include "itkPolyLineCell.hxx"