39template <
typename TCellInterface>
40class ITK_TEMPLATE_EXPORT
LineCell :
public TCellInterface
43 ITK_DISALLOW_COPY_AND_MOVE(
LineCell);
58 static constexpr unsigned int NumberOfPoints = 2;
59 static constexpr unsigned int NumberOfVertices = 2;
60 static constexpr unsigned int CellDimension = 1;
87 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
104 virtual CellFeatureCount
119 std::array<PointIdentifier, NumberOfPoints> m_PointIds{ MakeFilled<std::array<PointIdentifier, NumberOfPoints>>(
124#ifndef ITK_MANUAL_INSTANTIATION
125# include "itkLineCell.hxx"
Represents a line segment for a Mesh.
void MakeCopy(CellAutoPointer &) const override
PointIdConstIterator PointIdsBegin() const override
CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const override
itkCellInheritedTypedefs(TCellInterface)
virtual CellFeatureCount GetNumberOfVertices() const
typename VertexType::SelfAutoPointer VertexAutoPointer
itkCellCommonTypedefs(LineCell)
virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &)
unsigned int GetDimension() const override
void SetPointIds(PointIdConstIterator first, PointIdConstIterator last) override
void SetPointIds(PointIdConstIterator first) override
itkCellVisitMacro(CellGeometryEnum::LINE_CELL)
PointIdConstIterator PointIdsEnd() const override
unsigned int GetNumberOfPoints() const override
~LineCell() override=default
void SetPointId(int localId, PointIdentifier) override
PointIdIterator PointIdsEnd() override
bool GetBoundaryFeature(int dimension, CellFeatureIdentifier, CellAutoPointer &) override
CellGeometryEnum GetType() const override
PointIdIterator PointIdsBegin() override
static constexpr T max(const T &)
Represents a single vertex for a Mesh.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....