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