Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::PolygonCell< TCellInterface > Class Template Reference
[Mesh Representation Objects]

#include <itkPolygonCell.h>

Inheritance diagram for itk::PolygonCell:

Inheritance graph
[legend]
List of all members.

Public Types

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

Public Methods

virtual const char * GetClassName () const
 itkStaticConstMacro (CellDimension, unsigned int, 2)
 itkCellVisitMacro (POLYGON_CELL)
virtual void SetPointIds (PointIdConstIterator first)
virtual void SetPointIds (PointIdConstIterator first, PointIdConstIterator last)
void AddPointId (PointIdentifier)
void SetPointIds (int dummy, int num, PointIdConstIterator first)
void BuildEdges (void)
void ClearPoints (void)
virtual void SetPointId (int localId, PointIdentifier)
virtual PointIdIterator PointIdsBegin (void)
virtual PointIdConstIterator PointIdsBegin (void) const
virtual PointIdIterator PointIdsEnd (void)
virtual PointIdConstIterator PointIdsEnd (void) const
 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 ()

Protected Attributes

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

Detailed Description

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

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 49 of file itkPolygonCell.h.


Member Typedef Documentation

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

Definition at line 69 of file itkPolygonCell.h.

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

Definition at line 71 of file itkPolygonCell.h.

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

Definition at line 72 of file itkPolygonCell.h.

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

The type of boundary for this triangle's edges.

Definition at line 68 of file itkPolygonCell.h.

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

Definition at line 65 of file itkPolygonCell.h.

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

The type of boundary for this triangle's vertices.

Definition at line 64 of file itkPolygonCell.h.


Constructor & Destructor Documentation

template<typename TCellInterface>
itk::PolygonCell< TCellInterface >::PolygonCell   [inline]
 

Constructor and destructor

Definition at line 111 of file itkPolygonCell.h.

template<typename TCellInterface>
itk::PolygonCell< TCellInterface >::~PolygonCell   [inline]
 

Constructor and destructor

Definition at line 112 of file itkPolygonCell.h.

References itk::PolygonCell< TCellInterface >::m_Edges, and itk::PolygonCell< TCellInterface >::m_PointIds.


Member Function Documentation

template<typename TCellInterface>
void itk::PolygonCell< TCellInterface >::AddPointId PointIdentifier   
 

template<typename TCellInterface>
void itk::PolygonCell< TCellInterface >::BuildEdges void   
 

template<typename TCellInterface>
void itk::PolygonCell< TCellInterface >::ClearPoints void   
 

template<typename TCellInterface>
virtual bool itk::PolygonCell< TCellInterface >::GetBoundaryFeature int    dimension,
CellFeatureIdentifier   ,
CellAutoPointer &   
[virtual]
 

Implement the standard CellInterface.

template<typename TCellInterface>
virtual const char* itk::PolygonCell< TCellInterface >::GetClassName   const [virtual]
 

Standard part of every itk Object.

Reimplemented in itk::PolygonBoundary< TCellInterface >, and itk::CellBoundary< PolygonCell< TCellInterface > >.

template<typename TCellInterface>
virtual unsigned int itk::PolygonCell< TCellInterface >::GetDimension void    const [virtual]
 

Implement the standard CellInterface.

template<typename TCellInterface>
virtual bool itk::PolygonCell< TCellInterface >::GetEdge CellFeatureIdentifier   ,
EdgeAutoPointer  
[virtual]
 

Polygon-specific interface.

template<typename TCellInterface>
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfBoundaryFeatures int    dimension const [virtual]
 

Implement the standard CellInterface.

template<typename TCellInterface>
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfEdges void    const [virtual]
 

Polygon-specific interface.

template<typename TCellInterface>
virtual unsigned int itk::PolygonCell< TCellInterface >::GetNumberOfPoints void    const [virtual]
 

Implement the standard CellInterface.

template<typename TCellInterface>
virtual CellFeatureCount itk::PolygonCell< TCellInterface >::GetNumberOfVertices void    const [virtual]
 

Polygon-specific interface.

template<typename TCellInterface>
virtual CellGeometry itk::PolygonCell< TCellInterface >::GetType void    const [inline, virtual]
 

Implement the standard CellInterface.

Definition at line 78 of file itkPolygonCell.h.

template<typename TCellInterface>
virtual bool itk::PolygonCell< TCellInterface >::GetVertex CellFeatureIdentifier   ,
VertexAutoPointer  
[virtual]
 

Polygon-specific interface.

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

Standard class typedefs.

Reimplemented in itk::PolygonBoundary< TCellInterface >.

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

Standard class typedefs.

template<typename TCellInterface>
itk::PolygonCell< TCellInterface >::itkCellVisitMacro POLYGON_CELL   
 

Need to add POLYGON_CELL into CellInterface.

template<typename TCellInterface>
itk::PolygonCell< TCellInterface >::itkStaticConstMacro CellDimension   ,
unsigned    int,
 
 

Save some template parameter information.

template<typename TCellInterface>
virtual void itk::PolygonCell< TCellInterface >::MakeCopy CellAutoPointer &    const [virtual]
 

Implement the standard CellInterface.

template<typename TCellInterface>
virtual PointIdConstIterator itk::PolygonCell< TCellInterface >::PointIdsBegin void    const [virtual]
 

template<typename TCellInterface>
virtual PointIdIterator itk::PolygonCell< TCellInterface >::PointIdsBegin void    [virtual]
 

template<typename TCellInterface>
virtual PointIdConstIterator itk::PolygonCell< TCellInterface >::PointIdsEnd void    const [virtual]
 

template<typename TCellInterface>
virtual PointIdIterator itk::PolygonCell< TCellInterface >::PointIdsEnd void    [virtual]
 

template<typename TCellInterface>
virtual void itk::PolygonCell< TCellInterface >::SetPointId int    localId,
PointIdentifier   
[virtual]
 

template<typename TCellInterface>
void itk::PolygonCell< TCellInterface >::SetPointIds int    dummy,
int    num,
PointIdConstIterator    first
 

template<typename TCellInterface>
virtual void itk::PolygonCell< TCellInterface >::SetPointIds PointIdConstIterator    first,
PointIdConstIterator    last
[virtual]
 

template<typename TCellInterface>
virtual void itk::PolygonCell< TCellInterface >::SetPointIds PointIdConstIterator    first [virtual]
 


Member Data Documentation

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

Definition at line 116 of file itkPolygonCell.h.

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

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

Definition at line 117 of file itkPolygonCell.h.

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


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:37:50 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000