ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes | 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

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 () override
 
 itkCellCommonTypedefs (LineCell)
 
 itkCellInheritedTypedefs (TCellInterface)
 
virtual CellGeometry GetType (void) const override
 
virtual void MakeCopy (CellAutoPointer &) const override
 

Static Public Attributes

static const unsigned int NumberOfPoints = 2
 
static const unsigned int NumberOfVertices = 2
 
static const unsigned int CellDimension = 1
 

Protected Attributes

PointIdentifier m_PointIds [NumberOfPoints]
 

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.

Constructor & Destructor Documentation

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

Definition at line 98 of file itkLineCell.h.

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

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

Definition at line 106 of file itkLineCell.h.

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 64 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 >
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 >
const unsigned int itk::LineCell< TCellInterface >::CellDimension = 1
static

Line-specific topology numbers.

Definition at line 60 of file itkLineCell.h.

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

Store number of points needed for a line segment.

Definition at line 110 of file itkLineCell.h.

template<typename TCellInterface >
const unsigned int itk::LineCell< TCellInterface >::NumberOfPoints = 2
static

Line-specific topology numbers.

Definition at line 58 of file itkLineCell.h.

template<typename TCellInterface >
const unsigned int itk::LineCell< TCellInterface >::NumberOfVertices = 2
static

Line-specific topology numbers.

Definition at line 59 of file itkLineCell.h.


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