18 #ifndef itkTriangleCell_h
19 #define itkTriangleCell_h
44 template<
typename TCellInterface >
73 virtual CellGeometry
GetType(
void) const ITK_OVERRIDE
74 {
return Superclass::TRIANGLE_CELL; }
75 virtual void MakeCopy(CellAutoPointer &) const ITK_OVERRIDE;
78 virtual
unsigned int GetDimension(
void) const ITK_OVERRIDE;
85 CellAutoPointer &) ITK_OVERRIDE;
86 virtual
void SetPointIds(PointIdConstIterator first) ITK_OVERRIDE;
88 virtual
void SetPointIds(PointIdConstIterator first,
89 PointIdConstIterator last) ITK_OVERRIDE;
91 virtual
void SetPointId(
int localId, PointIdentifier) ITK_OVERRIDE;
94 virtual PointIdConstIterator
PointIdsBegin(
void) const ITK_OVERRIDE;
96 virtual PointIdIterator
PointIdsEnd(
void) ITK_OVERRIDE;
98 virtual PointIdConstIterator
PointIdsEnd(
void) const ITK_OVERRIDE;
113 InterpolationWeightType *) ITK_OVERRIDE;
145 double & t, CoordRepType *closestPoint);
148 double & t, PointType & closestPoint);
152 #ifndef ITK_MANUAL_INSTANTIATION
153 #include "itkTriangleCell.hxx"
virtual bool GetBoundaryFeature(int dimension, CellFeatureIdentifier, CellAutoPointer &) override
VertexType::SelfAutoPointer VertexAutoPointer
PointType ComputeCenterOfGravity(PointsContainer *)
static const unsigned int CellDimension
virtual unsigned int GetDimension(void) const override
Represents a line segment for a Mesh.
virtual bool GetEdge(CellFeatureIdentifier, EdgeAutoPointer &)
virtual PointIdIterator PointIdsBegin(void) override
itkCellCommonTypedefs(TriangleCell)
virtual CellFeatureCount GetNumberOfEdges() const
virtual CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const override
virtual void MakeCopy(CellAutoPointer &) const override
VertexCell< TCellInterface > VertexType
void operator=(const Self &)
An abstract interface for cells.
static const unsigned int NumberOfVertices
virtual CellFeatureCount GetNumberOfVertices() const
CoordRepType ComputeArea(PointsContainer *)
Compute Area to a TriangleCell given a PointsContainer.
double DistanceToLine(PointType x, PointType p1, PointType p2, double &t, CoordRepType *closestPoint)
virtual unsigned int GetNumberOfPoints(void) const override
virtual void SetPointId(int localId, PointIdentifier) override
virtual bool EvaluatePosition(CoordRepType *, PointsContainer *, CoordRepType *, CoordRepType[], double *, InterpolationWeightType *) override
static const unsigned int NumberOfEdges
virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &)
std::vector< PointIdentifier > m_PointIds
PointType ComputeCircumCenter(PointsContainer *)
Represents a single vertex for a Mesh.
itkCellInheritedTypedefs(TCellInterface)
static const unsigned int NumberOfPoints
LineCell< TCellInterface > EdgeType
PointType ComputeBarycenter(CoordRepType *, PointsContainer *)
Define additional traits for native types such as int or float.
EdgeType::SelfAutoPointer EdgeAutoPointer
virtual void SetPointIds(PointIdConstIterator first) override
virtual CellGeometry GetType(void) const override
virtual PointIdIterator PointIdsEnd(void) override
itkCellVisitMacro(Superclass::TRIANGLE_CELL)