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;
81 MakeCopy(CellAutoPointer &)
const override;
85 GetDimension()
const override;
88 GetNumberOfPoints()
const override;
91 GetNumberOfBoundaryFeatures(
int dimension)
const override;
94 GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &)
override;
96 SetPointIds(PointIdConstIterator first)
override;
99 SetPointIds(PointIdConstIterator first, PointIdConstIterator last)
override;
102 SetPointId(
int localId, PointIdentifier)
override;
104 PointIdsBegin()
override;
107 PointIdsBegin()
const override;
110 PointIdsEnd()
override;
113 PointIdsEnd()
const override;
116 virtual CellFeatureCount
117 GetNumberOfVertices()
const;
119 virtual CellFeatureCount
120 GetNumberOfEdges()
const;
122 virtual CellFeatureCount
123 GetNumberOfFaces()
const;
126 GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
128 GetEdge(CellFeatureIdentifier, EdgeAutoPointer &);
130 GetFace(CellFeatureIdentifier, FaceAutoPointer &);
136 EvaluatePosition(CoordRepType *,
141 InterpolationWeightType *)
override;
150 std::array<PointIdentifier, NumberOfPoints> m_PointIds{ MakeFilled<std::array<PointIdentifier, NumberOfPoints>>(
155 #ifndef ITK_MANUAL_INSTANTIATION
156 # include "itkTetrahedronCell.hxx"