![]() |
Orfeo Toolbox
3.16
|
#include <itkPolygonCell.h>
Inheritance diagram for itk::PolygonCell< TCellInterface >:
Collaboration diagram for itk::PolygonCell< TCellInterface >:Public Types | |
| typedef EdgeType::SelfAutoPointer | EdgeAutoPointer |
| typedef FixedArray< int, 2 > | EdgeInfo |
| typedef std::deque< EdgeInfo > | EdgeInfoDQ |
| typedef LineCell< TCellInterface > | EdgeType |
| typedef VertexType::SelfAutoPointer | VertexAutoPointer |
| typedef VertexCell < TCellInterface > | VertexType |
Public Member Functions | |
| PolygonCell () | |
| PolygonCell (unsigned int NumberOfPoints) | |
| ~PolygonCell () | |
| void | AddPointId (PointIdentifier) |
| void | BuildEdges (void) |
| void | ClearPoints (void) |
| virtual bool | GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &) |
| virtual unsigned int | GetDimension (void) const |
| virtual bool | GetEdge (CellFeatureIdentifier, EdgeAutoPointer &) |
| virtual const char * | GetNameOfClass () const |
| virtual CellFeatureCount | GetNumberOfBoundaryFeatures (int dimension) const |
| virtual CellFeatureCount | GetNumberOfEdges (void) const |
| virtual unsigned int | GetNumberOfPoints (void) const |
| virtual CellFeatureCount | GetNumberOfVertices (void) const |
| virtual CellGeometry | GetType (void) const |
| virtual bool | GetVertex (CellFeatureIdentifier, VertexAutoPointer &) |
| itkCellCommonTypedefs (PolygonCell) | |
| itkCellInheritedTypedefs (TCellInterface) | |
| itkCellVisitMacro (Superclass::POLYGON_CELL) | |
| virtual void | MakeCopy (CellAutoPointer &) const |
| virtual PointIdIterator | PointIdsBegin (void) |
| virtual PointIdConstIterator | PointIdsBegin (void) const |
| virtual PointIdIterator | PointIdsEnd (void) |
| virtual PointIdConstIterator | PointIdsEnd (void) const |
| void | RemovePointId (PointIdentifier) |
| virtual void | SetPointId (int localId, PointIdentifier) |
| virtual void | SetPointIds (PointIdConstIterator first) |
| virtual void | SetPointIds (PointIdConstIterator first, PointIdConstIterator last) |
| void | SetPointIds (int dummy, int num, PointIdConstIterator first) |
Static Public Attributes | |
| static const unsigned int | CellDimension = 2 |
Protected Attributes | |
| std::vector< EdgeInfo > | m_Edges |
| std::vector< PointIdentifier > | m_PointIds |
Private Member Functions | |
| PolygonCell (const Self &) | |
| void | operator= (const Self &) |
PolygonCell represents a polygon for a Mesh. the points of the polygon can be dynamically changed.
Template parameters for PolygonCell:
TPixelType = The type associated with a point, cell, or boundary for use in storing its data.
TCellTraits = Type information of mesh containing cell.
Definition at line 47 of file itkPolygonCell.h.
| typedef EdgeType::SelfAutoPointer itk::PolygonCell< TCellInterface >::EdgeAutoPointer |
Definition at line 66 of file itkPolygonCell.h.
| typedef FixedArray<int,2> itk::PolygonCell< TCellInterface >::EdgeInfo |
Definition at line 68 of file itkPolygonCell.h.
| typedef std::deque<EdgeInfo> itk::PolygonCell< TCellInterface >::EdgeInfoDQ |
Definition at line 69 of file itkPolygonCell.h.
| typedef LineCell< TCellInterface > itk::PolygonCell< TCellInterface >::EdgeType |
The type of boundary for this triangle's edges.
Definition at line 65 of file itkPolygonCell.h.
| typedef VertexType::SelfAutoPointer itk::PolygonCell< TCellInterface >::VertexAutoPointer |
Definition at line 62 of file itkPolygonCell.h.
| typedef VertexCell< TCellInterface > itk::PolygonCell< TCellInterface >::VertexType |
The type of boundary for this triangle's vertices.
Definition at line 61 of file itkPolygonCell.h.
|
inline |
Constructor and destructor
Definition at line 107 of file itkPolygonCell.h.
|
inline |
Definition at line 108 of file itkPolygonCell.h.
|
inline |
Definition at line 116 of file itkPolygonCell.h.
|
private |
| void itk::PolygonCell< TCellInterface >::AddPointId | ( | PointIdentifier | ptID | ) |
Add one points to the points list
Definition at line 220 of file itkPolygonCell.txx.
Referenced by itk::bio::CellularAggregate< NSpaceDimension >::Add().
| void itk::PolygonCell< TCellInterface >::BuildEdges | ( | void | ) |
after input the points in order, generate the edge connections
Definition at line 176 of file itkPolygonCell.txx.
| void itk::PolygonCell< TCellInterface >::ClearPoints | ( | void | ) |
clear all the point and edge informations
Definition at line 247 of file itkPolygonCell.txx.
|
virtual |
Standard CellInterface: Get the boundary feature of the given dimension specified by the given cell feature Id. The Id can range from 0 to GetNumberOfBoundaryFeatures(dimension)-1.
Definition at line 105 of file itkPolygonCell.txx.
References itk::TransferAutoPointer().
|
virtual |
Standard CellInterface: Get the topological dimension of this cell.
Definition at line 59 of file itkPolygonCell.txx.
|
virtual |
Polygon-specific: Get the edge specified by the given cell feature Id. The Id can range from 0 to GetNumberOfEdges()-1.
Definition at line 423 of file itkPolygonCell.txx.
References itk::LineCell< TCellInterface >::SetPointId().
|
virtual |
Standard part of every itk Object.
|
virtual |
Standard CellInterface: Get the number of boundary features of the given dimension.
Definition at line 85 of file itkPolygonCell.txx.
|
virtual |
Polygon-specific: Get the number of edges defined for the Polygon.
Definition at line 394 of file itkPolygonCell.txx.
|
virtual |
Standard CellInterface: Get the number of points required to define the cell.
Definition at line 72 of file itkPolygonCell.txx.
Referenced by itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::Visit(), and itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexCellVisitor::Visit().
|
virtual |
Polygon-specific interface.
Polygon-specific: Get the number of vertices defining the Polygon.
Definition at line 382 of file itkPolygonCell.txx.
|
inlinevirtual |
Implement the standard CellInterface.
Definition at line 75 of file itkPolygonCell.h.
|
virtual |
Polygon-specific: Get the vertex specified by the given cell feature Id. The Id can range from 0 to GetNumberOfVertices()-1.
Definition at line 407 of file itkPolygonCell.txx.
References itk::VertexCell< TCellInterface >::SetPointId().
| itk::PolygonCell< TCellInterface >::itkCellCommonTypedefs | ( | PolygonCell< TCellInterface > | ) |
Standard class typedefs.
| itk::PolygonCell< TCellInterface >::itkCellInheritedTypedefs | ( | TCellInterface | ) |
| itk::PolygonCell< TCellInterface >::itkCellVisitMacro | ( | Superclass::POLYGON_CELL | ) |
Need to add POLYGON_CELL into CellInterface.
|
virtual |
Standard CellInterface:
Definition at line 34 of file itkPolygonCell.txx.
|
private |
|
virtual |
Standard CellInterface: Get a begin iterator to the list of point identifiers used by the cell.
Definition at line 300 of file itkPolygonCell.txx.
References NULL.
Referenced by itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::ComputeCellParameters(), itk::bio::CellularAggregate< NSpaceDimension >::Remove(), itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::Visit(), itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexCellVisitor::Visit(), and itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::Visit().
|
virtual |
Standard CellInterface: Get a const begin iterator to the list of point identifiers used by the cell.
Definition at line 321 of file itkPolygonCell.txx.
References NULL.
|
virtual |
Standard CellInterface: Get an end iterator to the list of point identifiers used by the cell.
Definition at line 341 of file itkPolygonCell.txx.
References NULL.
Referenced by itk::bio::CellularAggregate< NSpaceDimension >::Remove(), itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::Visit(), itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexCellVisitor::Visit(), and itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::Visit().
|
virtual |
Standard CellInterface: Get a const end iterator to the list of point identifiers used by the cell.
Definition at line 362 of file itkPolygonCell.txx.
References NULL.
| void itk::PolygonCell< TCellInterface >::RemovePointId | ( | PointIdentifier | ptID | ) |
Remove one points from the points list
Definition at line 231 of file itkPolygonCell.txx.
Referenced by itk::bio::CellularAggregate< NSpaceDimension >::Remove().
|
virtual |
Standard CellInterface: Set an individual point identifier in the cell.
Definition at line 283 of file itkPolygonCell.txx.
Referenced by itk::SimplexMeshAdaptTopologyFilter< TInputMesh, TOutputMesh >::ComputeCellParameters().
|
virtual |
Standard CellInterface: Set the point id list used by the cell. It is assumed that the given iterator can be incremented and safely de-referenced enough times to get all the point ids needed by the cell.
Definition at line 205 of file itkPolygonCell.txx.
|
virtual |
Standard CellInterface: Set the point id list used by the cell. It is assumed that the range of iterators [first, last) contains the correct number of points needed to define the cell. The position *last is NOT referenced, so it can safely be one beyond the end of an array or other container.
Definition at line 263 of file itkPolygonCell.txx.
| void itk::PolygonCell< TCellInterface >::SetPointIds | ( | int | dummy, |
| int | num, | ||
| PointIdConstIterator | first | ||
| ) |
Standard CellInterface: Set the point id list used by the cell. It is assumed that the given iterator can be incremented and safely de-referenced enough times to get all the point ids needed by the cell.
Definition at line 159 of file itkPolygonCell.txx.
|
static |
Save some template parameter information.
Definition at line 58 of file itkPolygonCell.h.
|
protected |
Definition at line 119 of file itkPolygonCell.h.
|
protected |
Definition at line 120 of file itkPolygonCell.h.