ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
itk::QuadrilateralCell< TCellInterface > Class Template Reference

#include <itkQuadrilateralCell.h>

+ Inheritance diagram for itk::QuadrilateralCell< TCellInterface >:
+ Collaboration diagram for itk::QuadrilateralCell< TCellInterface >:

Detailed Description

template<typename TCellInterface>
class itk::QuadrilateralCell< TCellInterface >

Represents a quadrilateral for a Mesh.

Template Parameters
TPixelTypeThe type associated with a point, cell, or boundary for use in storing its data.
TCellTraitsType information of mesh containing cell.
Examples:
WikiExamples/Meshes/ConvertToVTK.cxx.

Definition at line 39 of file itkQuadrilateralCell.h.

Public Types

using EdgeAutoPointer = typename EdgeType::SelfAutoPointer
 
using EdgeType = LineCell< TCellInterface >
 
using VertexAutoPointer = typename VertexType::SelfAutoPointer
 
using VertexType = VertexCell< TCellInterface >
 

Public Member Functions

bool EvaluatePosition (CoordRepType *position, PointsContainer *points, CoordRepType *closestPoint, CoordRepType[CellDimension], double *dist2, InterpolationWeightType *weight) override
 
bool GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &) override
 
unsigned int GetDimension () const override
 
virtual bool GetEdge (CellFeatureIdentifier, EdgeAutoPointer &)
 
virtual const char * GetNameOfClass () const
 
CellFeatureCount GetNumberOfBoundaryFeatures (int dimension) const override
 
virtual CellFeatureCount GetNumberOfEdges () const
 
unsigned int GetNumberOfPoints () const override
 
virtual CellFeatureCount GetNumberOfVertices () const
 
virtual bool GetVertex (CellFeatureIdentifier, VertexAutoPointer &)
 
 itkCellVisitMacro (Superclass::QUADRILATERAL_CELL)
 
PointIdIterator PointIdsBegin () override
 
PointIdConstIterator PointIdsBegin () const override
 
PointIdIterator PointIdsEnd () override
 
PointIdConstIterator PointIdsEnd () const override
 
void SetPointId (int localId, PointIdentifier) override
 
void SetPointIds (PointIdConstIterator first) override
 
void SetPointIds (PointIdConstIterator first, PointIdConstIterator last) override
 
 ~QuadrilateralCell () override
 
 itkCellCommonTypedefs (QuadrilateralCell)
 
 itkCellInheritedTypedefs (TCellInterface)
 
CellGeometry GetType () const override
 
void MakeCopy (CellAutoPointer &) const override
 
 QuadrilateralCell ()
 

Static Public Attributes

static constexpr unsigned int CellDimension = 2
 
static constexpr unsigned int NumberOfDerivatives = 8
 
static constexpr unsigned int NumberOfEdges = 4
 
static constexpr unsigned int NumberOfPoints = 4
 
static constexpr unsigned int NumberOfVertices = 4
 

Protected Member Functions

void EvaluateLocation (int &, const PointsContainer *points, const CoordRepType pointCoords[PointDimension], CoordRepType x[PointDimension], InterpolationWeightType *weights)
 
void InterpolationDerivs (const CoordRepType pointCoords[CellDimension], CoordRepType derivs[NumberOfDerivatives])
 
void InterpolationFunctions (const CoordRepType pointCoords[CellDimension], InterpolationWeightType weights[NumberOfPoints])
 

Protected Attributes

PointIdentifier m_PointIds [NumberOfPoints]
 

Additional Inherited Members

- Private Member Functions inherited from itk::QuadrilateralCellTopology
 QuadrilateralCellTopology ()
 
virtual ~QuadrilateralCellTopology ()
 
- Static Private Attributes inherited from itk::QuadrilateralCellTopology
static const int m_Edges [4][2]
 

Member Typedef Documentation

template<typename TCellInterface >
using itk::QuadrilateralCell< TCellInterface >::EdgeAutoPointer = typename EdgeType::SelfAutoPointer

Definition at line 58 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
using itk::QuadrilateralCell< TCellInterface >::EdgeType = LineCell< TCellInterface >

The type of boundary for this triangle's edges.

Definition at line 57 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
using itk::QuadrilateralCell< TCellInterface >::VertexAutoPointer = typename VertexType::SelfAutoPointer

Definition at line 54 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
using itk::QuadrilateralCell< TCellInterface >::VertexType = VertexCell< TCellInterface >

The type of boundary for this triangle's vertices.

Definition at line 53 of file itkQuadrilateralCell.h.

Constructor & Destructor Documentation

template<typename TCellInterface >
itk::QuadrilateralCell< TCellInterface >::QuadrilateralCell ( )
inline

Constructor and destructor

Definition at line 114 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
itk::QuadrilateralCell< TCellInterface >::~QuadrilateralCell ( )
inlineoverride

Definition at line 126 of file itkQuadrilateralCell.h.

Member Function Documentation

template<typename TCellInterface >
void itk::QuadrilateralCell< TCellInterface >::EvaluateLocation ( int &  ,
const PointsContainer *  points,
const CoordRepType  pointCoords[PointDimension],
CoordRepType  x[PointDimension],
InterpolationWeightType *  weights 
)
protected
template<typename TCellInterface >
bool itk::QuadrilateralCell< TCellInterface >::EvaluatePosition ( CoordRepType *  position,
PointsContainer *  points,
CoordRepType *  closestPoint,
CoordRepType  [CellDimension],
double *  dist2,
InterpolationWeightType *  weight 
)
override

Evaluate the position inside the cell

template<typename TCellInterface >
bool itk::QuadrilateralCell< TCellInterface >::GetBoundaryFeature ( int  dimension,
CellFeatureIdentifier  ,
CellAutoPointer &   
)
override
template<typename TCellInterface >
unsigned int itk::QuadrilateralCell< TCellInterface >::GetDimension ( ) const
override
template<typename TCellInterface >
virtual bool itk::QuadrilateralCell< TCellInterface >::GetEdge ( CellFeatureIdentifier  ,
EdgeAutoPointer  
)
virtual
template<typename TCellInterface >
virtual const char* itk::QuadrilateralCell< TCellInterface >::GetNameOfClass ( ) const
virtual

Standard part of every itk Object.

template<typename TCellInterface >
CellFeatureCount itk::QuadrilateralCell< TCellInterface >::GetNumberOfBoundaryFeatures ( int  dimension) const
override
template<typename TCellInterface >
virtual CellFeatureCount itk::QuadrilateralCell< TCellInterface >::GetNumberOfEdges ( ) const
virtual
template<typename TCellInterface >
unsigned int itk::QuadrilateralCell< TCellInterface >::GetNumberOfPoints ( ) const
override
template<typename TCellInterface >
virtual CellFeatureCount itk::QuadrilateralCell< TCellInterface >::GetNumberOfVertices ( ) const
virtual

Quadrilateral-specific interface.

template<typename TCellInterface >
CellGeometry itk::QuadrilateralCell< TCellInterface >::GetType ( ) const
inlineoverride

Implement the standard CellInterface.

Definition at line 68 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
virtual bool itk::QuadrilateralCell< TCellInterface >::GetVertex ( CellFeatureIdentifier  ,
VertexAutoPointer  
)
virtual
template<typename TCellInterface >
void itk::QuadrilateralCell< TCellInterface >::InterpolationDerivs ( const CoordRepType  pointCoords[CellDimension],
CoordRepType  derivs[NumberOfDerivatives] 
)
protected
template<typename TCellInterface >
void itk::QuadrilateralCell< TCellInterface >::InterpolationFunctions ( const CoordRepType  pointCoords[CellDimension],
InterpolationWeightType  weights[NumberOfPoints] 
)
protected
template<typename TCellInterface >
itk::QuadrilateralCell< TCellInterface >::itkCellCommonTypedefs ( QuadrilateralCell< TCellInterface >  )

Standard class type aliases.

template<typename TCellInterface >
itk::QuadrilateralCell< TCellInterface >::itkCellInheritedTypedefs ( TCellInterface  )

Standard class type aliases.

template<typename TCellInterface >
itk::QuadrilateralCell< TCellInterface >::itkCellVisitMacro ( Superclass::QUADRILATERAL_CELL  )

Visitor interface

template<typename TCellInterface >
void itk::QuadrilateralCell< TCellInterface >::MakeCopy ( CellAutoPointer &  ) const
override

Implement the standard CellInterface.

template<typename TCellInterface >
PointIdIterator itk::QuadrilateralCell< TCellInterface >::PointIdsBegin ( )
override
template<typename TCellInterface >
PointIdConstIterator itk::QuadrilateralCell< TCellInterface >::PointIdsBegin ( ) const
override
template<typename TCellInterface >
PointIdIterator itk::QuadrilateralCell< TCellInterface >::PointIdsEnd ( )
override
template<typename TCellInterface >
PointIdConstIterator itk::QuadrilateralCell< TCellInterface >::PointIdsEnd ( ) const
override
template<typename TCellInterface >
void itk::QuadrilateralCell< TCellInterface >::SetPointId ( int  localId,
PointIdentifier   
)
override
template<typename TCellInterface >
void itk::QuadrilateralCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first)
override
template<typename TCellInterface >
void itk::QuadrilateralCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first,
PointIdConstIterator  last 
)
override

Member Data Documentation

template<typename TCellInterface >
constexpr unsigned int itk::QuadrilateralCell< TCellInterface >::CellDimension = 2
static

Definition at line 64 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
PointIdentifier itk::QuadrilateralCell< TCellInterface >::m_PointIds[NumberOfPoints]
protected

Store the number of points needed for a quadrilateral.

Definition at line 126 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
constexpr unsigned int itk::QuadrilateralCell< TCellInterface >::NumberOfDerivatives = 8
static

Definition at line 65 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
constexpr unsigned int itk::QuadrilateralCell< TCellInterface >::NumberOfEdges = 4
static

Definition at line 63 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
constexpr unsigned int itk::QuadrilateralCell< TCellInterface >::NumberOfPoints = 4
static

Quadrilateral-specific topology numbers.

Definition at line 61 of file itkQuadrilateralCell.h.

template<typename TCellInterface >
constexpr unsigned int itk::QuadrilateralCell< TCellInterface >::NumberOfVertices = 4
static

Definition at line 62 of file itkQuadrilateralCell.h.


The documentation for this class was generated from the following file: