18 #ifndef itkVertexCell_h
19 #define itkVertexCell_h
38 template<
typename TCellInterface >
39 class ITK_TEMPLATE_EXPORT
VertexCell:
public TCellInterface
53 static constexpr
unsigned int NumberOfPoints = 1;
54 static constexpr
unsigned int CellDimension = 0;
58 {
return Superclass::VERTEX_CELL; }
59 void MakeCopy(CellAutoPointer &)
const override;
62 unsigned int GetDimension()
const override;
64 unsigned int GetNumberOfPoints()
const override;
66 CellFeatureCount GetNumberOfBoundaryFeatures(
int dimension)
const override;
68 bool GetBoundaryFeature(
int dimension, CellFeatureIdentifier,
69 CellAutoPointer &)
override;
70 void SetPointIds(PointIdConstIterator first)
override;
72 void SetPointIds(PointIdConstIterator first,
73 PointIdConstIterator last)
override;
75 void SetPointId(
int localId, PointIdentifier)
override;
76 PointIdIterator PointIdsBegin()
override;
78 PointIdConstIterator PointIdsBegin()
const override;
80 PointIdIterator PointIdsEnd()
override;
82 PointIdConstIterator PointIdsEnd()
const override;
85 virtual void SetPointId(PointIdentifier);
86 virtual PointIdentifier GetPointId();
93 bool EvaluatePosition(CoordRepType *,
98 InterpolationWeightType *)
override;
103 for ( PointIdentifier i = 0; i < Self::NumberOfPoints; i++ )
115 PointIdentifier m_PointIds[NumberOfPoints];
119 #ifndef ITK_MANUAL_INSTANTIATION
120 #include "itkVertexCell.hxx"
Define numeric traits for std::vector.
An abstract interface for cells.
#define itkCellCommonTypedefs(celltype)
CellGeometry GetType() const override
Represents a single vertex for a Mesh.
#define itkCellVisitMacro(TopologyId)
#define itkCellInheritedTypedefs(superclassArg)