Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Mesh< TPixelType, VDimension, TMeshTraits > Class Template Reference
[Mesh Representation Objects]

Implements the N-dimensional mesh structure. More...

#include <itkMesh.h>

Inheritance diagram for itk::Mesh:

Inheritance graph
[legend]
Collaboration diagram for itk::Mesh< TPixelType, VDimension, TMeshTraits >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Mesh Self
typedef PointSet< TPixelType,
VDimension, TMeshTraits > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TMeshTraits MeshTraits
typedef MeshTraits::PixelType PixelType
typedef MeshTraits::CellPixelType CellPixelType
typedef MeshTraits::CoordRepType CoordRepType
typedef MeshTraits::InterpolationWeightType InterpolationWeightType
typedef MeshTraits::PointIdentifier PointIdentifier
typedef MeshTraits::CellIdentifier CellIdentifier
typedef MeshTraits::BoundaryIdentifier BoundaryIdentifier
typedef MeshTraits::CellFeatureIdentifier CellFeatureIdentifier
typedef MeshTraits::PointType PointType
typedef MeshTraits::PointsContainer PointsContainer
typedef MeshTraits::CellTraits CellTraits
typedef MeshTraits::CellsContainer CellsContainer
typedef MeshTraits::PointCellLinksContainer PointCellLinksContainer
typedef MeshTraits::CellLinksContainer CellLinksContainer
typedef MeshTraits::PointDataContainer PointDataContainer
typedef MeshTraits::CellDataContainer CellDataContainer
typedef MeshTraits::BoundariesContainer BoundariesContainer
typedef MeshTraits::BoundaryDataContainer BoundaryDataContainer
typedef PointsContainer::Pointer PointsContainerPointer
typedef CellsContainer::Pointer CellsContainerPointer
typedef CellLinksContainer::Pointer CellLinksContainerPointer
typedef PointDataContainer::Pointer PointDataContainerPointer
typedef CellDataContainer::Pointer CellDataContainerPointer
typedef BoundariesContainer::Pointer BoundariesContainerPointer
typedef BoundaryDataContainer::Pointer BoundaryDataContainerPointer
typedef PointLocatorType::Pointer PointLocatorPointer
typedef BoundingBoxType::Pointer BoundingBoxPointer
typedef PointsContainer::ConstIterator PointsContainerConstIterator
typedef PointsContainer::Iterator PointsContainerIterator
typedef CellsContainer::ConstIterator CellsContainerConstIterator
typedef CellsContainer::Iterator CellsContainerIterator
typedef CellLinksContainer::ConstIterator CellLinksContainerIterator
typedef PointDataContainer::ConstIterator PointDataContainerIterator
typedef CellDataContainer::ConstIterator CellDataContainerIterator
typedef BoundariesContainer::ConstIterator BoundariesContainerIterator
typedef BoundaryDataContainer::ConstIterator BoundaryDataContainerIterator
typedef PointCellLinksContainer::const_iterator PointCellLinksContainerIterator
typedef CellFeatureIdentifier CellFeatureCount
typedef CellInterface< CellPixelType,
CellTraits
CellType
typedef CellType::CellAutoPointer CellAutoPointer
typedef CellType BoundaryType
typedef CellAutoPointer BoundaryAutoPointer
typedef CellType::MultiVisitor CellMultiVisitorType
enum  CellsAllocationMethodType { CellsAllocationMethodUndefined, CellsAllocatedAsStaticArray, CellsAllocatedAsADynamicArray, CellsAllocatedDynamicallyCellByCell }
enum  BoundariesAllocationMethodType { BoundariesAllocationMethodUndefined, BoundariesAllocatedAsStaticArray, BoundariesAllocatedAsADynamicArray, BoundariesAllocatedDynamicallyCellByCell }
typedef PointLocator< PointIdentifier,
itkGetStaticConstMacro(PointDimension),
CoordRepType, PointsContainer 
PointLocatorType )
typedef BoundingBox< PointIdentifier,
itkGetStaticConstMacro(PointDimension),
CoordRepType, PointsContainer 
BoundingBoxType )

Public Methods

virtual const char * GetClassName () const
bool GetAssignedCellBoundaryIfOneExists (int dimension, CellIdentifier, CellFeatureIdentifier, BoundaryAutoPointer &) const
void BuildCellLinks (void)
BoundingBoxPointer GetCellBoundingBox (CellIdentifier cellId, BoundingBoxPointer bbox)
virtual void Accept (CellMultiVisitorType *mv)
int GetMaximumNumberOfRegions () const
virtual void SetRequestedRegion (DataObject *data)
 itkStaticConstMacro (PointDimension, unsigned int, TMeshTraits::PointDimension)
 itkStaticConstMacro (MaxTopologicalDimension, unsigned int, TMeshTraits::MaxTopologicalDimension)
unsigned long GetNumberOfCells (void)
void PassStructure (Self *inputMesh)
virtual void Initialize (void)
void SetCellLinks (CellLinksContainer *)
CellLinksContainerPointer GetCellLinks (void)
void SetCells (CellsContainer *)
CellsContainerPointer GetCells (void)
void SetCellData (CellDataContainer *)
CellDataContainerPointer GetCellData (void)
void SetBoundaries (int dimension, BoundariesContainer *)
BoundariesContainerPointer GetBoundaries (int dimension)
void SetBoundaryData (int dimension, BoundaryDataContainer *)
BoundaryDataContainerPointer GetBoundaryData (int dimension)
void SetBoundaryAssignments (int dimension, BoundaryAssignmentsContainer *)
BoundaryAssignmentsContainerPointer GetBoundaryAssignments (int dimension)
void SetCell (CellIdentifier, CellAutoPointer &)
bool GetCell (CellIdentifier, CellAutoPointer &) const
void SetCellData (CellIdentifier, CellPixelType)
bool GetCellData (CellIdentifier, CellPixelType *) const
void SetBoundary (int dimension, BoundaryIdentifier, BoundaryAutoPointer &)
bool GetBoundary (int dimension, BoundaryIdentifier, BoundaryAutoPointer &) const
void SetBoundaryData (int dimension, BoundaryIdentifier, CellPixelType)
bool GetBoundaryData (int dimension, BoundaryIdentifier, CellPixelType *) const
void SetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, BoundaryIdentifier)
bool GetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, BoundaryIdentifier *) const
bool RemoveBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId)
CellFeatureCount GetNumberOfCellBoundaryFeatures (int dimension, CellIdentifier) const
bool GetCellBoundaryFeature (int dimension, CellIdentifier, CellFeatureIdentifier, BoundaryAutoPointer &) const
unsigned long GetCellBoundaryFeatureNeighbors (int dimension, CellIdentifier, CellFeatureIdentifier, std::set< CellIdentifier > *cellSet)
virtual void UpdateOutputInformation ()
virtual void SetRequestedRegionToLargestPossibleRegion ()
virtual void CopyInformation (const DataObject *data)
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
virtual bool VerifyRequestedRegion ()
virtual void SetCellsAllocationMethod (CellsAllocationMethodType _arg)
virtual CellsAllocationMethodType GetCellsAllocationMethod () const
virtual void SetBoundariesAllocationMethod (BoundariesAllocationMethodType _arg)
virtual BoundariesAllocationMethodType GetBoundariesAllocationMethod () const

Static Public Methods

Pointer New ()

Protected Types

typedef std::vector< BoundariesContainerPointerBoundariesContainerVector
typedef std::vector< BoundaryDataContainerPointerBoundaryDataContainerVector
typedef MapContainer< BoundaryAssignmentIdentifier,
BoundaryIdentifier
BoundaryAssignmentsContainer
typedef BoundaryAssignmentsContainer::Pointer BoundaryAssignmentsContainerPointer
typedef std::vector< BoundaryAssignmentsContainerPointerBoundaryAssignmentsContainerVector

Protected Methods

void ReleaseCellsMemory (void)
void ReleaseBoundariesMemory (void)
void ReleaseBoundariesMemory (unsigned int dimension)
 Mesh ()
 ~Mesh ()
void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

CellsContainerPointer m_CellsContainer
CellDataContainerPointer m_CellDataContainer
CellLinksContainerPointer m_CellLinksContainer
BoundariesContainerVector m_BoundariesContainers
BoundaryDataContainerVector m_BoundaryDataContainers
BoundaryAssignmentsContainerVector m_BoundaryAssignmentsContainers

Detailed Description

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
class itk::Mesh< TPixelType, VDimension, TMeshTraits >

Implements the N-dimensional mesh structure.

Overview
Mesh implements the N-dimensional mesh structure for ITK. It provides an API to perform operations on points, cells, boundaries, etc., but does not tie down the underlying implementation and storage. A "MeshTraits" structure is used to define the container and identifier types that will be used to access the mesh. See DefaultStaticMeshTraits for the set of type definitions needed. All types that are defined in the "MeshTraits" structure will have duplicate typedefs in the resulting mesh itself.
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 representations.
Usage
Mesh has three template parameters. The first is the pixel type, or the type of data stored (optionally) with points, cells, and/or boundaries. The second is the geometric dimension of the points defining the mesh. This also limits the maximum topological dimension of the cells that can be inserted. The third template parameter is the "MeshTraits" structure controlling type information for the mesh. Most users will be happy with the defaults, and will not have to worry about this third argument.
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.

References
No reference information is available.

Definition at line 101 of file itkMesh.h.


Member Typedef Documentation

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::BoundariesContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundariesContainer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 157 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef BoundariesContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundariesContainerIterator
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 194 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef BoundariesContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundariesContainerPointer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 173 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef std::vector<BoundariesContainerPointer> itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundariesContainerVector [protected]
 

Used for manipulating boundaries and boundary attributes.

Definition at line 276 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MapContainer< BoundaryAssignmentIdentifier , BoundaryIdentifier > itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentsContainer [protected]
 

Definition at line 280 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef BoundaryAssignmentsContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentsContainerPointer [protected]
 

Definition at line 282 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef std::vector< BoundaryAssignmentsContainerPointer > itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentsContainerVector [protected]
 

Definition at line 284 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellAutoPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAutoPointer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 209 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::BoundaryDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryDataContainer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 158 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef BoundaryDataContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryDataContainerIterator
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 196 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef BoundaryDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryDataContainerPointer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 174 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef std::vector< BoundaryDataContainerPointer > itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryDataContainerVector [protected]
 

Definition at line 278 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::BoundaryIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryIdentifier
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 147 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellType itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryType
 

It happens that boundaries are also cells.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 208 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef BoundingBoxType::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundingBoxPointer
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 176 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef BoundingBox<PointIdentifier,itkGetStaticConstMacro(PointDimension), CoordRepType,PointsContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundingBoxType)
 

Used to support geometric operations on the toolkit.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 164 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellType::CellAutoPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellAutoPointer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 205 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 156 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellDataContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerIterator
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 192 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerPointer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 172 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellFeatureIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellFeatureCount
 

A useful rename.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 201 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellFeatureIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellFeatureIdentifier
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 148 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellIdentifier
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 146 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellLinksContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 154 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellLinksContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerIterator
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 188 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellLinksContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerPointer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 170 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellType::MultiVisitor itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellMultiVisitorType
 

Visiting cells.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 212 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellPixelType itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellPixelType
 

Definition at line 119 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellsContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 152 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellsContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstIterator
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 184 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellsContainer::Iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerIterator
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 186 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellsContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerPointer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 169 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellTraits itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellTraits
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 151 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellInterface<CellPixelType,CellTraits> itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellType
 

The base cell type for cells in this mesh.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 204 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef SmartPointer<const Self> itk::Mesh< TPixelType, VDimension, TMeshTraits >::ConstPointer
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 108 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
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::VoronoiDiagram2D< TCoordType >.

Definition at line 143 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::InterpolationWeightType itk::Mesh< TPixelType, VDimension, TMeshTraits >::InterpolationWeightType
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 144 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
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::VoronoiDiagram2D< TCoordType >.

Definition at line 117 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PixelType itk::Mesh< TPixelType, VDimension, TMeshTraits >::PixelType
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 118 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PointCellLinksContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointCellLinksContainer
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 153 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointCellLinksContainer::const_iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointCellLinksContainerIterator
 

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 198 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PointDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainer
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 155 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointDataContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainerIterator
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 190 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainerPointer
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 171 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef SmartPointer<Self> itk::Mesh< TPixelType, VDimension, TMeshTraits >::Pointer
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 107 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PointIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointIdentifier
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 145 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointLocatorType::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointLocatorPointer
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 175 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointLocator<PointIdentifier,itkGetStaticConstMacro(PointDimension), CoordRepType,PointsContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointLocatorType)
 

Used to support geometric operations on the toolkit.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 162 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PointsContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointsContainer
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 150 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
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::VoronoiDiagram2D< TCoordType >.

Definition at line 180 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointsContainer::Iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointsContainerIterator
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 182 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
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::VoronoiDiagram2D< TCoordType >.

Definition at line 168 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PointType itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointType
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 149 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef Mesh itk::Mesh< TPixelType, VDimension, TMeshTraits >::Self
 

Standard typedefs.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 105 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointSet<TPixelType, VDimension, TMeshTraits> itk::Mesh< TPixelType, VDimension, TMeshTraits >::Superclass
 

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

Definition at line 106 of file itkMesh.h.


Member Enumeration Documentation

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
enum itk::Mesh::BoundariesAllocationMethodType
 

Enum defining the possible methods used to allocate memory for Boundary Boundaries

Enumeration values:
BoundariesAllocationMethodUndefined 
BoundariesAllocatedAsStaticArray 
BoundariesAllocatedAsADynamicArray 
BoundariesAllocatedDynamicallyCellByCell 

Definition at line 136 of file itkMesh.h.

Referenced by itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >::GetMaximumNumberOfRegions().

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
enum itk::Mesh::CellsAllocationMethodType
 

Enum defining the possible methods used to allocate memory for the Cells

Enumeration values:
CellsAllocationMethodUndefined 
CellsAllocatedAsStaticArray 
CellsAllocatedAsADynamicArray 
CellsAllocatedDynamicallyCellByCell 

Definition at line 129 of file itkMesh.h.

Referenced by itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >::GetMaximumNumberOfRegions().


Constructor & Destructor Documentation

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
itk::Mesh< TPixelType, VDimension, TMeshTraits >::Mesh   [protected]
 

Constructor for use by New() method.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
itk::Mesh< TPixelType, VDimension, TMeshTraits >::~Mesh   [protected]
 

Constructor for use by New() method.


Member Function Documentation

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Accept CellMultiVisitorType   mv [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.)

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::BuildCellLinks void   
 

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::CopyInformation const DataObject   data [virtual]
 

Methods that support streaming.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetAssignedCellBoundaryIfOneExists int    dimension,
CellIdentifier   ,
CellFeatureIdentifier   ,
BoundaryAutoPointer  
const
 

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
BoundariesContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaries int    dimension
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual BoundariesAllocationMethodType itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundariesAllocationMethod   const [virtual]
 

Set/Get the identification of the method used to allocate Boundary cells

Warning:
Failure to call this method correctly will lead to memory leaks and/or segmentation faults because the boundary cell memory will not be erased or will be erased with an improper method.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundary int    dimension,
BoundaryIdentifier   ,
BoundaryAutoPointer  
const
 

Access routines to fill the Boundaries container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryAssignment int    dimension,
CellIdentifier    cellId,
CellFeatureIdentifier    featureId,
BoundaryIdentifier  
const
 

Access routines to fill the BoundaryAssignments container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
BoundaryAssignmentsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryAssignments int    dimension
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryData int    dimension,
BoundaryIdentifier   ,
CellPixelType  
const
 

Access routines to fill the BoundaryData container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
BoundaryDataContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryData int    dimension
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCell CellIdentifier   ,
CellAutoPointer  
const
 

Access routines to fill the Cells container, and get information from it. If SetCell is used to overwrite a cell currently in the mesh, it the caller's responsibility to release the memory for the cell currently at the CellIdentifier position prior to calling SetCell.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellBoundaryFeature int    dimension,
CellIdentifier   ,
CellFeatureIdentifier   ,
BoundaryAutoPointer  
const
 

Interface to cells.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
unsigned long itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellBoundaryFeatureNeighbors int    dimension,
CellIdentifier   ,
CellFeatureIdentifier   ,
std::set< CellIdentifier > *    cellSet
 

Interface to cells.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
BoundingBoxPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellBoundingBox CellIdentifier    cellId,
BoundingBoxPointer    bbox
 

Get the bounding box of a cell in the mesh. The user must supply the bounding box. The methods return a pointer to the user-supplied bounding box as a convenience.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData CellIdentifier   ,
CellPixelType  
const
 

Access routines to fill the CellData container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
CellDataContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData void   
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
CellLinksContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellLinks void   
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
CellsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCells void   
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual CellsAllocationMethodType itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellsAllocationMethod   const [virtual]
 

Set/Get the identification of the method used to allocate cells

Warning:
Failure to call this method correctly will lead to memory leaks and/or segmentation faults because the cell memory will not be erased or will be erased with an improper method.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual const char* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetClassName   const [virtual]
 

Standard part of every itk Object.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Reimplemented in itk::VoronoiDiagram2D< TCoordType >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
int itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetMaximumNumberOfRegions   const [inline]
 

Get the maximum number of regions that this data can be separated into.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

Definition at line 419 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
CellFeatureCount itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNumberOfCellBoundaryFeatures int    dimension,
CellIdentifier   
const
 

Interface to cells.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
unsigned long itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNumberOfCells void   
 

Mesh-level operation interface.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Initialize void    [virtual]
 

Mesh-level operation interface.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
itk::Mesh< TPixelType, VDimension, TMeshTraits >::itkStaticConstMacro MaxTopologicalDimension   ,
unsigned    int,
TMeshTraits::MaxTopologicalDimension   
 

Convenient constants obtained from TMeshTraits template parameter.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
itk::Mesh< TPixelType, VDimension, TMeshTraits >::itkStaticConstMacro PointDimension   ,
unsigned    int,
TMeshTraits::PointDimension   
 

Convenient constants obtained from TMeshTraits template parameter.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
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::VoronoiDiagram2D< TCoordType >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::PassStructure Self   inputMesh
 

Mesh-level operation interface.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
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::VoronoiDiagram2D< TCoordType >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::ReleaseBoundariesMemory unsigned int    dimension [protected]
 

Release the memory allocated for the Bondary cells pointers for a particular dimension of boundaries. This is done based on information provided by the user through the method SetBoundariesAllocationMethod()

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::ReleaseBoundariesMemory void    [protected]
 

Release the memory allocated for the Bondary cells pointers. This is done based on information provided by the user through the method SetBoundariesAllocationMethod()

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::ReleaseCellsMemory void    [protected]
 

Release the memory allocated for the cells pointers. This is done based on information provided by the user through the method SetCellsAllocationMethod()

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::RemoveBoundaryAssignment int    dimension,
CellIdentifier    cellId,
CellFeatureIdentifier    featureId
 

Access routines to fill the BoundaryAssignments container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::RequestedRegionIsOutsideOfTheBufferedRegion   [virtual]
 

Methods that support streaming.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundaries int    dimension,
BoundariesContainer  
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundariesAllocationMethod BoundariesAllocationMethodType    _arg [virtual]
 

Set/Get the identification of the method used to allocate Boundary cells

Warning:
Failure to call this method correctly will lead to memory leaks and/or segmentation faults because the boundary cell memory will not be erased or will be erased with an improper method.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundary int    dimension,
BoundaryIdentifier   ,
BoundaryAutoPointer  
 

Access routines to fill the Boundaries container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundaryAssignment int    dimension,
CellIdentifier    cellId,
CellFeatureIdentifier    featureId,
BoundaryIdentifier   
 

Access routines to fill the BoundaryAssignments container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundaryAssignments int    dimension,
BoundaryAssignmentsContainer  
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundaryData int    dimension,
BoundaryIdentifier   ,
CellPixelType   
 

Access routines to fill the BoundaryData container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundaryData int    dimension,
BoundaryDataContainer  
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCell CellIdentifier   ,
CellAutoPointer  
 

Access routines to fill the Cells container, and get information from it. If SetCell is used to overwrite a cell currently in the mesh, it the caller's responsibility to release the memory for the cell currently at the CellIdentifier position prior to calling SetCell.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellData CellIdentifier   ,
CellPixelType   
 

Access routines to fill the CellData container, and get information from it.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellData CellDataContainer  
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellLinks CellLinksContainer  
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCells CellsContainer  
 

Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellsAllocationMethod CellsAllocationMethodType    _arg [virtual]
 

Set/Get the identification of the method used to allocate cells

Warning:
Failure to call this method correctly will lead to memory leaks and/or segmentation faults because the cell memory will not be erased or will be erased with an improper method.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetRequestedRegion DataObject   data [virtual]
 

Set the requested region from this data object to match the requested region of the data object passed in as a parameter. This method implements the API from DataObject. The data object parameter must be castable to a Mesh.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetRequestedRegionToLargestPossibleRegion   [virtual]
 

Methods that support streaming.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::UpdateOutputInformation   [virtual]
 

Methods that support streaming.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::VerifyRequestedRegion   [virtual]
 

Methods that support streaming.

Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.


Member Data Documentation

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
BoundariesContainerVector itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_BoundariesContainers [protected]
 

Since multiple cells can be assigned the same boundary (when they are neighbors, for example), the boundaries themselves are stored by containers in the Boundaries vector, which is indexed by the topological dimension of a boundary. Individual cells are assigned boundary identifiers through the BoundaryAssignments vector. These identifiers are used to access the container in this vector corresponding to the topological dimension of the boundary.

This member is mutable because Boundaries can be created on the fly when they are requested by the user. Only when a cell of a particular dimension is invoked the container for this dimension is created.

Definition at line 298 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
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.

Definition at line 316 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
BoundaryDataContainerVector itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_BoundaryDataContainers [protected]
 

If any information is to be stored with boundaries, it is placed in a container in this vector. The vector is indexed by the topological dimension of the boundary. A boundary identifier is used to access the actual data corresponding to a boundary in the container corresponding to its dimension.

Definition at line 305 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
CellDataContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellDataContainer [protected]
 

An object containing 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.

Definition at line 268 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
CellLinksContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellLinksContainer [protected]
 

An object containing 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

Definition at line 273 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
CellsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellsContainer [protected]
 

An object containing cells used by the mesh. Individual cells are accessed through cell identifiers.

Definition at line 262 of file itkMesh.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:33:51 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000