ITK  4.8.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | Private Member Functions | List of all members
itk::PolygonCell< TCellInterface > Class Template Reference

#include <itkPolygonCell.h>

+ Inheritance diagram for itk::PolygonCell< TCellInterface >:
+ Collaboration diagram for itk::PolygonCell< TCellInterface >:

Detailed Description

template<typename TCellInterface>
class itk::PolygonCell< TCellInterface >

Represents a polygon in a Mesh.

PolygonCell represents a polygon for a Mesh. the points of the polygon can be dynamically changed.

Template Parameters
TPixelTypeThe type associated with a point, cell, or boundary for use in storing its data.
TCellTraitsType information of mesh containing cell.

Definition at line 53 of file itkPolygonCell.h.

Public Types

typedef EdgeType::SelfAutoPointer EdgeAutoPointer
 
typedef FixedArray< int, 2 > EdgeInfo
 
typedef std::deque< EdgeInfoEdgeInfoDQ
 
typedef LineCell< TCellInterface > EdgeType
 
typedef VertexType::SelfAutoPointer VertexAutoPointer
 
typedef VertexCell
< TCellInterface > 
VertexType
 

Public Member Functions

void AddPointId (PointIdentifier)
 
void BuildEdges ()
 
void ClearPoints ()
 
virtual bool GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &) override
 
virtual unsigned int GetDimension (void) const override
 
virtual bool GetEdge (CellFeatureIdentifier, EdgeAutoPointer &)
 
virtual const char * GetNameOfClass () const
 
virtual CellFeatureCount GetNumberOfBoundaryFeatures (int dimension) const override
 
virtual CellFeatureCount GetNumberOfEdges () const
 
virtual unsigned int GetNumberOfPoints (void) const override
 
virtual CellFeatureCount GetNumberOfVertices () const
 
virtual bool GetVertex (CellFeatureIdentifier, VertexAutoPointer &)
 
 itkCellVisitMacro (Superclass::POLYGON_CELL)
 
virtual PointIdIterator PointIdsBegin (void) override
 
virtual PointIdConstIterator PointIdsBegin (void) const override
 
virtual PointIdIterator PointIdsEnd (void) override
 
virtual PointIdConstIterator PointIdsEnd (void) const override
 
void RemovePointId (PointIdentifier)
 
virtual void SetPointId (int localId, PointIdentifier) override
 
virtual void SetPointIds (PointIdConstIterator first) override
 
virtual void SetPointIds (PointIdConstIterator first, PointIdConstIterator last) override
 
void SetPointIds (int dummy, int num, PointIdConstIterator first)
 
 ~PolygonCell ()
 
 itkCellCommonTypedefs (PolygonCell)
 
 itkCellInheritedTypedefs (TCellInterface)
 
virtual CellGeometry GetType (void) const override
 
virtual void MakeCopy (CellAutoPointer &) const override
 
 PolygonCell ()
 
 PolygonCell (PointIdentifier NumberOfPoints)
 

Static Public Attributes

static const unsigned int CellDimension = 2
 

Protected Attributes

std::vector< EdgeInfom_Edges
 
std::vector< PointIdentifier > m_PointIds
 

Private Member Functions

void operator= (const Self &)
 
 PolygonCell (const Self &)
 

Member Typedef Documentation

template<typename TCellInterface >
typedef EdgeType::SelfAutoPointer itk::PolygonCell< TCellInterface >::EdgeAutoPointer

Definition at line 73 of file itkPolygonCell.h.

template<typename TCellInterface >
typedef FixedArray< int, 2 > itk::PolygonCell< TCellInterface >::EdgeInfo

Definition at line 75 of file itkPolygonCell.h.

template<typename TCellInterface >
typedef std::deque< EdgeInfo > itk::PolygonCell< TCellInterface >::EdgeInfoDQ

Definition at line 76 of file itkPolygonCell.h.

template<typename TCellInterface >
typedef LineCell< TCellInterface > itk::PolygonCell< TCellInterface >::EdgeType

The type of boundary for this triangle's edges.

Definition at line 72 of file itkPolygonCell.h.

template<typename TCellInterface >
typedef VertexType::SelfAutoPointer itk::PolygonCell< TCellInterface >::VertexAutoPointer

Definition at line 69 of file itkPolygonCell.h.

template<typename TCellInterface >
typedef VertexCell< TCellInterface > itk::PolygonCell< TCellInterface >::VertexType

The type of boundary for this triangle's vertices.

Definition at line 68 of file itkPolygonCell.h.

Constructor & Destructor Documentation

template<typename TCellInterface >
itk::PolygonCell< TCellInterface >::PolygonCell ( )
inline

Constructor and destructor

Definition at line 126 of file itkPolygonCell.h.

template<typename TCellInterface >
itk::PolygonCell< TCellInterface >::PolygonCell ( PointIdentifier  NumberOfPoints)
inline

Constructor and destructor

Definition at line 127 of file itkPolygonCell.h.

References itk::PolygonCell< TCellInterface >::BuildEdges(), and itk::PolygonCell< TCellInterface >::m_PointIds.

template<typename TCellInterface >
itk::PolygonCell< TCellInterface >::~PolygonCell ( )
inline

Definition at line 137 of file itkPolygonCell.h.

template<typename TCellInterface >
itk::PolygonCell< TCellInterface >::PolygonCell ( const Self &  )
private

Member Function Documentation

template<typename TCellInterface >
void itk::PolygonCell< TCellInterface >::AddPointId ( PointIdentifier  )
template<typename TCellInterface >
void itk::PolygonCell< TCellInterface >::BuildEdges ( )
template<typename TCellInterface >
void itk::PolygonCell< TCellInterface >::ClearPoints ( )
template<typename TCellInterface >
virtual bool itk::PolygonCell< TCellInterface >::GetBoundaryFeature ( int  dimension,
CellFeatureIdentifier  ,
CellAutoPointer &   
)
overridevirtual
template<typename TCellInterface >
virtual unsigned int itk::PolygonCell< TCellInterface >::GetDimension ( void  ) const
overridevirtual
template<typename TCellInterface >
virtual bool itk::PolygonCell< TCellInterface >::GetEdge ( CellFeatureIdentifier  ,
EdgeAutoPointer  
)
virtual
template<typename TCellInterface >
virtual const char* itk::PolygonCell< TCellInterface >::GetNameOfClass ( ) const
virtual

Standard part of every itk Object.

template<typename TCellInterface >
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfBoundaryFeatures ( int  dimension) const
overridevirtual
template<typename TCellInterface >
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfEdges ( ) const
virtual
template<typename TCellInterface >
virtual unsigned int itk::PolygonCell< TCellInterface >::GetNumberOfPoints ( void  ) const
overridevirtual
template<typename TCellInterface >
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfVertices ( ) const
virtual

Polygon-specific interface.

template<typename TCellInterface >
virtual CellGeometry itk::PolygonCell< TCellInterface >::GetType ( void  ) const
inlineoverridevirtual

Implement the standard CellInterface.

Definition at line 82 of file itkPolygonCell.h.

template<typename TCellInterface >
virtual bool itk::PolygonCell< TCellInterface >::GetVertex ( CellFeatureIdentifier  ,
VertexAutoPointer  
)
virtual
template<typename TCellInterface >
itk::PolygonCell< TCellInterface >::itkCellCommonTypedefs ( PolygonCell< TCellInterface >  )

Standard class typedefs.

template<typename TCellInterface >
itk::PolygonCell< TCellInterface >::itkCellInheritedTypedefs ( TCellInterface  )

Standard class typedefs.

template<typename TCellInterface >
itk::PolygonCell< TCellInterface >::itkCellVisitMacro ( Superclass::POLYGON_CELL  )

Need to add POLYGON_CELL into CellInterface.

template<typename TCellInterface >
virtual void itk::PolygonCell< TCellInterface >::MakeCopy ( CellAutoPointer &  ) const
overridevirtual

Implement the standard CellInterface.

template<typename TCellInterface >
void itk::PolygonCell< TCellInterface >::operator= ( const Self &  )
private
template<typename TCellInterface >
virtual PointIdIterator itk::PolygonCell< TCellInterface >::PointIdsBegin ( void  )
overridevirtual
template<typename TCellInterface >
virtual PointIdConstIterator itk::PolygonCell< TCellInterface >::PointIdsBegin ( void  ) const
overridevirtual
template<typename TCellInterface >
virtual PointIdIterator itk::PolygonCell< TCellInterface >::PointIdsEnd ( void  )
overridevirtual
template<typename TCellInterface >
virtual PointIdConstIterator itk::PolygonCell< TCellInterface >::PointIdsEnd ( void  ) const
overridevirtual
template<typename TCellInterface >
void itk::PolygonCell< TCellInterface >::RemovePointId ( PointIdentifier  )
template<typename TCellInterface >
virtual void itk::PolygonCell< TCellInterface >::SetPointId ( int  localId,
PointIdentifier   
)
overridevirtual
template<typename TCellInterface >
virtual void itk::PolygonCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first)
overridevirtual
template<typename TCellInterface >
virtual void itk::PolygonCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first,
PointIdConstIterator  last 
)
overridevirtual
template<typename TCellInterface >
void itk::PolygonCell< TCellInterface >::SetPointIds ( int  dummy,
int  num,
PointIdConstIterator  first 
)

Member Data Documentation

template<typename TCellInterface >
const unsigned int itk::PolygonCell< TCellInterface >::CellDimension = 2
static

Save some template parameter information.

Definition at line 65 of file itkPolygonCell.h.

template<typename TCellInterface >
std::vector< EdgeInfo > itk::PolygonCell< TCellInterface >::m_Edges
protected

Definition at line 140 of file itkPolygonCell.h.

template<typename TCellInterface >
std::vector< PointIdentifier > itk::PolygonCell< TCellInterface >::m_PointIds
protected

Definition at line 141 of file itkPolygonCell.h.

Referenced by itk::PolygonCell< TCellInterface >::PolygonCell().


The documentation for this class was generated from the following file: