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

#include <itkLineCell.h>

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

Detailed Description

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

Represents a line segment for a Mesh.

LineCell represents a line segment for a Mesh.

Template parameters for LineCell:

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 42 of file itkLineCell.h.

Public Types

enum  {
  NumberOfPoints = 2,
  NumberOfVertices = 2,
  CellDimension = 1
}
 
typedef VertexType::SelfAutoPointer VertexAutoPointer
 
typedef VertexCell
< TCellInterface > 
VertexType
 

Public Member Functions

virtual bool GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &)
 
virtual unsigned int GetDimension (void) const
 
virtual const char * GetNameOfClass () const
 
virtual CellFeatureCount GetNumberOfBoundaryFeatures (int dimension) const
 
virtual unsigned int GetNumberOfPoints (void) const
 
virtual CellFeatureCount GetNumberOfVertices (void) const
 
virtual bool GetVertex (CellFeatureIdentifier, VertexAutoPointer &)
 
 itkCellVisitMacro (Superclass::LINE_CELL)
 
 LineCell ()
 
virtual PointIdIterator PointIdsBegin (void)
 
virtual PointIdConstIterator PointIdsBegin (void) const
 
virtual PointIdIterator PointIdsEnd (void)
 
virtual PointIdConstIterator PointIdsEnd (void) const
 
virtual void SetPointId (int localId, PointIdentifier)
 
virtual void SetPointIds (PointIdConstIterator first)
 
virtual void SetPointIds (PointIdConstIterator first, PointIdConstIterator last)
 
 ~LineCell ()
 
 itkCellCommonTypedefs (LineCell)
 
 itkCellInheritedTypedefs (TCellInterface)
 
virtual CellGeometry GetType (void) const
 
virtual void MakeCopy (CellAutoPointer &) const
 

Protected Attributes

PointIdentifier m_PointIds [NumberOfPoints]
 

Private Member Functions

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

Member Typedef Documentation

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

Definition at line 55 of file itkLineCell.h.

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

The type of boundary for this lines's vertices.

Definition at line 51 of file itkLineCell.h.

Member Enumeration Documentation

template<typename TCellInterface >
anonymous enum

Line-specific topology numbers.

Enumerator:
NumberOfPoints 
NumberOfVertices 
CellDimension 

Definition at line 58 of file itkLineCell.h.

Constructor & Destructor Documentation

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

Definition at line 97 of file itkLineCell.h.

References itk::NumericTraits< T >::max().

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

Definition at line 105 of file itkLineCell.h.

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

Member Function Documentation

template<typename TCellInterface >
virtual bool itk::LineCell< TCellInterface >::GetBoundaryFeature ( int  dimension,
CellFeatureIdentifier  ,
CellAutoPointer &   
)
virtual
template<typename TCellInterface >
virtual unsigned int itk::LineCell< TCellInterface >::GetDimension ( void  ) const
virtual
template<typename TCellInterface >
virtual const char* itk::LineCell< TCellInterface >::GetNameOfClass ( ) const
virtual

Standard part of every itk Object.

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

Line-specific interface.

template<typename TCellInterface >
virtual CellGeometry itk::LineCell< TCellInterface >::GetType ( void  ) const
inlinevirtual

Implement the standard CellInterface.

Definition at line 63 of file itkLineCell.h.

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

Standard class typedefs.

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

Standard class typedefs.

template<typename TCellInterface >
itk::LineCell< TCellInterface >::itkCellVisitMacro ( Superclass::LINE_CELL  )

Visitor interface

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

Implement the standard CellInterface.

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

Member Data Documentation

template<typename TCellInterface >
PointIdentifier itk::LineCell< TCellInterface >::m_PointIds[NumberOfPoints]
protected

Store number of points needed for a line segment.

Definition at line 109 of file itkLineCell.h.


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