ITK
4.10.0
Insight Segmentation and Registration Toolkit
|
#include <itkTriangleCell.h>
TriangleCell represents a triangle for a Mesh.
Template parameters for TriangleCell:
TPixelType = The type associated with a point, cell, or boundary for use in storing its data.
TCellTraits = Type information of mesh containing cell.
Definition at line 45 of file itkTriangleCell.h.
Public Types | |
typedef EdgeType::SelfAutoPointer | EdgeAutoPointer |
typedef LineCell< TCellInterface > | EdgeType |
typedef VertexType::SelfAutoPointer | VertexAutoPointer |
typedef VertexCell< TCellInterface > | VertexType |
Public Member Functions | |
CoordRepType | ComputeArea (PointsContainer *) |
PointType | ComputeBarycenter (CoordRepType *, PointsContainer *) |
PointType | ComputeCenterOfGravity (PointsContainer *) |
PointType | ComputeCircumCenter (PointsContainer *) |
virtual bool | EvaluatePosition (CoordRepType *, PointsContainer *, CoordRepType *, CoordRepType[], double *, InterpolationWeightType *) override |
virtual bool | GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &) override |
virtual unsigned int | GetDimension (void) const override |
virtual bool | GetEdge (CellFeatureIdentifier, EdgeAutoPointer &) |
virtual const char * | GetNameOfClass () const |
virtual CellFeatureCount | GetNumberOfBoundaryFeatures (int dimension) const override |
virtual CellFeatureCount | GetNumberOfEdges () const |
virtual unsigned int | GetNumberOfPoints (void) const override |
virtual CellFeatureCount | GetNumberOfVertices () const |
virtual bool | GetVertex (CellFeatureIdentifier, VertexAutoPointer &) |
itkCellVisitMacro (Superclass::TRIANGLE_CELL) | |
virtual PointIdIterator | PointIdsBegin (void) override |
virtual PointIdConstIterator | PointIdsBegin (void) const override |
virtual PointIdIterator | PointIdsEnd (void) override |
virtual PointIdConstIterator | PointIdsEnd (void) const override |
virtual void | SetPointId (int localId, PointIdentifier) override |
virtual void | SetPointIds (PointIdConstIterator first) override |
virtual void | SetPointIds (PointIdConstIterator first, PointIdConstIterator last) override |
TriangleCell () | |
~TriangleCell () | |
itkCellCommonTypedefs (TriangleCell) | |
itkCellInheritedTypedefs (TCellInterface) | |
virtual CellGeometry | GetType (void) const override |
virtual void | MakeCopy (CellAutoPointer &) const override |
Static Public Attributes | |
static const unsigned int | NumberOfPoints = 3 |
static const unsigned int | NumberOfVertices = 3 |
static const unsigned int | NumberOfEdges = 3 |
static const unsigned int | CellDimension = 2 |
Protected Attributes | |
std::vector< PointIdentifier > | m_PointIds |
Private Member Functions | |
double | DistanceToLine (PointType x, PointType p1, PointType p2, double &t, CoordRepType *closestPoint) |
double | DistanceToLine (PointType x, PointType p1, PointType p2, double &t, PointType &closestPoint) |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
TriangleCell (const Self &) ITK_DELETE_FUNCTION | |
Private Member Functions inherited from itk::TriangleCellTopology | |
TriangleCellTopology () | |
virtual | ~TriangleCellTopology () |
Additional Inherited Members | |
Static Private Attributes inherited from itk::TriangleCellTopology | |
static const int | m_Edges [3][2] |
typedef EdgeType::SelfAutoPointer itk::TriangleCell< TCellInterface >::EdgeAutoPointer |
Definition at line 63 of file itkTriangleCell.h.
typedef LineCell< TCellInterface > itk::TriangleCell< TCellInterface >::EdgeType |
The type of boundary for this triangle's edges.
Definition at line 62 of file itkTriangleCell.h.
typedef VertexType::SelfAutoPointer itk::TriangleCell< TCellInterface >::VertexAutoPointer |
Definition at line 59 of file itkTriangleCell.h.
typedef VertexCell< TCellInterface > itk::TriangleCell< TCellInterface >::VertexType |
The type of boundary for this triangle's vertices.
Definition at line 55 of file itkTriangleCell.h.
|
inline |
Definition at line 129 of file itkTriangleCell.h.
|
inline |
Definition at line 132 of file itkTriangleCell.h.
|
private |
CoordRepType itk::TriangleCell< TCellInterface >::ComputeArea | ( | PointsContainer * | ) |
Compute Area to a TriangleCell given a PointsContainer.
Referenced by itk::TriangleCell< TCellInterface >::GetType().
PointType itk::TriangleCell< TCellInterface >::ComputeBarycenter | ( | CoordRepType * | , |
PointsContainer * | |||
) |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
PointType itk::TriangleCell< TCellInterface >::ComputeCenterOfGravity | ( | PointsContainer * | ) |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
PointType itk::TriangleCell< TCellInterface >::ComputeCircumCenter | ( | PointsContainer * | ) |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
private |
Computes the SQUARED distance between a point and a line segment defined by two other points
|
private |
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
virtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
virtual |
Standard part of every itk Object.
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
virtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
virtual |
Triangle-specific interface.
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
inlineoverridevirtual |
Implement the standard CellInterface.
Definition at line 73 of file itkTriangleCell.h.
References itk::TriangleCell< TCellInterface >::ComputeArea(), itk::TriangleCell< TCellInterface >::ComputeBarycenter(), itk::TriangleCell< TCellInterface >::ComputeCenterOfGravity(), itk::TriangleCell< TCellInterface >::ComputeCircumCenter(), itk::TriangleCell< TCellInterface >::EvaluatePosition(), itk::TriangleCell< TCellInterface >::GetBoundaryFeature(), itk::TriangleCell< TCellInterface >::GetDimension(), itk::TriangleCell< TCellInterface >::GetEdge(), itk::TriangleCell< TCellInterface >::GetNumberOfBoundaryFeatures(), itk::TriangleCell< TCellInterface >::GetNumberOfEdges(), itk::TriangleCell< TCellInterface >::GetNumberOfPoints(), itk::TriangleCell< TCellInterface >::GetNumberOfVertices(), itk::TriangleCell< TCellInterface >::GetVertex(), itk::TriangleCell< TCellInterface >::itkCellVisitMacro(), itk::TriangleCell< TCellInterface >::MakeCopy(), itk::TriangleCell< TCellInterface >::PointIdsBegin(), itk::TriangleCell< TCellInterface >::PointIdsEnd(), itk::TriangleCell< TCellInterface >::SetPointId(), and itk::TriangleCell< TCellInterface >::SetPointIds().
|
virtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
itk::TriangleCell< TCellInterface >::itkCellCommonTypedefs | ( | TriangleCell< TCellInterface > | ) |
Standard class typedefs.
itk::TriangleCell< TCellInterface >::itkCellInheritedTypedefs | ( | TCellInterface | ) |
Standard class typedefs.
itk::TriangleCell< TCellInterface >::itkCellVisitMacro | ( | Superclass::TRIANGLE_CELL | ) |
Cell visitor interface.
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
overridevirtual |
Implement the standard CellInterface.
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
private |
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
overridevirtual |
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
overridevirtual |
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
overridevirtual |
Referenced by itk::TriangleCell< TCellInterface >::GetType().
|
overridevirtual |
|
static |
Triangle-specific topology numbers.
Definition at line 69 of file itkTriangleCell.h.
|
protected |
Store the number of points needed for a triangle.
Definition at line 136 of file itkTriangleCell.h.
|
static |
Triangle-specific topology numbers.
Definition at line 68 of file itkTriangleCell.h.
|
static |
Triangle-specific topology numbers.
Definition at line 66 of file itkTriangleCell.h.
|
static |
Triangle-specific topology numbers.
Definition at line 67 of file itkTriangleCell.h.