ITK  4.8.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.
Examples:
Examples/DataRepresentation/Mesh/Mesh2.cxx, Examples/DataRepresentation/Mesh/Mesh3.cxx, Examples/DataRepresentation/Mesh/MeshCellsIteration.cxx, Examples/DataRepresentation/Mesh/MeshCellVisitor.cxx, Examples/DataRepresentation/Mesh/MeshCellVisitor2.cxx, Examples/DataRepresentation/Mesh/MeshKComplex.cxx, Examples/DataRepresentation/Mesh/MeshPolyLine.cxx, Examples/DataRepresentation/Mesh/MeshTraits.cxx, WikiExamples/Meshes/AddPointsAndEdges.cxx, WikiExamples/Meshes/ConvertToVTK.cxx, and WikiExamples/Meshes/WishList/VTKPolyDataWriter.cxx.

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

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
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 &   
)
overridevirtual
template<typename TCellInterface >
virtual unsigned int itk::LineCell< TCellInterface >::GetDimension ( void  ) const
overridevirtual
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
overridevirtual
template<typename TCellInterface >
virtual unsigned int itk::LineCell< TCellInterface >::GetNumberOfPoints ( void  ) const
overridevirtual
template<typename TCellInterface >
virtual CellFeatureCount itk::LineCell< TCellInterface >::GetNumberOfVertices ( ) const
virtual

Line-specific interface.

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

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
overridevirtual

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  )
overridevirtual
template<typename TCellInterface >
virtual PointIdConstIterator itk::LineCell< TCellInterface >::PointIdsBegin ( void  ) const
overridevirtual
template<typename TCellInterface >
virtual PointIdIterator itk::LineCell< TCellInterface >::PointIdsEnd ( void  )
overridevirtual
template<typename TCellInterface >
virtual PointIdConstIterator itk::LineCell< TCellInterface >::PointIdsEnd ( void  ) const
overridevirtual
template<typename TCellInterface >
virtual void itk::LineCell< TCellInterface >::SetPointId ( int  localId,
PointIdentifier   
)
overridevirtual
template<typename TCellInterface >
virtual void itk::LineCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first)
overridevirtual
template<typename TCellInterface >
virtual void itk::LineCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first,
PointIdConstIterator  last 
)
overridevirtual

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.

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


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