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;
122 virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
123 virtual bool GetEdge(CellFeatureIdentifier, EdgeAutoPointer &);
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" Represents a line segment for a Mesh.
virtual CellGeometry GetType(void) const override
VertexType::SelfAutoPointer VertexAutoPointer
virtual unsigned int GetDimension(void) const override
virtual bool GetEdge(CellFeatureIdentifier, EdgeAutoPointer &)
virtual CellFeatureCount GetNumberOfEdges() const
itkCellVisitMacro(Superclass::POLYGON_CELL)
virtual void SetPointId(int localId, PointIdentifier) override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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 unsigned int GetNumberOfPoints(void) const override
virtual PointIdIterator PointIdsBegin(void) override
LineCell< TCellInterface > EdgeType
EdgeType::SelfAutoPointer EdgeAutoPointer
VertexCell< TCellInterface > VertexType
void RemovePointId(PointIdentifier)
Represents a polygon in a Mesh.
virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &)
virtual CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const override
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.
itkCellCommonTypedefs(PolygonCell)
virtual CellFeatureCount GetNumberOfVertices() const
void AddPointId(PointIdentifier)
virtual void MakeCopy(CellAutoPointer &) const override