18 #ifndef itkQuadrilateralCell_h 19 #define itkQuadrilateralCell_h 38 template<
typename TCellInterface >
67 virtual CellGeometry
GetType(
void) const ITK_OVERRIDE
68 {
return Superclass::QUADRILATERAL_CELL; }
69 virtual void MakeCopy(CellAutoPointer &)
const ITK_OVERRIDE;
72 virtual unsigned int GetDimension(
void)
const ITK_OVERRIDE;
78 virtual bool GetBoundaryFeature(
int dimension, CellFeatureIdentifier, CellAutoPointer &) ITK_OVERRIDE;
79 virtual void SetPointIds(PointIdConstIterator first) ITK_OVERRIDE;
81 virtual void SetPointIds(PointIdConstIterator first,
82 PointIdConstIterator last) ITK_OVERRIDE;
84 virtual void SetPointId(
int localId, PointIdentifier) ITK_OVERRIDE;
87 virtual PointIdConstIterator
PointIdsBegin(
void)
const ITK_OVERRIDE;
89 virtual PointIdIterator
PointIdsEnd(
void) ITK_OVERRIDE;
91 virtual PointIdConstIterator
PointIdsEnd(
void)
const ITK_OVERRIDE;
98 virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &);
99 virtual bool GetEdge(CellFeatureIdentifier, EdgeAutoPointer &);
103 PointsContainer * points,
104 CoordRepType * closestPoint,
107 InterpolationWeightType * weight) ITK_OVERRIDE;
115 for ( PointIdentifier i = 0; i < itkGetStaticConstMacro(
NumberOfPoints); i++ )
130 void EvaluateLocation(
int &itkNotUsed(subId),
const PointsContainer * points,
const CoordRepType pointCoords[PointDimension],
131 CoordRepType x[PointDimension], InterpolationWeightType * weights);
135 void operator=(const Self &) ITK_DELETE_FUNCTION;
139 #ifndef ITK_MANUAL_INSTANTIATION 140 #include "itkQuadrilateralCell.hxx" virtual void SetPointIds(PointIdConstIterator first) override
void InterpolationDerivs(const CoordRepType pointCoords[CellDimension], CoordRepType derivs[NumberOfDerivatives])
virtual void MakeCopy(CellAutoPointer &) const override
static const unsigned int NumberOfPoints
Represents a line segment for a Mesh.
static const unsigned int NumberOfDerivatives
virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &)
VertexType::SelfAutoPointer VertexAutoPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual void SetPointId(int localId, PointIdentifier) override
Holds data defining the topological connections of the vertices and edges of a QuadrilateralCell.
itkCellCommonTypedefs(QuadrilateralCell)
An abstract interface for cells.
void InterpolationFunctions(const CoordRepType pointCoords[CellDimension], InterpolationWeightType weights[NumberOfPoints])
virtual PointIdIterator PointIdsBegin(void) override
virtual bool EvaluatePosition(CoordRepType *position, PointsContainer *points, CoordRepType *closestPoint, CoordRepType[CellDimension], double *dist2, InterpolationWeightType *weight) override
static ITK_CONSTEXPR_FUNC T max(const T &)
static const unsigned int NumberOfVertices
itkCellInheritedTypedefs(TCellInterface)
static const unsigned int NumberOfEdges
void EvaluateLocation(int &, const PointsContainer *points, const CoordRepType pointCoords[PointDimension], CoordRepType x[PointDimension], InterpolationWeightType *weights)
virtual bool GetEdge(CellFeatureIdentifier, EdgeAutoPointer &)
static const unsigned int CellDimension
EdgeType::SelfAutoPointer EdgeAutoPointer
LineCell< TCellInterface > EdgeType
virtual CellFeatureCount GetNumberOfEdges() const
virtual CellFeatureCount GetNumberOfVertices() const
Represents a single vertex for a Mesh.
virtual unsigned int GetDimension(void) const override
virtual CellGeometry GetType(void) const override
virtual PointIdIterator PointIdsEnd(void) override
virtual CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const override
virtual bool GetBoundaryFeature(int dimension, CellFeatureIdentifier, CellAutoPointer &) override
virtual unsigned int GetNumberOfPoints(void) const override
Represents a quadrilateral for a Mesh.
itkCellVisitMacro(Superclass::QUADRILATERAL_CELL)
VertexCell< TCellInterface > VertexType
PointIdentifier m_PointIds[NumberOfPoints]