ITK  5.3.0
Insight Toolkit
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 >:
using VertexType = VertexCell< TCellInterface >
 
using VertexAutoPointer = typename VertexType::SelfAutoPointer
 
static constexpr unsigned int NumberOfPoints = 2
 
static constexpr unsigned int NumberOfVertices = 2
 
static constexpr unsigned int CellDimension = 1
 
PointIdentifier m_PointIds [NumberOfPoints]
 
 itkCellCommonTypedefs (LineCell)
 
 itkCellInheritedTypedefs (TCellInterface)
 
virtual const char * GetNameOfClass () const
 
CellGeometryEnum GetType () const override
 
void MakeCopy (CellAutoPointer &) const override
 
unsigned int GetDimension () const override
 
unsigned int GetNumberOfPoints () const override
 
CellFeatureCount GetNumberOfBoundaryFeatures (int dimension) const override
 
bool GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &) override
 
void SetPointIds (PointIdConstIterator first) override
 
void SetPointIds (PointIdConstIterator first, PointIdConstIterator last) override
 
void SetPointId (int localId, PointIdentifier) override
 
PointIdIterator PointIdsBegin () override
 
PointIdConstIterator PointIdsBegin () const override
 
PointIdIterator PointIdsEnd () override
 
PointIdConstIterator PointIdsEnd () const override
 
virtual CellFeatureCount GetNumberOfVertices () const
 
virtual bool GetVertex (CellFeatureIdentifier, VertexAutoPointer &)
 
 itkCellVisitMacro (CellGeometryEnum::LINE_CELL)
 
 LineCell ()
 
 ~LineCell () override=default
 

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, SphinxExamples/src/Core/Mesh/AddPointsAndEdges/Code.cxx, SphinxExamples/src/Core/Mesh/ConvertMeshToUnstructeredGrid/Code.cxx, and SphinxExamples/src/Core/Mesh/WriteMeshToVTP/Code.cxx.

Definition at line 42 of file itkLineCell.h.

Member Typedef Documentation

◆ VertexAutoPointer

template<typename TCellInterface >
using itk::LineCell< TCellInterface >::VertexAutoPointer = typename VertexType::SelfAutoPointer

The type of boundary for this lines's vertices.

Definition at line 57 of file itkLineCell.h.

◆ VertexType

template<typename TCellInterface >
using itk::LineCell< TCellInterface >::VertexType = VertexCell<TCellInterface>

The type of boundary for this lines's vertices.

Definition at line 56 of file itkLineCell.h.

Constructor & Destructor Documentation

◆ LineCell()

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

The type of boundary for this lines's vertices.

Definition at line 115 of file itkLineCell.h.

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

◆ ~LineCell()

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

The type of boundary for this lines's vertices.

Member Function Documentation

◆ GetBoundaryFeature()

template<typename TCellInterface >
bool itk::LineCell< TCellInterface >::GetBoundaryFeature ( int  dimension,
CellFeatureIdentifier  ,
CellAutoPointer &   
)
override

The type of boundary for this lines's vertices.

◆ GetDimension()

template<typename TCellInterface >
unsigned int itk::LineCell< TCellInterface >::GetDimension ( ) const
override

The type of boundary for this lines's vertices.

◆ GetNameOfClass()

template<typename TCellInterface >
virtual const char* itk::LineCell< TCellInterface >::GetNameOfClass ( ) const
virtual

Standard part of every itk Object.

◆ GetNumberOfBoundaryFeatures()

template<typename TCellInterface >
CellFeatureCount itk::LineCell< TCellInterface >::GetNumberOfBoundaryFeatures ( int  dimension) const
override

The type of boundary for this lines's vertices.

◆ GetNumberOfPoints()

template<typename TCellInterface >
unsigned int itk::LineCell< TCellInterface >::GetNumberOfPoints ( ) const
override

The type of boundary for this lines's vertices.

◆ GetNumberOfVertices()

template<typename TCellInterface >
virtual CellFeatureCount itk::LineCell< TCellInterface >::GetNumberOfVertices ( ) const
virtual

Line-specific interface.

◆ GetType()

template<typename TCellInterface >
CellGeometryEnum itk::LineCell< TCellInterface >::GetType ( ) const
inlineoverride

Implement the standard CellInterface.

Definition at line 66 of file itkLineCell.h.

References itk::CommonEnums::LINE_CELL.

◆ GetVertex()

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

The type of boundary for this lines's vertices.

◆ itkCellCommonTypedefs()

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

Standard class type aliases.

◆ itkCellInheritedTypedefs()

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

The type of boundary for this lines's vertices.

◆ itkCellVisitMacro()

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

Visitor interface

◆ MakeCopy()

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

The type of boundary for this lines's vertices.

◆ PointIdsBegin() [1/2]

template<typename TCellInterface >
PointIdConstIterator itk::LineCell< TCellInterface >::PointIdsBegin ( ) const
override

The type of boundary for this lines's vertices.

◆ PointIdsBegin() [2/2]

template<typename TCellInterface >
PointIdIterator itk::LineCell< TCellInterface >::PointIdsBegin ( )
override

The type of boundary for this lines's vertices.

◆ PointIdsEnd() [1/2]

template<typename TCellInterface >
PointIdConstIterator itk::LineCell< TCellInterface >::PointIdsEnd ( ) const
override

The type of boundary for this lines's vertices.

◆ PointIdsEnd() [2/2]

template<typename TCellInterface >
PointIdIterator itk::LineCell< TCellInterface >::PointIdsEnd ( )
override

The type of boundary for this lines's vertices.

◆ SetPointId()

template<typename TCellInterface >
void itk::LineCell< TCellInterface >::SetPointId ( int  localId,
PointIdentifier   
)
override

◆ SetPointIds() [1/2]

template<typename TCellInterface >
void itk::LineCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first)
override

The type of boundary for this lines's vertices.

◆ SetPointIds() [2/2]

template<typename TCellInterface >
void itk::LineCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first,
PointIdConstIterator  last 
)
override

The type of boundary for this lines's vertices.

Member Data Documentation

◆ CellDimension

template<typename TCellInterface >
constexpr unsigned int itk::LineCell< TCellInterface >::CellDimension = 1
staticconstexpr

The type of boundary for this lines's vertices.

Definition at line 62 of file itkLineCell.h.

◆ m_PointIds

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

Store number of points needed for a line segment.

Definition at line 127 of file itkLineCell.h.

◆ NumberOfPoints

template<typename TCellInterface >
constexpr unsigned int itk::LineCell< TCellInterface >::NumberOfPoints = 2
staticconstexpr

Line-specific topology numbers.

Definition at line 60 of file itkLineCell.h.

◆ NumberOfVertices

template<typename TCellInterface >
constexpr unsigned int itk::LineCell< TCellInterface >::NumberOfVertices = 2
staticconstexpr

The type of boundary for this lines's vertices.

Definition at line 61 of file itkLineCell.h.


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