#include <itkPolygonCell.h>
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 | |
void | AddPointId (PointIdentifier) |
void | BuildEdges (void) |
void | ClearPoints (void) |
virtual const char * | GetNameOfClass () const |
itkCellVisitMacro (Superclass::POLYGON_CELL) | |
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) |
itkCellCommonTypedefs (PolygonCell) | |
itkCellInheritedTypedefs (TCellInterface) | |
virtual CellGeometry | GetType (void) const |
virtual void | MakeCopy (CellAutoPointer &) const |
virtual unsigned int | GetDimension (void) const |
virtual unsigned int | GetNumberOfPoints (void) const |
virtual CellFeatureCount | GetNumberOfBoundaryFeatures (int dimension) const |
virtual bool | GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &) |
virtual CellFeatureCount | GetNumberOfVertices (void) const |
virtual CellFeatureCount | GetNumberOfEdges (void) const |
virtual bool | GetVertex (CellFeatureIdentifier, VertexAutoPointer &) |
virtual bool | GetEdge (CellFeatureIdentifier, EdgeAutoPointer &) |
PolygonCell () | |
PolygonCell (unsigned int NumberOfPoints) | |
~PolygonCell () | |
Static Public Attributes | |
static const unsigned int | CellDimension = 2 |
Protected Attributes | |
std::vector< EdgeInfo > | m_Edges |
std::vector< PointIdentifier > | m_PointIds |
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 67 of file itkPolygonCell.h.
typedef FixedArray<int,2> itk::PolygonCell< TCellInterface >::EdgeInfo |
Definition at line 69 of file itkPolygonCell.h.
typedef std::deque<EdgeInfo> itk::PolygonCell< TCellInterface >::EdgeInfoDQ |
Definition at line 70 of file itkPolygonCell.h.
typedef LineCell< TCellInterface > itk::PolygonCell< TCellInterface >::EdgeType |
The type of boundary for this triangle's edges.
Definition at line 66 of file itkPolygonCell.h.
typedef VertexType::SelfAutoPointer itk::PolygonCell< TCellInterface >::VertexAutoPointer |
Definition at line 63 of file itkPolygonCell.h.
typedef VertexCell< TCellInterface > itk::PolygonCell< TCellInterface >::VertexType |
The type of boundary for this triangle's vertices.
Definition at line 62 of file itkPolygonCell.h.
itk::PolygonCell< TCellInterface >::PolygonCell | ( | ) | [inline] |
Constructor and destructor
Definition at line 110 of file itkPolygonCell.h.
itk::PolygonCell< TCellInterface >::PolygonCell | ( | unsigned int | NumberOfPoints | ) | [inline] |
Constructor and destructor
Definition at line 111 of file itkPolygonCell.h.
itk::PolygonCell< TCellInterface >::~PolygonCell | ( | ) | [inline] |
Constructor and destructor
Definition at line 119 of file itkPolygonCell.h.
void itk::PolygonCell< TCellInterface >::AddPointId | ( | PointIdentifier | ) |
void itk::PolygonCell< TCellInterface >::BuildEdges | ( | void | ) |
void itk::PolygonCell< TCellInterface >::ClearPoints | ( | void | ) |
virtual bool itk::PolygonCell< TCellInterface >::GetBoundaryFeature | ( | int | dimension, | |
CellFeatureIdentifier | , | |||
CellAutoPointer & | ||||
) | [virtual] |
Implement the standard CellInterface.
virtual unsigned int itk::PolygonCell< TCellInterface >::GetDimension | ( | void | ) | const [virtual] |
Implement the standard CellInterface.
virtual bool itk::PolygonCell< TCellInterface >::GetEdge | ( | CellFeatureIdentifier | , | |
EdgeAutoPointer & | ||||
) | [virtual] |
Polygon-specific interface.
virtual const char* itk::PolygonCell< TCellInterface >::GetNameOfClass | ( | ) | const [virtual] |
Standard part of every itk Object.
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfBoundaryFeatures | ( | int | dimension | ) | const [virtual] |
Implement the standard CellInterface.
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfEdges | ( | void | ) | const [virtual] |
Polygon-specific interface.
virtual unsigned int itk::PolygonCell< TCellInterface >::GetNumberOfPoints | ( | void | ) | const [virtual] |
Implement the standard CellInterface.
Referenced by itk::SimplexMeshVolumeCalculator< TInputMesh >::SimplexCellVisitor::Visit(), and itk::SimplexMeshToTriangleMeshFilter< TInputMesh, TOutputMesh >::SimplexCellVisitor::Visit().
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfVertices | ( | void | ) | const [virtual] |
Polygon-specific interface.
virtual CellGeometry itk::PolygonCell< TCellInterface >::GetType | ( | void | ) | const [inline, virtual] |
Implement the standard CellInterface.
Definition at line 76 of file itkPolygonCell.h.
virtual bool itk::PolygonCell< TCellInterface >::GetVertex | ( | CellFeatureIdentifier | , | |
VertexAutoPointer & | ||||
) | [virtual] |
Polygon-specific interface.
itk::PolygonCell< TCellInterface >::itkCellCommonTypedefs | ( | PolygonCell< TCellInterface > | ) |
Standard class typedefs.
itk::PolygonCell< TCellInterface >::itkCellInheritedTypedefs | ( | TCellInterface | ) |
Standard class typedefs.
itk::PolygonCell< TCellInterface >::itkCellVisitMacro | ( | Superclass::POLYGON_CELL | ) |
Need to add POLYGON_CELL into CellInterface.
virtual void itk::PolygonCell< TCellInterface >::MakeCopy | ( | CellAutoPointer & | ) | const [virtual] |
Implement the standard CellInterface.
virtual PointIdConstIterator itk::PolygonCell< TCellInterface >::PointIdsBegin | ( | void | ) | const [virtual] |
virtual PointIdIterator itk::PolygonCell< TCellInterface >::PointIdsBegin | ( | void | ) | [virtual] |
virtual PointIdConstIterator itk::PolygonCell< TCellInterface >::PointIdsEnd | ( | void | ) | const [virtual] |
virtual PointIdIterator itk::PolygonCell< TCellInterface >::PointIdsEnd | ( | void | ) | [virtual] |
void itk::PolygonCell< TCellInterface >::RemovePointId | ( | PointIdentifier | ) |
virtual void itk::PolygonCell< TCellInterface >::SetPointId | ( | int | localId, | |
PointIdentifier | ||||
) | [virtual] |
void itk::PolygonCell< TCellInterface >::SetPointIds | ( | int | dummy, | |
int | num, | |||
PointIdConstIterator | first | |||
) |
virtual void itk::PolygonCell< TCellInterface >::SetPointIds | ( | PointIdConstIterator | first | ) | [virtual] |
virtual void itk::PolygonCell< TCellInterface >::SetPointIds | ( | PointIdConstIterator | first, | |
PointIdConstIterator | last | |||
) | [virtual] |
const unsigned int itk::PolygonCell< TCellInterface >::CellDimension = 2 [static] |
Save some template parameter information.
Definition at line 59 of file itkPolygonCell.h.
std::vector<EdgeInfo> itk::PolygonCell< TCellInterface >::m_Edges [protected] |
Definition at line 123 of file itkPolygonCell.h.
std::vector<PointIdentifier> itk::PolygonCell< TCellInterface >::m_PointIds [protected] |
Definition at line 124 of file itkPolygonCell.h.