28#ifndef itkPolygonCell_h
29#define itkPolygonCell_h
48template <
typename TCellInterface>
83 return CellGeometryEnum::POLYGON_CELL;
105 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
133 virtual CellFeatureCount
136 virtual CellFeatureCount
148 for (PointIdentifier i = 0; i < NumberOfPoints; ++i)
164#ifndef ITK_MANUAL_INSTANTIATION
165# include "itkPolygonCell.hxx"
Simulate a standard C array with copy semantics.
Represents a line segment for a Mesh.
static constexpr T max(const T &)
unsigned int GetNumberOfPoints() const override
std::vector< EdgeInfo > m_Edges
unsigned int GetDimension() const override
CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const override
LineCell< TCellInterface > EdgeType
~PolygonCell() override=default
itkCellCommonTypedefs(PolygonCell)
typename EdgeType::SelfAutoPointer EdgeAutoPointer
static constexpr unsigned int CellDimension
itkCellVisitMacro(CellGeometryEnum::POLYGON_CELL)
void RemovePointId(PointIdentifier)
PointIdConstIterator PointIdsEnd() const override
PointIdIterator PointIdsEnd() override
std::deque< EdgeInfo > EdgeInfoDQ
virtual CellFeatureCount GetNumberOfEdges() const
PolygonCell(PointIdentifier NumberOfPoints)
VertexCell< TCellInterface > VertexType
void SetPointIds(PointIdConstIterator first) override
CellGeometryEnum GetType() const override
virtual bool GetEdge(CellFeatureIdentifier, EdgeAutoPointer &)
itkCellInheritedTypedefs(TCellInterface)
void SetPointId(int localId, PointIdentifier) override
PointIdConstIterator PointIdsBegin() const override
FixedArray< int, 2 > EdgeInfo
void SetPointIds(int dummy, int num, PointIdConstIterator first)
virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &)
PointIdIterator PointIdsBegin() override
void SetPointIds(PointIdConstIterator first, PointIdConstIterator last) override
virtual CellFeatureCount GetNumberOfVertices() const
typename VertexType::SelfAutoPointer VertexAutoPointer
void AddPointId(PointIdentifier)
bool GetBoundaryFeature(int dimension, CellFeatureIdentifier, CellAutoPointer &) override
void MakeCopy(CellAutoPointer &) const override
std::vector< PointIdentifier > m_PointIds
Represents a single vertex for a Mesh.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
CommonEnums::CellGeometry CellGeometryEnum