Orfeo Toolbox  4.0
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | Private Member Functions | Static Private Attributes | List of all members
itk::TetrahedronCell< TCellInterface > Class Template Reference

TetrahedronCell represents a tetrahedron for a Mesh. More...

#include <itkTetrahedronCell.h>

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

Public Types

typedef EdgeType::SelfAutoPointer EdgeAutoPointer
 
typedef LineCell< TCellInterface > EdgeType
 
typedef FaceType::SelfAutoPointer FaceAutoPointer
 
typedef TriangleCell
< TCellInterface > 
FaceType
 
typedef VertexType::SelfAutoPointer VertexAutoPointer
 
typedef VertexCell
< TCellInterface > 
VertexType
 

Public Member Functions

 TetrahedronCell ()
 
 ~TetrahedronCell ()
 
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 CellGeometry GetType (void) const
 
virtual bool GetVertex (CellFeatureIdentifier, VertexAutoPointer &)
 
 itkCellCommonTypedefs (TetrahedronCell)
 
 itkCellInheritedTypedefs (TCellInterface)
 
 itkCellVisitMacro (Superclass::TETRAHEDRON_CELL)
 
virtual void MakeCopy (CellAutoPointer &) const
 
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)
 

Static Public Attributes

static const unsigned int CellDimension = 3
 
static const unsigned int NumberOfEdges = 6
 
static const unsigned int NumberOfFaces = 4
 
static const unsigned int NumberOfPoints = 4
 
static const unsigned int NumberOfVertices = 4
 

Protected Attributes

PointIdentifier m_PointIds [NumberOfPoints]
 

Private Member Functions

 TetrahedronCell (const Self &)
 
void operator= (const Self &)
 

Static Private Attributes

static const int m_Edges [6][2] = { { 0, 1 }, { 1, 2 }, { 2, 0 }, { 0, 3 }, { 1, 3 }, { 2, 3 } }
 
static const int m_Faces [4][3] = { { 0, 1, 3 }, { 1, 2, 3 }, { 2, 0, 3 }, { 0, 2, 1 } }
 

Detailed Description

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

TetrahedronCell represents a tetrahedron 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.

Definition at line 37 of file itkTetrahedronCell.h.

Member Typedef Documentation

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

Definition at line 53 of file itkTetrahedronCell.h.

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

The type of boundary for this triangle's edges.

Definition at line 52 of file itkTetrahedronCell.h.

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

Definition at line 57 of file itkTetrahedronCell.h.

template<typename TCellInterface >
typedef TriangleCell< TCellInterface > itk::TetrahedronCell< TCellInterface >::FaceType

The type of boundary for this hexahedron's faces.

Definition at line 56 of file itkTetrahedronCell.h.

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

Definition at line 49 of file itkTetrahedronCell.h.

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

The type of boundary for this triangle's vertices.

Definition at line 45 of file itkTetrahedronCell.h.

Constructor & Destructor Documentation

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

Definition at line 123 of file itkTetrahedronCell.h.

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

Member Function Documentation

template<typename TCellInterface >
bool itk::TetrahedronCell< TCellInterface >::EvaluatePosition ( CoordRepType *  ,
PointsContainer *  ,
CoordRepType *  ,
CoordRepType  [],
double *  ,
InterpolationWeightType *   
)
virtual

Definition at line 86 of file itkTetrahedronCell.hxx.

References itk::NumericTraits< T >::max(), and NULL.

template<typename TCellInterface >
bool itk::TetrahedronCell< TCellInterface >::GetBoundaryFeature ( int  dimension,
CellFeatureIdentifier  featureId,
CellAutoPointer &  cellPointer 
)
virtual

Standard CellInterface: Get the boundary feature of the given dimension specified by the given cell feature Id. The Id can range from 0 to GetNumberOfBoundaryFeatures(dimension)-1.

Definition at line 237 of file itkTetrahedronCell.hxx.

References itk::TransferAutoPointer().

template<typename TCellInterface >
unsigned int itk::TetrahedronCell< TCellInterface >::GetDimension ( void  ) const
virtual

Standard CellInterface: Get the topological dimension of this cell.

Definition at line 44 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
bool itk::TetrahedronCell< TCellInterface >::GetEdge ( CellFeatureIdentifier  edgeId,
EdgeAutoPointer edgePointer 
)
virtual

Tetrahedron-specific: Get the edge specified by the given cell feature Id. The Id can range from 0 to GetNumberOfEdges()-1.

Definition at line 442 of file itkTetrahedronCell.hxx.

References itk::LineCell< TCellInterface >::SetPointId().

template<typename TCellInterface >
bool itk::TetrahedronCell< TCellInterface >::GetFace ( CellFeatureIdentifier  faceId,
FaceAutoPointer facePointer 
)
virtual

Tetrahedron-specific: Get the face specified by the given cell feature Id. The Id can range from 0 to GetNumberOfFaces()-1.

Definition at line 462 of file itkTetrahedronCell.hxx.

References itk::TriangleCell< TCellInterface >::SetPointId().

template<typename TCellInterface >
virtual const char* itk::TetrahedronCell< TCellInterface >::GetNameOfClass ( ) const
virtual

Standard part of every itk Object.

template<typename TCellInterface >
TetrahedronCell< TCellInterface >::CellFeatureCount itk::TetrahedronCell< TCellInterface >::GetNumberOfBoundaryFeatures ( int  dimension) const
virtual

Standard CellInterface: Get the number of boundary features of the given dimension.

Definition at line 68 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
TetrahedronCell< TCellInterface >::CellFeatureCount itk::TetrahedronCell< TCellInterface >::GetNumberOfEdges ( void  ) const
virtual

Tetrahedron-specific: Get the number of edges defined for the tetrahedron.

Definition at line 400 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
TetrahedronCell< TCellInterface >::CellFeatureCount itk::TetrahedronCell< TCellInterface >::GetNumberOfFaces ( void  ) const
virtual

Tetrahedron-specific: Get the number of faces defined for the tetrahedron.

Definition at line 412 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
unsigned int itk::TetrahedronCell< TCellInterface >::GetNumberOfPoints ( void  ) const
virtual

Standard CellInterface: Get the number of points required to define the cell.

Definition at line 56 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
TetrahedronCell< TCellInterface >::CellFeatureCount itk::TetrahedronCell< TCellInterface >::GetNumberOfVertices ( void  ) const
virtual

Tetrahedron-specific interface.

Tetrahedron-specific: Get the number of vertices defining the tetrahedron.

Definition at line 388 of file itkTetrahedronCell.hxx.

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

Implement the standard CellInterface.

Definition at line 67 of file itkTetrahedronCell.h.

template<typename TCellInterface >
bool itk::TetrahedronCell< TCellInterface >::GetVertex ( CellFeatureIdentifier  vertexId,
VertexAutoPointer vertexPointer 
)
virtual

Tetrahedron-specific: Get the vertex specified by the given cell feature Id. The Id can range from 0 to GetNumberOfVertices()-1.

Definition at line 425 of file itkTetrahedronCell.hxx.

References itk::VertexCell< TCellInterface >::SetPointId().

template<typename TCellInterface >
itk::TetrahedronCell< TCellInterface >::itkCellCommonTypedefs ( TetrahedronCell< TCellInterface >  )

Standard class typedefa.

template<typename TCellInterface >
itk::TetrahedronCell< TCellInterface >::itkCellInheritedTypedefs ( TCellInterface  )
template<typename TCellInterface >
itk::TetrahedronCell< TCellInterface >::itkCellVisitMacro ( Superclass::TETRAHEDRON_CELL  )

Visitor interface.

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

Standard CellInterface:

Definition at line 31 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
void itk::TetrahedronCell< TCellInterface >::operator= ( const Self &  )
private
template<typename TCellInterface >
TetrahedronCell< TCellInterface >::PointIdIterator itk::TetrahedronCell< TCellInterface >::PointIdsBegin ( void  )
virtual

Standard CellInterface: Get a begin iterator to the list of point identifiers used by the cell.

Definition at line 338 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
TetrahedronCell< TCellInterface >::PointIdConstIterator itk::TetrahedronCell< TCellInterface >::PointIdsBegin ( void  ) const
virtual

Standard CellInterface: Get a const begin iterator to the list of point identifiers used by the cell.

Definition at line 351 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
TetrahedronCell< TCellInterface >::PointIdIterator itk::TetrahedronCell< TCellInterface >::PointIdsEnd ( void  )
virtual

Standard CellInterface: Get an end iterator to the list of point identifiers used by the cell.

Definition at line 363 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
TetrahedronCell< TCellInterface >::PointIdConstIterator itk::TetrahedronCell< TCellInterface >::PointIdsEnd ( void  ) const
virtual

Standard CellInterface: Get a const end iterator to the list of point identifiers used by the cell.

Definition at line 376 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
void itk::TetrahedronCell< TCellInterface >::SetPointId ( int  localId,
PointIdentifier  ptId 
)
virtual

Standard CellInterface: Set an individual point identifier in the cell.

Definition at line 326 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
void itk::TetrahedronCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first)
virtual

Standard CellInterface: Set the point id list used by the cell. It is assumed that the given iterator can be incremented and safely de-referenced enough times to get all the point ids needed by the cell.

Definition at line 288 of file itkTetrahedronCell.hxx.

template<typename TCellInterface >
void itk::TetrahedronCell< TCellInterface >::SetPointIds ( PointIdConstIterator  first,
PointIdConstIterator  last 
)
virtual

Standard CellInterface: Set the point id list used by the cell. It is assumed that the range of iterators [first, last) contains the correct number of points needed to define the cell. The position *last is NOT referenced, so it can safely be one beyond the end of an array or other container.

Definition at line 308 of file itkTetrahedronCell.hxx.

Member Data Documentation

template<typename TCellInterface >
const unsigned int itk::TetrahedronCell< TCellInterface >::CellDimension = 3
static

Definition at line 64 of file itkTetrahedronCell.h.

const int itk::TetrahedronCellTopology::m_Edges = { { 0, 1 }, { 1, 2 }, { 2, 0 }, { 0, 3 }, { 1, 3 }, { 2, 3 } }
staticprotectedinherited

Tetrahedron topology data.

The tetrahedron's topology data: Faces

Definition at line 44 of file itkTetrahedronCellTopology.h.

const int itk::TetrahedronCellTopology::m_Faces = { { 0, 1, 3 }, { 1, 2, 3 }, { 2, 0, 3 }, { 0, 2, 1 } }
staticprotectedinherited

The tetrahedron's topology data: Faces

Definition at line 45 of file itkTetrahedronCellTopology.h.

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

Store the number of points needed for a tetrahedron.

Definition at line 127 of file itkTetrahedronCell.h.

Referenced by itk::TetrahedronCell< TCellInterface >::TetrahedronCell().

template<typename TCellInterface >
const unsigned int itk::TetrahedronCell< TCellInterface >::NumberOfEdges = 6
static

Definition at line 62 of file itkTetrahedronCell.h.

template<typename TCellInterface >
const unsigned int itk::TetrahedronCell< TCellInterface >::NumberOfFaces = 4
static

Definition at line 63 of file itkTetrahedronCell.h.

template<typename TCellInterface >
const unsigned int itk::TetrahedronCell< TCellInterface >::NumberOfPoints = 4
static

Tetrahedron-specific topology numbers.

Definition at line 60 of file itkTetrahedronCell.h.

Referenced by itk::TetrahedronCell< TCellInterface >::TetrahedronCell().

template<typename TCellInterface >
const unsigned int itk::TetrahedronCell< TCellInterface >::NumberOfVertices = 4
static

Definition at line 61 of file itkTetrahedronCell.h.


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

Generated at Sat Mar 8 2014 17:52:50 for Orfeo Toolbox with doxygen 1.8.3.1