18 #ifndef itkTetrahedronCell_h
19 #define itkTetrahedronCell_h
39 template <
typename TCellInterface>
41 :
public TCellInterface
68 static constexpr
unsigned int NumberOfPoints = 4;
69 static constexpr
unsigned int NumberOfVertices = 4;
70 static constexpr
unsigned int NumberOfEdges = 6;
71 static constexpr
unsigned int NumberOfFaces = 4;
72 static constexpr
unsigned int CellDimension = 3;
83 MakeCopy(CellAutoPointer &)
const override;
88 GetDimension()
const override;
92 GetNumberOfPoints()
const override;
96 GetNumberOfBoundaryFeatures(
int dimension)
const override;
102 GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &)
override;
108 SetPointIds(PointIdConstIterator first)
override;
115 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
119 SetPointId(
int localId, PointIdentifier)
override;
123 PointIdsBegin()
override;
127 PointIdsBegin()
const override;
131 PointIdsEnd()
override;
135 PointIdsEnd()
const override;
140 virtual CellFeatureCount
141 GetNumberOfVertices()
const;
144 virtual CellFeatureCount
145 GetNumberOfEdges()
const;
148 virtual CellFeatureCount
149 GetNumberOfFaces()
const;
155 GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
161 GetEdge(CellFeatureIdentifier, EdgeAutoPointer &);
167 GetFace(CellFeatureIdentifier, FaceAutoPointer &);
173 EvaluatePosition(CoordRepType *,
178 InterpolationWeightType *)
override;
187 std::array<PointIdentifier, NumberOfPoints> m_PointIds{ MakeFilled<std::array<PointIdentifier, NumberOfPoints>>(
192 #ifndef ITK_MANUAL_INSTANTIATION
193 # include "itkTetrahedronCell.hxx"