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

#include <itkHexahedronCell.h>

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

Detailed Description

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

Represents a hexahedron for a Mesh.

HexahedronCell represents a hexahedron 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.
Todo:
When reviewing this class, the documentation of the template parameters MUST be fixed.

Definition at line 44 of file itkHexahedronCell.h.

Public Types

enum  {
  NumberOfPoints = 8,
  NumberOfVertices = 8,
  NumberOfEdges = 12,
  NumberOfFaces = 6,
  CellDimension = 3
}
 
typedef EdgeType::SelfAutoPointer EdgeAutoPointer
 
typedef LineCell< TCellInterface > EdgeType
 
typedef FaceType::SelfAutoPointer FaceAutoPointer
 
typedef QuadrilateralCell
< TCellInterface > 
FaceType
 
typedef VertexType::SelfAutoPointer VertexAutoPointer
 
typedef VertexCell
< TCellInterface > 
VertexType
 

Public Member Functions

virtual bool EvaluatePosition (CoordRepType *, PointsContainer *, CoordRepType *, CoordRepType[], double *, InterpolationWeightType *)
 
virtual bool GetBoundaryFeature (int dimension, CellFeatureIdentifier, CellAutoPointer &)
 
virtual unsigned int GetDimension (void) const
 
virtual bool GetEdge (CellFeatureIdentifier, EdgeAutoPointer &)
 
virtual bool GetFace (CellFeatureIdentifier, FaceAutoPointer &)
 
virtual const char * GetNameOfClass () const
 
virtual CellFeatureCount GetNumberOfBoundaryFeatures (int dimension) const
 
virtual CellFeatureCount GetNumberOfEdges (void) const
 
virtual CellFeatureCount GetNumberOfFaces (void) const
 
virtual unsigned int GetNumberOfPoints (void) const
 
virtual CellFeatureCount GetNumberOfVertices (void) const
 
virtual bool GetVertex (CellFeatureIdentifier, VertexAutoPointer &)
 
 HexahedronCell ()
 
 itkCellVisitMacro (Superclass::HEXAHEDRON_CELL)
 
virtual PointIdIterator PointIdsBegin (void)
 
virtual PointIdConstIterator PointIdsBegin (void) const
 
virtual PointIdIterator PointIdsEnd (void)
 
virtual PointIdConstIterator PointIdsEnd (void) const
 
virtual void SetPointId (int localId, PointIdentifier)
 
virtual void SetPointIds (PointIdConstIterator first)
 
virtual void SetPointIds (PointIdConstIterator first, PointIdConstIterator last)
 
 ~HexahedronCell ()
 
 itkCellCommonTypedefs (HexahedronCell)
 
 itkCellInheritedTypedefs (TCellInterface)
 
virtual CellGeometry GetType (void) const
 
virtual void MakeCopy (CellAutoPointer &) const
 

Protected Member Functions

void EvaluateLocation (int &, PointsContainer *points, CoordRepType pcoords[3], CoordRepType x[3], InterpolationWeightType *weights)
 
void InterpolationDerivs (CoordRepType pcoords[3], CoordRepType derivs[24])
 
void InterpolationFunctions (CoordRepType pcoords[3], InterpolationWeightType sf[8])
 

Protected Attributes

PointIdentifier m_PointIds [NumberOfPoints]
 

Private Member Functions

 HexahedronCell (const Self &)
 
void operator= (const Self &)
 
- Private Member Functions inherited from itk::HexahedronCellTopology
 HexahedronCellTopology ()
 
virtual ~HexahedronCellTopology ()
 

Additional Inherited Members

Member Typedef Documentation

template<typename TCellInterface >
typedef EdgeType::SelfAutoPointer itk::HexahedronCell< TCellInterface >::EdgeAutoPointer

Definition at line 61 of file itkHexahedronCell.h.

template<typename TCellInterface >
typedef LineCell< TCellInterface > itk::HexahedronCell< TCellInterface >::EdgeType

The type of boundary for this triangle's edges.

Definition at line 60 of file itkHexahedronCell.h.

template<typename TCellInterface >
typedef FaceType::SelfAutoPointer itk::HexahedronCell< TCellInterface >::FaceAutoPointer

Definition at line 65 of file itkHexahedronCell.h.

template<typename TCellInterface >
typedef QuadrilateralCell< TCellInterface > itk::HexahedronCell< TCellInterface >::FaceType

The type of boundary for this hexahedron's faces.

Definition at line 64 of file itkHexahedronCell.h.

template<typename TCellInterface >
typedef VertexType::SelfAutoPointer itk::HexahedronCell< TCellInterface >::VertexAutoPointer

Definition at line 57 of file itkHexahedronCell.h.

template<typename TCellInterface >
typedef VertexCell< TCellInterface > itk::HexahedronCell< TCellInterface >::VertexType

The type of boundary for this triangle's vertices.

Definition at line 53 of file itkHexahedronCell.h.

Member Enumeration Documentation

template<typename TCellInterface >
anonymous enum

Hexahedron-specific topology numbers.

Enumerator:
NumberOfPoints 
NumberOfVertices 
NumberOfEdges 
NumberOfFaces 
CellDimension 

Definition at line 68 of file itkHexahedronCell.h.

Constructor & Destructor Documentation

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

Definition at line 132 of file itkHexahedronCell.h.

References itk::NumericTraits< T >::max().

template<typename TCellInterface >
itk::HexahedronCell< TCellInterface >::~HexahedronCell ( )
inline

Definition at line 140 of file itkHexahedronCell.h.

template<typename TCellInterface >
itk::HexahedronCell< TCellInterface >::HexahedronCell ( const Self &  )
private

Member Function Documentation

template<typename TCellInterface >
void itk::HexahedronCell< TCellInterface >::EvaluateLocation ( int &  ,
PointsContainer *  points,
CoordRepType  pcoords[3],
CoordRepType  x[3],
InterpolationWeightType *  weights 
)
protected
template<typename TCellInterface >
virtual bool itk::HexahedronCell< TCellInterface >::EvaluatePosition ( CoordRepType *  ,
PointsContainer *  ,
CoordRepType *  ,
CoordRepType  [],
double *  ,
InterpolationWeightType *   
)
virtual

Evaluate the position inside the cell

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

Standard part of every itk Object.

template<typename TCellInterface >
virtual CellFeatureCount itk::HexahedronCell< TCellInterface >::GetNumberOfBoundaryFeatures ( int  dimension) const
virtual
template<typename TCellInterface >
virtual CellFeatureCount itk::HexahedronCell< TCellInterface >::GetNumberOfEdges ( void  ) const
virtual
template<typename TCellInterface >
virtual CellFeatureCount itk::HexahedronCell< TCellInterface >::GetNumberOfFaces ( void  ) const
virtual
template<typename TCellInterface >
virtual unsigned int itk::HexahedronCell< TCellInterface >::GetNumberOfPoints ( void  ) const
virtual
template<typename TCellInterface >
virtual CellFeatureCount itk::HexahedronCell< TCellInterface >::GetNumberOfVertices ( void  ) const
virtual

Hexahedron-specific interface.

template<typename TCellInterface >
virtual CellGeometry itk::HexahedronCell< TCellInterface >::GetType ( void  ) const
inlinevirtual

Implement the standard CellInterface.

Definition at line 75 of file itkHexahedronCell.h.

template<typename TCellInterface >
virtual bool itk::HexahedronCell< TCellInterface >::GetVertex ( CellFeatureIdentifier  ,
VertexAutoPointer  
)
virtual
template<typename TCellInterface >
void itk::HexahedronCell< TCellInterface >::InterpolationDerivs ( CoordRepType  pcoords[3],
CoordRepType  derivs[24] 
)
protected
template<typename TCellInterface >
void itk::HexahedronCell< TCellInterface >::InterpolationFunctions ( CoordRepType  pcoords[3],
InterpolationWeightType  sf[8] 
)
protected
template<typename TCellInterface >
itk::HexahedronCell< TCellInterface >::itkCellCommonTypedefs ( HexahedronCell< TCellInterface >  )

Standard class typedefs.

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

Standard class typedefs.

template<typename TCellInterface >
itk::HexahedronCell< TCellInterface >::itkCellVisitMacro ( Superclass::HEXAHEDRON_CELL  )

Visitor interface

template<typename TCellInterface >
virtual void itk::HexahedronCell< TCellInterface >::MakeCopy ( CellAutoPointer &  ) const
virtual

Implement the standard CellInterface.

template<typename TCellInterface >
void itk::HexahedronCell< TCellInterface >::operator= ( const Self &  )
private
template<typename TCellInterface >
virtual PointIdIterator itk::HexahedronCell< TCellInterface >::PointIdsBegin ( void  )
virtual
template<typename TCellInterface >
virtual PointIdConstIterator itk::HexahedronCell< TCellInterface >::PointIdsBegin ( void  ) const
virtual
template<typename TCellInterface >
virtual PointIdIterator itk::HexahedronCell< TCellInterface >::PointIdsEnd ( void  )
virtual
template<typename TCellInterface >
virtual PointIdConstIterator itk::HexahedronCell< TCellInterface >::PointIdsEnd ( void  ) const
virtual
template<typename TCellInterface >
virtual void itk::HexahedronCell< TCellInterface >::SetPointId ( int  localId,
PointIdentifier   
)
virtual
template<typename TCellInterface >
virtual void itk::HexahedronCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first)
virtual
template<typename TCellInterface >
virtual void itk::HexahedronCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first,
PointIdConstIterator  last 
)
virtual

Member Data Documentation

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

Store the number of points needed for a hexahedron.

Definition at line 124 of file itkHexahedronCell.h.


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