18 #ifndef __itkVertexCell_h
19 #define __itkVertexCell_h
38 template<
typename TCellInterface >
51 itkStaticConstMacro(NumberOfPoints,
unsigned int, 1);
52 itkStaticConstMacro(CellDimension,
unsigned int, 0);
56 virtual CellGeometry GetType(
void)
const
57 {
return Superclass::VERTEX_CELL; }
58 virtual void MakeCopy(CellAutoPointer &)
const;
63 virtual unsigned int GetNumberOfPoints(
void)
const;
65 virtual CellFeatureCount GetNumberOfBoundaryFeatures(
int dimension)
const;
67 virtual bool GetBoundaryFeature(
int dimension, CellFeatureIdentifier,
69 virtual void SetPointIds(PointIdConstIterator first);
71 virtual void SetPointIds(PointIdConstIterator first,
72 PointIdConstIterator last);
74 virtual void SetPointId(
int localId, PointIdentifier);
75 virtual PointIdIterator PointIdsBegin(
void);
77 virtual PointIdConstIterator PointIdsBegin(
void)
const;
79 virtual PointIdIterator PointIdsEnd(
void);
81 virtual PointIdConstIterator PointIdsEnd(
void)
const;
84 virtual void SetPointId(PointIdentifier);
85 virtual PointIdentifier GetPointId(
void);
92 virtual bool EvaluatePosition(CoordRepType *,
97 InterpolationWeightType *);
101 for ( PointIdentifier i = 0; i < itkGetStaticConstMacro(NumberOfPoints); i++ )
113 PointIdentifier m_PointIds[NumberOfPoints];
116 void operator=(
const Self &);
121 #ifndef ITK_MANUAL_INSTANTIATION
122 #include "itkVertexCell.hxx"