28 #ifndef itkPolygonCell_h
29 #define itkPolygonCell_h
52 template<
typename TCellInterface >
82 virtual CellGeometry
GetType(
void) const ITK_OVERRIDE
83 {
return Superclass::POLYGON_CELL; }
84 virtual void MakeCopy(CellAutoPointer &) const ITK_OVERRIDE;
87 virtual
unsigned int GetDimension(
void) const ITK_OVERRIDE;
93 virtual
bool GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &) ITK_OVERRIDE;
95 virtual
void SetPointIds(PointIdConstIterator first) ITK_OVERRIDE;
97 virtual
void SetPointIds(PointIdConstIterator first,
98 PointIdConstIterator last) ITK_OVERRIDE;
102 void SetPointIds(
int dummy,
int num, PointIdConstIterator first);
108 virtual
void SetPointId(
int localId, PointIdentifier) ITK_OVERRIDE;
111 virtual PointIdConstIterator
PointIdsBegin(
void) const ITK_OVERRIDE;
113 virtual PointIdIterator
PointIdsEnd(
void) ITK_OVERRIDE;
115 virtual PointIdConstIterator
PointIdsEnd(
void) const ITK_OVERRIDE;
129 for ( PointIdentifier i = 0; i < NumberOfPoints; i++ )
145 void operator=(const Self &) ITK_DELETE_FUNCTION;
149 #ifndef ITK_MANUAL_INSTANTIATION
150 #include "itkPolygonCell.hxx"
virtual CellGeometry GetType(void) const override
Represents a line segment for a Mesh.
VertexType::SelfAutoPointer VertexAutoPointer
virtual bool GetEdge(CellFeatureIdentifier, EdgeAutoPointer &)
virtual CellFeatureCount GetNumberOfEdges() const
itkCellVisitMacro(Superclass::POLYGON_CELL)
virtual void SetPointId(int localId, PointIdentifier) override
virtual void SetPointIds(PointIdConstIterator first) override
virtual PointIdIterator PointIdsEnd(void) override
An abstract interface for cells.
std::deque< EdgeInfo > EdgeInfoDQ
PolygonCell(PointIdentifier NumberOfPoints)
virtual bool GetBoundaryFeature(int dimension, CellFeatureIdentifier, CellAutoPointer &) override
static const unsigned int CellDimension
Simulate a standard C array with copy semnatics.
itkCellInheritedTypedefs(TCellInterface)
virtual void MakeCopy(CellAutoPointer &) const override
virtual PointIdIterator PointIdsBegin(void) override
LineCell< TCellInterface > EdgeType
virtual unsigned int GetDimension(void) const override
EdgeType::SelfAutoPointer EdgeAutoPointer
VertexCell< TCellInterface > VertexType
void RemovePointId(PointIdentifier)
Represents a polygon in a Mesh.
virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &)
std::vector< PointIdentifier > m_PointIds
std::vector< EdgeInfo > m_Edges
Represents a single vertex for a Mesh.
FixedArray< int, 2 > EdgeInfo
Define additional traits for native types such as int or float.
virtual unsigned int GetNumberOfPoints(void) const override
itkCellCommonTypedefs(PolygonCell)
virtual CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const override
virtual CellFeatureCount GetNumberOfVertices() const
void AddPointId(PointIdentifier)