ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkMesh.h>
Implements the N-dimensional mesh structure.
Mesh is an adaptive, evolving structure. Typically points and cells are created, with the cells referring to their defining points. If additional topological information is required, then BuildCellLinks() is called and links from the points back to the cells that use them are created. This allows implicit topological information about the faces and edges of the cells to be determined. (For example, a "face" neighbor to a cell can be determined by intersection the sets of cells that use the points defining the face. This is an inherent assumption on the manifold relationship of the cells in the mesh.) In some cases, either because the mesh is non-manifold, because we wish to explicitly store information with the faces and edges of the mesh, or because performance requirements demand that boundaries are explicitly represented (the set intersection does not need to be performed); then Mesh can be further extended by adding explicit boundary assignments.
One of the most important parts of using this mesh is how to create cells to insert into it. The cells for the mesh take two template parameters. The first is the pixel type, and should correspond exactly to that type given to the mesh. The second is a "CellTraits" which holds a sub-set of the "MeshTraits" structure definitions, and is also a member of them. Any cell which is to be inserted to a mesh should have MeshTraits::CellTraits as its second template parameter.
Template parameters for Mesh:
TPixelType = The type stored as data for an entity (cell, point, or boundary).
TMeshTraits = Type information structure for the mesh.
typedef MapContainer< BoundaryAssignmentIdentifier, CellIdentifier > itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentsContainer |
Used for manipulating boundaries and boundary attributes. A BoundaryAssignmentsContainerVector is indexed by dimension. For each dimension, it points to a MapContainer indexed by a BoundaryAssignmentIdentifier, which encapsulates a cell identifier and a boundary feature identifier. The boundary feature identifier distinguishes different boundary features for a given cell at a given dimension.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef BoundaryAssignmentsContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentsContainerPointer |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef std::vector< BoundaryAssignmentsContainerPointer > itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentsContainerVector |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef BoundingBoxType::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundingBoxPointer |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef BoundingBox< PointIdentifier, itkGetStaticConstMacro(PointDimension), CoordRepType, PointsContainer > itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundingBoxType |
Used to support geometric operations on the toolkit.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellType::CellAutoPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellAutoPointer |
typedef MeshTraits::CellDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainer |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellDataContainer::ConstPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerConstPointer |
typedef CellDataContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerIterator |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerPointer |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellFeatureIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellFeatureCount |
A useful rename.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef MeshTraits::CellFeatureIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellFeatureIdentifier |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef MeshTraits::CellIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellIdentifier |
typedef MeshTraits::CellLinksContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainer |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellLinksContainer::ConstPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerConstPointer |
typedef CellLinksContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerIterator |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellLinksContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerPointer |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellType::MultiVisitor itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellMultiVisitorType |
Visiting cells.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef MeshTraits::CellPixelType itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellPixelType |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef MeshTraits::CellsContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainer |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellsContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstIterator |
typedef CellsContainer::ConstPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstPointer |
Reimplemented in itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
typedef CellsContainer::Iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerIterator |
typedef CellsContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerPointer |
typedef MeshTraits::CellTraits itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellTraits |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef CellInterface< CellPixelType, CellTraits > itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellType |
The base cell type for cells in this mesh.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::VoronoiDiagram2D< TCoordType >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
typedef SmartPointer< const Self > itk::Mesh< TPixelType, VDimension, TMeshTraits >::ConstPointer |
typedef MeshTraits::CoordRepType itk::Mesh< TPixelType, VDimension, TMeshTraits >::CoordRepType |
Convenient typedefs obtained from TMeshTraits template parameter.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef MeshTraits::InterpolationWeightType itk::Mesh< TPixelType, VDimension, TMeshTraits >::InterpolationWeightType |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef TMeshTraits itk::Mesh< TPixelType, VDimension, TMeshTraits >::MeshTraits |
Hold on to the type information specified by the template parameters.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef MeshTraits::PixelType itk::Mesh< TPixelType, VDimension, TMeshTraits >::PixelType |
typedef MeshTraits::PointCellLinksContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointCellLinksContainer |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef PointCellLinksContainer::const_iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointCellLinksContainerIterator |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef MeshTraits::PointDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainer |
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef PointDataContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainerIterator |
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef PointDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainerPointer |
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef SmartPointer< Self > itk::Mesh< TPixelType, VDimension, TMeshTraits >::Pointer |
typedef MeshTraits::PointHashType itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointHashType |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef MeshTraits::PointIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointIdentifier |
typedef MeshTraits::PointsContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointsContainer |
typedef PointsContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointsContainerConstIterator |
Create types that are iterators for each of the container types.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::VoronoiDiagram2D< TCoordType >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
typedef PointsContainer::Iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointsContainerIterator |
typedef PointsContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointsContainerPointer |
Create types that are pointers to each of the container types.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.
typedef MeshTraits::PointType itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointType |
typedef Superclass::RegionType itk::Mesh< TPixelType, VDimension, TMeshTraits >::RegionType |
Type used to define Regions
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef Mesh itk::Mesh< TPixelType, VDimension, TMeshTraits >::Self |
Standard typedefs.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::VoronoiDiagram2D< TCoordType >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
typedef PointSet< TPixelType, VDimension, TMeshTraits > itk::Mesh< TPixelType, VDimension, TMeshTraits >::Superclass |
enum itk::Mesh::CellsAllocationMethodType |
itk::Mesh< TPixelType, VDimension, TMeshTraits >::Mesh | ( | ) | [protected] |
Constructor for use by New() method.
itk::Mesh< TPixelType, VDimension, TMeshTraits >::~Mesh | ( | ) | [protected] |
Constructor for use by New() method.
itk::Mesh< TPixelType, VDimension, TMeshTraits >::Mesh | ( | const Self & | ) | [private] |
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Accept | ( | CellMultiVisitorType * | mv | ) | const [virtual] |
This method iterates over all the cells in the mesh and has each cell Accept the MultiVisitor. See MultiVisitor for more information. (Note, this follows the Visitor Design Pattern.)
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::BuildCellLinks | ( | ) | const |
Dynamically build the links from points back to their using cells. This information is stored in the cell links container, not in the points.
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::CopyInformation | ( | const DataObject * | data | ) | [virtual] |
Methods for managing Mesh filters that have internal mini-pipelines
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
virtual::itk::LightObject::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetAssignedCellBoundaryIfOneExists | ( | int | dimension, |
CellIdentifier | , | ||
CellFeatureIdentifier | , | ||
CellAutoPointer & | |||
) | const |
Check if there is an explicitly assigned boundary feature for the given dimension and cell- and cell-feature-identifiers. If there is, a pointer to it is given back through boundary (if boundary != NULL) and true
is returned. Otherwise, false
is returned.
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryAssignment | ( | int | dimension, |
CellIdentifier | cellId, | ||
CellFeatureIdentifier | featureId, | ||
CellIdentifier * | boundaryId | ||
) | const |
For the given cellId, get the identifier of a particular boundary feature of the given dimension. The featureId determines which boundary feature of the specified dimension is returned. For instance, if dimension is 1 and featureId is 0, then GetBoundaryAssignment finds the 0th edge of the given cell. The return value indicates whether a feature of the appropriate dimension and featureId exists. If it does not, the BoundaryIdentifier pointer is left unchanged.
BoundaryAssignmentsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryAssignments | ( | int | dimension | ) |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
const BoundaryAssignmentsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryAssignments | ( | int | dimension | ) | const |
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
const BoundingBoxType* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundingBox | ( | void | ) | const |
Get the bounding box of the mesh. The methods return a pointer to the user-supplied bounding box as a convenience.
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCell | ( | CellIdentifier | , |
CellAutoPointer & | |||
) | const |
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellBoundaryFeature | ( | int | dimension, |
CellIdentifier | , | ||
CellFeatureIdentifier | , | ||
CellAutoPointer & | |||
) | const |
Get the boundary feature of the given dimension of the given cell corresponding to the given feature identifier.
CellIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellBoundaryFeatureNeighbors | ( | int | dimension, |
CellIdentifier | , | ||
CellFeatureIdentifier | , | ||
std::set< CellIdentifier > * | cellSet | ||
) |
Get the set of cells neighboring the given cell across the given boundary feature. Returns the number of neighbors found. If cellSet is not NULL, the set of cell pointers is filled in with identifiers of the neighboring cells.
CellDataContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData | ( | ) |
const CellDataContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData | ( | ) | const |
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData | ( | CellIdentifier | , |
CellPixelType * | |||
) | const |
Access routines to fill the CellData container, and get information from it.
CellLinksContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellLinks | ( | ) |
const CellLinksContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellLinks | ( | ) | const |
CellIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellNeighbors | ( | CellIdentifier | cellId, |
std::set< CellIdentifier > * | cellSet | ||
) |
Get the set of cells having the given cell as part of their boundary. Returns the number of neighbors found. If cellSet is not NULL, the set of cell pointers is filled in with identifiers of the neighboring cells.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
CellsContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCells | ( | ) |
const CellsContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCells | ( | ) | const |
virtual const CellsAllocationMethodType& itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellsAllocationMethod | ( | ) | [virtual] |
virtual const char* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNameOfClass | ( | ) | const [virtual] |
Standard part of every itk Object.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.
CellFeatureCount itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNumberOfCellBoundaryFeatures | ( | int | dimension, |
CellIdentifier | |||
) | const |
Interface to cells.
CellIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNumberOfCells | ( | ) | const |
Mesh-level operation interface.
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Graft | ( | const DataObject * | ) | [virtual] |
Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Initialize | ( | ) | [virtual] |
Restore the data object to its initial state. This means releasing memory.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
static Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::PassStructure | ( | Self * | inputPointSet | ) |
PointSet-level operation interface.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Constructor for use by New() method.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::ReleaseCellsMemory | ( | ) | [protected] |
Release the memory allocated for the cells pointers. This is done based on information provided by the user through the method SetCellsAllocationMethod()
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::RemoveBoundaryAssignment | ( | int | dimension, |
CellIdentifier | cellId, | ||
CellFeatureIdentifier | featureId | ||
) |
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundaryAssignment | ( | int | dimension, |
CellIdentifier | cellId, | ||
CellFeatureIdentifier | featureId, | ||
CellIdentifier | boundaryId | ||
) |
Explicitly assign boundaryId as a part of the boundary of cellId. The identifiers boundaryId and cellId must identify cell objects already in the mesh. The dimension of boundaryId must be specified by dimension, and a unique CellFeatureIdentifier featureId must be assigned for each distinct boundary feature of a given dimension. CellFeatureIdentifier is equivalent to IdentifierType
by default, and this typedef will not typically need to be changed. The UsingCells list of boundaryId is automatically updated to include cellId.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundaryAssignments | ( | int | dimension, |
BoundaryAssignmentsContainer * | |||
) |
Set/get the BoundaryAssignmentsContainer for a given dimension. The BoundaryAssignmentsContainer is a MapContainer indexed by a BoundaryAssignmentIdentifier, which encapsulates a cell identifier and a boundary feature identifier. The boundary feature identifier distinguishes different boundary features for a given cell at a given dimension.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCell | ( | CellIdentifier | , |
CellAutoPointer & | |||
) |
Access routines to fill the Cells container (m_CellsContainer), and get information from it. If SetCell is used to overwrite a cell currently in the mesh, it is the caller's responsibility to release the memory for the cell currently at the CellIdentifier position prior to calling SetCell.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellData | ( | CellDataContainer * | ) |
Access m_CellDataContainer, which contains data associated with the mesh's cells. Optionally, this can be NULL, indicating that no data are associated with the cells. The data for a cell can be accessed through its cell identifier.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellData | ( | CellIdentifier | , |
CellPixelType | |||
) |
Access routines to fill the CellData container, and get information from it.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellLinks | ( | CellLinksContainer * | ) |
Access m_CellsLinksContainer, which contains parent cell links for each point. Since a point can be used by multiple cells, each point identifier accesses another container which holds the cell identifiers
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCells | ( | CellsContainer * | ) |
Access m_CellsContainer, which holds cells used by the mesh. Individual cells are accessed through cell identifiers.
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellsAllocationMethod | ( | CellsAllocationMethodType | _arg | ) | [virtual] |
Set/Get the identification of the method used to allocate cells
BoundaryAssignmentsContainerVector itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_BoundaryAssignmentsContainers [protected] |
A vector of objects containing explicit cell boundary assignments. The vector is indexed by the topological dimension of the cell boundary. The container for each topological dimension holds boundary identifiers of the assigned boundaries. The containers are keyed by BoundaryAssignmentIdentifier objects (see above). The boundary identifiers can be used to access the boundaries themselves in the containers stored in the Boundaries vector. They can also be used to access the data stored by a particular boundary through the containers in the BoundaryData vector.
BoundingBoxPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_BoundingBox [protected] |
CellDataContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellDataContainer [protected] |
CellLinksContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellLinksContainer [mutable, protected] |
CellsAllocationMethodType itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellsAllocationMethod [private] |
CellsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellsContainer [protected] |
const unsigned int itk::Mesh< TPixelType, VDimension, TMeshTraits >::MaxTopologicalDimension = TMeshTraits::MaxTopologicalDimension [static] |
Convenient constants obtained from TMeshTraits template parameter.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.
const unsigned int itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDimension = TMeshTraits::PointDimension [static] |
Convenient constants obtained from TMeshTraits template parameter.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.