#include <itkPolygonCell.h>
Represents a polygon in a Mesh.
PolygonCell represents a polygon for a Mesh. the points of the polygon can be dynamically changed.
Definition at line 49 of file itkPolygonCell.h.
Inheritance diagram for itk::PolygonCell< TCellInterface >:
Collaboration diagram for itk::PolygonCell< TCellInterface >:Public Types | |
| using | EdgeAutoPointer = typename EdgeType::SelfAutoPointer |
| using | EdgeInfo = FixedArray<int, 2> |
| using | EdgeInfoDQ = std::deque<EdgeInfo> |
| using | EdgeType = LineCell<TCellInterface> |
| using | VertexAutoPointer = typename VertexType::SelfAutoPointer |
| using | VertexType = VertexCell<TCellInterface> |
Public Member Functions | |
| void | AddPointId (PointIdentifier) |
| void | BuildEdges () |
| void | ClearPoints () |
| bool | GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &) override |
| unsigned int | GetDimension () const override |
| virtual bool | GetEdge (CellFeatureIdentifier, EdgeAutoPointer &) |
| virtual const char * | GetNameOfClass () const |
| CellFeatureCount | GetNumberOfBoundaryFeatures (int dimension) const override |
| virtual CellFeatureCount | GetNumberOfEdges () const |
| unsigned int | GetNumberOfPoints () const override |
| virtual CellFeatureCount | GetNumberOfVertices () const |
| virtual bool | GetVertex (CellFeatureIdentifier, VertexAutoPointer &) |
| itkCellVisitMacro (CellGeometryEnum::POLYGON_CELL) | |
| PointIdConstIterator | PointIdsBegin () const override |
| PointIdIterator | PointIdsBegin () override |
| PointIdConstIterator | PointIdsEnd () const override |
| PointIdIterator | PointIdsEnd () override |
| void | RemovePointId (PointIdentifier) |
| void | SetPointId (int localId, PointIdentifier) override |
| void | SetPointIds (int dummy, int num, PointIdConstIterator first) |
| void | SetPointIds (PointIdConstIterator first) override |
| void | SetPointIds (PointIdConstIterator first, PointIdConstIterator last) override |
| ~PolygonCell () override=default | |
| itkCellCommonTypedefs (PolygonCell) | |
| itkCellInheritedTypedefs (TCellInterface) | |
| CellGeometryEnum | GetType () const override |
| void | MakeCopy (CellAutoPointer &) const override |
| PolygonCell ()=default | |
| PolygonCell (PointIdentifier NumberOfPoints) | |
Static Public Attributes | |
| static constexpr unsigned int | CellDimension = 2 |
Protected Attributes | |
| std::vector< EdgeInfo > | m_Edges {} |
| std::vector< PointIdentifier > | m_PointIds {} |
| using itk::PolygonCell< TCellInterface >::EdgeAutoPointer = typename EdgeType::SelfAutoPointer |
Definition at line 71 of file itkPolygonCell.h.
| using itk::PolygonCell< TCellInterface >::EdgeInfo = FixedArray<int, 2> |
Definition at line 73 of file itkPolygonCell.h.
| using itk::PolygonCell< TCellInterface >::EdgeInfoDQ = std::deque<EdgeInfo> |
Definition at line 74 of file itkPolygonCell.h.
| using itk::PolygonCell< TCellInterface >::EdgeType = LineCell<TCellInterface> |
The type of boundary for this triangle's edges.
Definition at line 70 of file itkPolygonCell.h.
| using itk::PolygonCell< TCellInterface >::VertexAutoPointer = typename VertexType::SelfAutoPointer |
Definition at line 67 of file itkPolygonCell.h.
| using itk::PolygonCell< TCellInterface >::VertexType = VertexCell<TCellInterface> |
The type of boundary for this triangle's vertices.
Definition at line 66 of file itkPolygonCell.h.
|
default |
Constructor and destructor
|
inline |
Constructor and destructor
Definition at line 147 of file itkPolygonCell.h.
|
overridedefault |
| void itk::PolygonCell< TCellInterface >::AddPointId | ( | PointIdentifier | ) |
| void itk::PolygonCell< TCellInterface >::BuildEdges | ( | ) |
| void itk::PolygonCell< TCellInterface >::ClearPoints | ( | ) |
|
override |
|
nodiscardoverride |
|
virtual |
|
virtual |
|
override |
|
virtual |
|
nodiscardoverride |
|
virtual |
Polygon-specific interface.
|
inlinenodiscardoverride |
Implement the standard CellInterface.
Definition at line 82 of file itkPolygonCell.h.
|
virtual |
| itk::PolygonCell< TCellInterface >::itkCellCommonTypedefs | ( | PolygonCell< TCellInterface > | ) |
Standard class type aliases.
| itk::PolygonCell< TCellInterface >::itkCellInheritedTypedefs | ( | TCellInterface | ) |
Standard class type aliases.
| itk::PolygonCell< TCellInterface >::itkCellVisitMacro | ( | CellGeometryEnum::POLYGON_CELL | ) |
Need to add POLYGON_CELL into CellInterface.
|
override |
Implement the standard CellInterface.
|
override |
|
override |
|
override |
|
override |
| void itk::PolygonCell< TCellInterface >::RemovePointId | ( | PointIdentifier | ) |
|
override |
| void itk::PolygonCell< TCellInterface >::SetPointIds | ( | int | dummy, |
| int | num, | ||
| PointIdConstIterator | first ) |
|
override |
|
override |
|
staticconstexpr |
Save some template parameter information.
Definition at line 63 of file itkPolygonCell.h.
|
protected |
Definition at line 159 of file itkPolygonCell.h.
|
protected |
Definition at line 160 of file itkPolygonCell.h.