18 #ifndef __itkQuadraticEdgeCell_h
19 #define __itkQuadraticEdgeCell_h
36 template<
typename TCellInterface >
53 itkStaticConstMacro(NumberOfPoints,
unsigned int, 3);
54 itkStaticConstMacro(NumberOfVertices,
unsigned int, 2);
55 itkStaticConstMacro(CellDimension,
unsigned int, 1);
59 virtual CellGeometry GetType(
void)
const
60 {
return Superclass::QUADRATIC_EDGE_CELL; }
61 virtual void MakeCopy(CellAutoPointer &)
const;
64 virtual unsigned int GetDimension(
void)
const;
66 virtual unsigned int GetNumberOfPoints(
void)
const;
68 virtual CellFeatureCount GetNumberOfBoundaryFeatures(
int dimension)
const;
70 virtual bool GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &);
71 virtual void SetPointIds(PointIdConstIterator first);
73 virtual void SetPointIds(PointIdConstIterator first,
74 PointIdConstIterator last);
76 virtual void SetPointId(
int localId, PointIdentifier);
77 virtual PointIdIterator PointIdsBegin(
void);
79 virtual PointIdConstIterator PointIdsBegin(
void)
const;
81 virtual PointIdIterator PointIdsEnd(
void);
83 virtual PointIdConstIterator PointIdsEnd(
void)
const;
86 virtual CellFeatureCount GetNumberOfVertices(
void)
const;
88 virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
95 for ( PointIdentifier i = 0; i < itkGetStaticConstMacro(NumberOfPoints); i++ )
105 virtual void EvaluateShapeFunctions(
106 const ParametricCoordArrayType & parametricCoordinates,
107 ShapeFunctionsArrayType & weights)
const;
111 PointIdentifier m_PointIds[NumberOfPoints];
115 void operator=(
const Self &);
119 #ifndef ITK_MANUAL_INSTANTIATION
120 #include "itkQuadraticEdgeCell.hxx"