Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Protected Attributes | Static Private Attributes

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

#include <itkTriangleCell.h>

Inheritance diagram for itk::TriangleCell< TCellInterface >:
Inheritance graph
[legend]
Collaboration diagram for itk::TriangleCell< TCellInterface >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef EdgeType::SelfAutoPointer EdgeAutoPointer
typedef LineCell< TCellInterface > EdgeType
typedef VertexType::SelfAutoPointer VertexAutoPointer
typedef VertexCell
< TCellInterface > 
VertexType

Public Member Functions

CoordRepType ComputeArea (PointsContainer *)
PointType ComputeBarycenter (CoordRepType *, PointsContainer *)
PointType ComputeCenterOfGravity (PointsContainer *)
PointType ComputeCircumCenter (PointsContainer *)
virtual bool EvaluatePosition (CoordRepType *, PointsContainer *, CoordRepType *, CoordRepType[], double *, InterpolationWeightType *)
virtual const char * GetNameOfClass () const
 itkCellVisitMacro (Superclass::TRIANGLE_CELL)
 TriangleCell ()
 ~TriangleCell ()

 itkCellCommonTypedefs (TriangleCell)
 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 void SetPointIds (PointIdConstIterator first)
virtual void SetPointIds (PointIdConstIterator first, PointIdConstIterator last)
virtual void SetPointId (int localId, PointIdentifier)
virtual PointIdIterator PointIdsBegin (void)
virtual PointIdConstIterator PointIdsBegin (void) const
virtual PointIdIterator PointIdsEnd (void)
virtual PointIdConstIterator PointIdsEnd (void) const

virtual CellFeatureCount GetNumberOfVertices (void) const
virtual CellFeatureCount GetNumberOfEdges (void) const
virtual bool GetVertex (CellFeatureIdentifier, VertexAutoPointer &)
virtual bool GetEdge (CellFeatureIdentifier, EdgeAutoPointer &)

Static Public Attributes

static const unsigned int NumberOfPoints = 3
static const unsigned int NumberOfVertices = 3
static const unsigned int NumberOfEdges = 3
static const unsigned int CellDimension = 2

Protected Attributes

std::vector< PointIdentifier > m_PointIds

Static Private Attributes

static const int m_Edges [3][2]

Detailed Description

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

TriangleCell represents a triangle for a Mesh.

Template parameters for TriangleCell:

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 45 of file itkTriangleCell.h.


Member Typedef Documentation

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

Definition at line 63 of file itkTriangleCell.h.

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

The type of boundary for this triangle's edges.

Definition at line 62 of file itkTriangleCell.h.

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

Definition at line 59 of file itkTriangleCell.h.

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

The type of boundary for this triangle's vertices.

Definition at line 55 of file itkTriangleCell.h.


Constructor & Destructor Documentation

template<typename TCellInterface >
itk::TriangleCell< TCellInterface >::TriangleCell (  )  [inline]

Definition at line 118 of file itkTriangleCell.h.

template<typename TCellInterface >
itk::TriangleCell< TCellInterface >::~TriangleCell (  )  [inline]

Definition at line 121 of file itkTriangleCell.h.


Member Function Documentation

template<typename TCellInterface >
CoordRepType itk::TriangleCell< TCellInterface >::ComputeArea ( PointsContainer *   ) 

Compute Area to a TriangleCell given a PointsContainer.

template<typename TCellInterface >
PointType itk::TriangleCell< TCellInterface >::ComputeBarycenter ( CoordRepType *  ,
PointsContainer *   
)
template<typename TCellInterface >
PointType itk::TriangleCell< TCellInterface >::ComputeCenterOfGravity ( PointsContainer *   ) 
template<typename TCellInterface >
PointType itk::TriangleCell< TCellInterface >::ComputeCircumCenter ( PointsContainer *   ) 
template<typename TCellInterface >
virtual bool itk::TriangleCell< TCellInterface >::EvaluatePosition ( CoordRepType *  ,
PointsContainer *  ,
CoordRepType *  ,
CoordRepType  [],
double *  ,
InterpolationWeightType *   
) [virtual]
template<typename TCellInterface >
virtual bool itk::TriangleCell< TCellInterface >::GetBoundaryFeature ( int  dimension,
CellFeatureIdentifier  ,
CellAutoPointer &   
) [virtual]

Implement the standard CellInterface.

template<typename TCellInterface >
virtual unsigned int itk::TriangleCell< TCellInterface >::GetDimension ( void   )  const [virtual]

Implement the standard CellInterface.

template<typename TCellInterface >
virtual bool itk::TriangleCell< TCellInterface >::GetEdge ( CellFeatureIdentifier  ,
EdgeAutoPointer  
) [virtual]

Triangle-specific interface.

template<typename TCellInterface >
virtual const char* itk::TriangleCell< TCellInterface >::GetNameOfClass (  )  const [virtual]

Standard part of every itk Object.

template<typename TCellInterface >
virtual CellFeatureCount itk::TriangleCell< TCellInterface >::GetNumberOfBoundaryFeatures ( int  dimension  )  const [virtual]

Implement the standard CellInterface.

template<typename TCellInterface >
virtual CellFeatureCount itk::TriangleCell< TCellInterface >::GetNumberOfEdges ( void   )  const [virtual]

Triangle-specific interface.

template<typename TCellInterface >
virtual unsigned int itk::TriangleCell< TCellInterface >::GetNumberOfPoints ( void   )  const [virtual]

Implement the standard CellInterface.

template<typename TCellInterface >
virtual CellFeatureCount itk::TriangleCell< TCellInterface >::GetNumberOfVertices ( void   )  const [virtual]

Triangle-specific interface.

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

Implement the standard CellInterface.

Definition at line 73 of file itkTriangleCell.h.

template<typename TCellInterface >
virtual bool itk::TriangleCell< TCellInterface >::GetVertex ( CellFeatureIdentifier  ,
VertexAutoPointer  
) [virtual]

Triangle-specific interface.

template<typename TCellInterface >
itk::TriangleCell< TCellInterface >::itkCellCommonTypedefs ( TriangleCell< TCellInterface >   ) 

Standard class typedefs.

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

Standard class typedefs.

template<typename TCellInterface >
itk::TriangleCell< TCellInterface >::itkCellVisitMacro ( Superclass::TRIANGLE_CELL   ) 

Cell visitor interface.

template<typename TCellInterface >
virtual void itk::TriangleCell< TCellInterface >::MakeCopy ( CellAutoPointer &   )  const [virtual]

Implement the standard CellInterface.

template<typename TCellInterface >
virtual PointIdIterator itk::TriangleCell< TCellInterface >::PointIdsBegin ( void   )  [virtual]

Implement the standard CellInterface.

template<typename TCellInterface >
virtual PointIdConstIterator itk::TriangleCell< TCellInterface >::PointIdsBegin ( void   )  const [virtual]

Implement the standard CellInterface.

template<typename TCellInterface >
virtual PointIdConstIterator itk::TriangleCell< TCellInterface >::PointIdsEnd ( void   )  const [virtual]

Implement the standard CellInterface.

template<typename TCellInterface >
virtual PointIdIterator itk::TriangleCell< TCellInterface >::PointIdsEnd ( void   )  [virtual]

Implement the standard CellInterface.

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

Implement the standard CellInterface.

template<typename TCellInterface >
virtual void itk::TriangleCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first  )  [virtual]

Implement the standard CellInterface.

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

Implement the standard CellInterface.


Member Data Documentation

template<typename TCellInterface >
const unsigned int itk::TriangleCell< TCellInterface >::CellDimension = 2 [static]

Triangle-specific topology numbers.

Definition at line 69 of file itkTriangleCell.h.

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

Store the number of points needed for a triangle.

Definition at line 125 of file itkTriangleCell.h.

template<typename TCellInterface >
const unsigned int itk::TriangleCell< TCellInterface >::NumberOfEdges = 3 [static]

Triangle-specific topology numbers.

Definition at line 68 of file itkTriangleCell.h.

template<typename TCellInterface >
const unsigned int itk::TriangleCell< TCellInterface >::NumberOfPoints = 3 [static]

Triangle-specific topology numbers.

Definition at line 66 of file itkTriangleCell.h.

template<typename TCellInterface >
const unsigned int itk::TriangleCell< TCellInterface >::NumberOfVertices = 3 [static]

Triangle-specific topology numbers.

Definition at line 67 of file itkTriangleCell.h.


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

Generated at Tue Jul 13 2010 02:51:16 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000