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

using VertexAutoPointer = typename VertexType::SelfAutoPointer
 
using VertexType = VertexCell< TCellInterface >
 

Public Member Functions

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

Static Public Attributes

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

Protected Attributes

PointIdentifier m_PointIds [NumberOfPoints]
 

Member Typedef Documentation

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

Definition at line 57 of file itkLineCell.h.

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

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

Definition at line 99 of file itkLineCell.h.

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

Member Function Documentation

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

Standard part of every itk Object.

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

Line-specific interface.

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

Implement the standard CellInterface.

Definition at line 65 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 type aliases.

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

Standard class type aliases.

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

Visitor interface

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

Implement the standard CellInterface.

template<typename TCellInterface >
PointIdIterator itk::LineCell< TCellInterface >::PointIdsBegin ( )
override
template<typename TCellInterface >
PointIdConstIterator itk::LineCell< TCellInterface >::PointIdsBegin ( ) const
override
template<typename TCellInterface >
PointIdIterator itk::LineCell< TCellInterface >::PointIdsEnd ( )
override
template<typename TCellInterface >
PointIdConstIterator itk::LineCell< TCellInterface >::PointIdsEnd ( ) const
override
template<typename TCellInterface >
void itk::LineCell< TCellInterface >::SetPointId ( int  localId,
PointIdentifier   
)
override
template<typename TCellInterface >
void itk::LineCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first)
override
template<typename TCellInterface >
void itk::LineCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first,
PointIdConstIterator  last 
)
override

Member Data Documentation

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

Definition at line 62 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 111 of file itkLineCell.h.

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

Line-specific topology numbers.

Definition at line 60 of file itkLineCell.h.

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

Definition at line 61 of file itkLineCell.h.


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