18#ifndef itkPolyLineCell_h
19#define itkPolyLineCell_h
35template <
typename TCellInterface>
60 return CellGeometryEnum::POLYLINE_CELL;
88 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
108 virtual CellFeatureCount
121 for (PointIdentifier i = 0; i < numberOfPoints; ++i)
140#ifndef ITK_MANUAL_INSTANTIATION
141# include "itkPolyLineCell.hxx"
static constexpr T max(const T &)
PointIdConstIterator PointIdsBegin() const override
typename VertexType::SelfAutoPointer VertexAutoPointer
virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &)
void SetPointIds(int dummy, int num, PointIdConstIterator first)
PointIdConstIterator PointIdsEnd() const override
~PolyLineCell() override=default
itkCellCommonTypedefs(PolyLineCell)
bool GetBoundaryFeature(int dimension, CellFeatureIdentifier, CellAutoPointer &) override
itkCellInheritedTypedefs(TCellInterface)
void InitializePoints(PointIdentifier numberOfPoints)
CellGeometryEnum GetType() const override
itkCellVisitMacro(CellGeometryEnum::POLYLINE_CELL)
void MakeCopy(CellAutoPointer &) const override
PointIdIterator PointIdsBegin() override
VertexCell< TCellInterface > VertexType
unsigned int GetNumberOfPoints() const override
void SetPointIds(PointIdConstIterator first) override
PointIdIterator PointIdsEnd() override
void SetPointId(int localId, PointIdentifier) override
void SetPointIds(PointIdConstIterator first, PointIdConstIterator last) override
CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const override
static constexpr unsigned int CellDimension
unsigned int GetDimension() const override
PolyLineCell(PointIdentifier numberOfPoints)
std::vector< PointIdentifier > m_PointIds
virtual CellFeatureCount GetNumberOfVertices() const
Represents a single vertex for a Mesh.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
CommonEnums::CellGeometry CellGeometryEnum