41 template <
typename TCellInterface>
42 class ITK_TEMPLATE_EXPORT
LineCell :
public TCellInterface
45 ITK_DISALLOW_COPY_AND_MOVE(
LineCell);
60 static constexpr
unsigned int NumberOfPoints = 2;
61 static constexpr
unsigned int NumberOfVertices = 2;
62 static constexpr
unsigned int CellDimension = 1;
71 MakeCopy(CellAutoPointer &)
const override;
75 GetDimension()
const override;
78 GetNumberOfPoints()
const override;
81 GetNumberOfBoundaryFeatures(
int dimension)
const override;
84 GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &)
override;
86 SetPointIds(PointIdConstIterator first)
override;
89 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
92 SetPointId(
int localId, PointIdentifier)
override;
94 PointIdsBegin()
override;
97 PointIdsBegin()
const override;
100 PointIdsEnd()
override;
103 PointIdsEnd()
const override;
106 virtual CellFeatureCount
107 GetNumberOfVertices()
const;
110 GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
117 for (
unsigned int i = 0; i < Self::NumberOfPoints; i++)
127 PointIdentifier m_PointIds[NumberOfPoints];
131 #ifndef ITK_MANUAL_INSTANTIATION
132 # include "itkLineCell.hxx"