Implements the N-dimensional mesh structure. More...
#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.
Definition at line 116 of file itkMesh.h.
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 from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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 >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef CellType::CellAutoPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellAutoPointer |
typedef MeshTraits::CellDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainer |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef CellDataContainer::ConstPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerConstPointer |
typedef CellDataContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerIterator |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef CellDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerPointer |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef CellFeatureIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellFeatureCount |
A useful rename.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef MeshTraits::CellFeatureIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellFeatureIdentifier |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef MeshTraits::CellIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellIdentifier |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef MeshTraits::CellLinksContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainer |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef CellLinksContainer::ConstPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerConstPointer |
typedef CellLinksContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerIterator |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef CellLinksContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerPointer |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef CellType::MultiVisitor itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellMultiVisitorType |
Visiting cells.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef CellInterface<CellPixelType,CellTraits> itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellType |
The base cell type for cells in this mesh.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef int itk::LightObject::InternalReferenceCountType [protected, inherited] |
Define the type of the reference count according to the target. This allows the use of atomic operations
Definition at line 139 of file itkLightObject.h.
typedef MeshTraits::InterpolationWeightType itk::Mesh< TPixelType, VDimension, TMeshTraits >::InterpolationWeightType |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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 >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
typedef MeshTraits::PixelType itk::Mesh< TPixelType, VDimension, TMeshTraits >::PixelType |
typedef MeshTraits::PointCellLinksContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointCellLinksContainer |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef PointCellLinksContainer::const_iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointCellLinksContainerIterator |
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef MeshTraits::PointDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainer |
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef PointDataContainer::ConstPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointDataContainerConstPointer [inherited] |
Definition at line 133 of file itkPointSet.h.
typedef PointDataContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainerIterator |
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef PointDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainerPointer |
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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 PointLocatorType::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointLocatorPointer |
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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 >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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::VoronoiDiagram2D< TCoordType >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
typedef PointsContainer::ConstPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainerConstPointer [inherited] |
Definition at line 131 of file itkPointSet.h.
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::VoronoiDiagram2D< TCoordType >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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::VoronoiDiagram2D< TCoordType >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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.
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.)
unsigned long itk::Object::AddObserver | ( | const EventObject & | event, | |
Command * | ||||
) | [inherited] |
Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects
unsigned long itk::Object::AddObserver | ( | const EventObject & | event, | |
Command * | ||||
) | const [inherited] |
Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects
static void itk::LightObject::BreakOnError | ( | ) | [static, inherited] |
This method is called when itkExceptionMacro executes. It allows the debugger to break on error.
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::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
virtual LightObject::Pointer itk::Object::CreateAnother | ( | ) | const [virtual, inherited] |
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::LightObject.
Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, itk::CreateObjectFunction< T >, itk::TransformFactoryBase, itk::AnalyzeImageIOFactory, itk::BioRadImageIOFactory, itk::BMPImageIOFactory, itk::Brains2MaskImageIOFactory, itk::DICOMImageIO2Factory, itk::DicomImageIOFactory, itk::GDCMImageIOFactory, itk::GE4ImageIOFactory, itk::GE5ImageIOFactory, itk::GEAdwImageIOFactory, itk::GiplImageIOFactory, itk::JPEGImageIOFactory, itk::LSMImageIOFactory, itk::MetaImageIOFactory, itk::NiftiImageIOFactory, itk::NrrdImageIOFactory, itk::PNGImageIOFactory, itk::RawImageIOFactory< TPixel, VImageDimension >, itk::SiemensVisionImageIOFactory, itk::StimulateImageIOFactory, itk::TIFFImageIOFactory, itk::VTKImageIOFactory, itk::Bruker2DSEQImageIOFactory, itk::MatlabTransformIOFactory, itk::MINC2ImageIOFactory, itk::MRCImageIOFactory, itk::PhilipsRECImageIOFactory, itk::TxtTransformIOFactory, itk::VoxBoCUBImageIOFactory, itk::VTKImageIO2Factory, and itk::SpatialObjectFactoryBase.
void itk::DataObject::DataHasBeenGenerated | ( | ) | [inherited] |
Inform the pipeline mechanism that data has been generated. This method is called by ProcessObject::UpdateOutputData() once the process object has finished generating its data. This essentially marks the DataObject as being updated and ready for use.
virtual void itk::Object::DebugOff | ( | ) | const [virtual, inherited] |
Turn debugging output off.
virtual void itk::Object::DebugOn | ( | ) | const [virtual, inherited] |
Turn debugging output on.
virtual void itk::LightObject::Delete | ( | ) | [virtual, inherited] |
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.
void itk::DataObject::DisconnectPipeline | ( | ) | [inherited] |
Separate this data object from the pipeline. This routine disconnects a data object from the upstream pipeline. Hence an Update() from downstream will not propagate back past this data object. To completely isolate this data object from the pipeline, the application must remove this data object from any filters which it is connected as the input.
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::FindClosestPoint | ( | CoordRepType * | , | |
PointIdentifier * | pointId | |||
) | [inherited] |
Geometric operations convert between coordinate systems, perform interpolation, and locate points and cells.
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::PointSet< TPixelType, VDimension, TMeshTraits >::GetBoundingBox | ( | void | ) | const [inherited] |
Get the bounding box of the mesh. The methods return a pointer to the user-supplied bounding box as a convenience.
virtual RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetBufferedRegion | ( | ) | const [virtual, inherited] |
Set/Get the Buffered region
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.
unsigned long 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.
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.
const CellDataContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData | ( | ) | const |
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.
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData | ( | CellIdentifier | , | |
CellPixelType * | ||||
) | const |
Access routines to fill the CellData container, and get information from it.
CellDataContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData | ( | ) |
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.
CellLinksContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellLinks | ( | ) |
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
const CellLinksContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellLinks | ( | ) | const |
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
unsigned long 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.
const CellsContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCells | ( | ) | const |
CellsContainer* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCells | ( | ) |
virtual const CellsAllocationMethodType& itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellsAllocationMethod | ( | ) | [virtual] |
Set/Get the identification of the method used to allocate cells
Command* itk::Object::GetCommand | ( | unsigned long | tag | ) | [inherited] |
Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.
bool itk::DataObject::GetDataReleased | ( | ) | const [inline, inherited] |
Get the flag indicating the data has been released.
Definition at line 334 of file itkDataObject.h.
bool itk::Object::GetDebug | ( | ) | const [inherited] |
Get the value of the debug flag.
static bool itk::DataObject::GetGlobalReleaseDataFlag | ( | ) | [static, inherited] |
Turn on/off a flag to control whether every object releases its data after being used by a filter. Being a global flag, it controls the behavior of all DataObjects and ProcessObjects.
static bool itk::Object::GetGlobalWarningDisplay | ( | ) | [static, inherited] |
This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetMaximumNumberOfRegions | ( | ) | const [virtual, inherited] |
Get the maximum number of regions that this data can be separated into.
MetaDataDictionary& itk::Object::GetMetaDataDictionary | ( | void | ) | [inherited] |
const MetaDataDictionary& itk::Object::GetMetaDataDictionary | ( | void | ) | const [inherited] |
virtual unsigned long itk::Object::GetMTime | ( | ) | const [virtual, inherited] |
Return this objects modified time.
Reimplemented in itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::ImageAdaptor< TImage, TAccessor >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::MeshSpatialObject< TMesh >, itk::SceneSpatialObject< TSpaceDimension >, itk::SpatialObject< TDimension >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::SpatialObject< 3 >, and itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >.
Referenced by itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >::GetObjectMTime().
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::VoronoiDiagram2D< TCoordType >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
CellFeatureCount itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNumberOfCellBoundaryFeatures | ( | int | dimension, | |
CellIdentifier | ||||
) | const |
Interface to cells.
unsigned long itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNumberOfCells | ( | ) | const |
Mesh-level operation interface.
unsigned long itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetNumberOfPoints | ( | void | ) | const [inherited] |
PointSet-level operation interface.
virtual const unsigned long& itk::DataObject::GetPipelineMTime | ( | ) | [virtual, inherited] |
The maximum MTime of all upstream filters and data objects. This does not include the MTime of this data object.
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoint | ( | PointIdentifier | , | |
PointType * | ||||
) | const [inherited] |
Access routines to fill the Points container, and get information from it.
Referenced by itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::GetPoint().
PointDataContainer* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData | ( | void | ) | [inherited] |
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.
const PointDataContainer* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData | ( | void | ) | const [inherited] |
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.
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData | ( | PointIdentifier | , | |
PixelType * | ||||
) | const [inherited] |
Access routines to fill the PointData container, and get information from it.
PointsContainer* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoints | ( | void | ) | [inherited] |
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.
const PointsContainer* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoints | ( | void | ) | const [inherited] |
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.
virtual int itk::LightObject::GetReferenceCount | ( | ) | const [inline, virtual, inherited] |
Gets the reference count on this object.
Definition at line 106 of file itkLightObject.h.
virtual const bool& itk::DataObject::GetReleaseDataFlag | ( | ) | [virtual, inherited] |
Turn on/off a flag to control whether this object's data is released after being used by a filter.
virtual RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetRequestedRegion | ( | ) | const [virtual, inherited] |
Set/Get the Requested region
SmartPointerForwardReference<ProcessObject> itk::DataObject::GetSource | ( | ) | const [inherited] |
Get the process object that generated this data object. If there is no process object, then the data object has been disconnected from the pipeline, or the data object was created manually. (Note: we cannot use the GetObjectMacro() defined in itkMacro because the mutual dependency of DataObject and ProcessObject causes compile problems. Also, a forward reference smart pointer is returned, not a smart pointer, because of the circular dependency between the process and data object.)
GetSource() returns a SmartPointerForwardReference and not a WeakPointer because it is assumed the code calling GetSource() wants to hold a long term reference to the source.
unsigned int itk::DataObject::GetSourceOutputIndex | ( | ) | const [inherited] |
Which of the source's outputs corresponds to this data object?
virtual unsigned long itk::DataObject::GetUpdateMTime | ( | ) | const [virtual, inherited] |
MTime for the last time this DataObject was generated.
static void itk::DataObject::GlobalReleaseDataFlagOff | ( | ) | [inline, static, inherited] |
Turn on/off a flag to control whether every object releases its data after being used by a filter. Being a global flag, it controls the behavior of all DataObjects and ProcessObjects.
Definition at line 319 of file itkDataObject.h.
static void itk::DataObject::GlobalReleaseDataFlagOn | ( | ) | [inline, static, inherited] |
Turn on/off a flag to control whether every object releases its data after being used by a filter. Being a global flag, it controls the behavior of all DataObjects and ProcessObjects.
Definition at line 317 of file itkDataObject.h.
static void itk::Object::GlobalWarningDisplayOff | ( | ) | [inline, static, inherited] |
This is a global flag that controls whether any debug, warning or error messages are displayed.
Definition at line 100 of file itkObject.h.
References itk::Object::SetGlobalWarningDisplay().
static void itk::Object::GlobalWarningDisplayOn | ( | ) | [inline, static, inherited] |
This is a global flag that controls whether any debug, warning or error messages are displayed.
Definition at line 98 of file itkObject.h.
References itk::Object::SetGlobalWarningDisplay().
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Graft | ( | 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 >.
bool itk::Object::HasObserver | ( | const EventObject & | event | ) | const [inherited] |
Return true if an observer is registered for this event.
virtual void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Initialize | ( | ) | [virtual] |
Mesh-level operation interface.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
void itk::Object::InvokeEvent | ( | const EventObject & | ) | [inherited] |
Call Execute on all the Commands observing this event id.
void itk::Object::InvokeEvent | ( | const EventObject & | ) | const [inherited] |
Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.
virtual void itk::Object::Modified | ( | ) | const [virtual, inherited] |
Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.
Reimplemented in itk::NormalizeImageFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, TFilter >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >.
Referenced by itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandTotalRadius(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale(), and itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation().
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::VoronoiDiagram2D< TCoordType >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::PassStructure | ( | Self * | inputMesh | ) |
Mesh-level operation interface.
Reimplemented from itk::PointSet< TPixelType, VDimension, TMeshTraits >.
virtual void itk::DataObject::PrepareForNewData | ( | ) | [inline, virtual, inherited] |
Setup a DataObject to receive new data. This method is called by the pipeline mechanism on each output of filter that needs to execute. The default implementation is to return a DataObject to its initial state. This may involve releasing previously allocated bulk data. Subclasses of DataObject may want to override this method and/or the Initialize() method if they want a different default behavior (for instance a DataObject might want finer control over its bulk data memory management).
Definition at line 389 of file itkDataObject.h.
void itk::LightObject::Print | ( | std::ostream & | os, | |
Indent | indent = 0 | |||
) | const [inherited] |
Cause the object to print itself out.
Referenced by itk::WeakPointer< ProcessObject >::Print().
virtual void itk::LightObject::PrintHeader | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
bool itk::Object::PrintObservers | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, inherited] |
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 >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
virtual void itk::LightObject::PrintTrailer | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
virtual void itk::DataObject::PropagateRequestedRegion | ( | ) | throw (InvalidRequestedRegionError) [virtual, inherited] |
Methods to update the pipeline. Called internally by the pipeline mechanism.
Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.
virtual void itk::DataObject::PropagateResetPipeline | ( | ) | [protected, virtual, inherited] |
Propagate a call to ResetPipeline(). Called only from ProcessObject.
virtual void itk::Object::Register | ( | ) | const [virtual, inherited] |
Increase the reference count (mark as used by another object).
Reimplemented from itk::LightObject.
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()
void itk::DataObject::ReleaseData | ( | ) | [inherited] |
Release data back to system to conserve memory resource. Used during pipeline execution. Releasing this data does not make down-stream data invalid, so it does not modify the MTime of this data object.
virtual void itk::DataObject::ReleaseDataFlagOff | ( | ) | [virtual, inherited] |
Turn on/off a flag to control whether this object's data is released after being used by a filter.
virtual void itk::DataObject::ReleaseDataFlagOn | ( | ) | [virtual, inherited] |
Turn on/off a flag to control whether this object's data is released after being used by a filter.
void itk::Object::RemoveAllObservers | ( | ) | [inherited] |
Remove all observers .
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::RemoveBoundaryAssignment | ( | int | dimension, | |
CellIdentifier | cellId, | |||
CellFeatureIdentifier | featureId | |||
) |
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.
void itk::Object::RemoveObserver | ( | unsigned long | tag | ) | [inherited] |
Remove the observer with this tag value.
virtual bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::RequestedRegionIsOutsideOfTheBufferedRegion | ( | ) | [virtual, inherited] |
Methods to manage streaming.
Reimplemented from itk::DataObject.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
virtual void itk::DataObject::ResetPipeline | ( | ) | [virtual, inherited] |
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 unsigned long
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.
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetBufferedRegion | ( | const RegionType & | region | ) | [virtual, inherited] |
Set/Get the Buffered region
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
void itk::Object::SetDebug | ( | bool | debugFlag | ) | const [inherited] |
Set the value of the debug flag. A non-zero value turns debugging on.
static void itk::DataObject::SetGlobalReleaseDataFlag | ( | bool | val | ) | [static, inherited] |
Turn on/off a flag to control whether every object releases its data after being used by a filter. Being a global flag, it controls the behavior of all DataObjects and ProcessObjects.
static void itk::Object::SetGlobalWarningDisplay | ( | bool | flag | ) | [static, inherited] |
This is a global flag that controls whether any debug, warning or error messages are displayed.
Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn().
void itk::Object::SetMetaDataDictionary | ( | const MetaDataDictionary & | rhs | ) | [inherited] |
void itk::DataObject::SetPipelineMTime | ( | unsigned long | time | ) | [inline, inherited] |
The maximum MTime of all upstream filters and data objects. This does not include the MTime of this data object.
Definition at line 373 of file itkDataObject.h.
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPoint | ( | PointIdentifier | , | |
PointType | ||||
) | [inherited] |
Access routines to fill the Points container, and get information from it.
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPointData | ( | PointDataContainer * | ) | [inherited] |
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.
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPointData | ( | PointIdentifier | , | |
PixelType | ||||
) | [inherited] |
Access routines to fill the PointData container, and get information from it.
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPoints | ( | PointsContainer * | ) | [inherited] |
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.
virtual void itk::Object::SetReferenceCount | ( | int | ) | [virtual, inherited] |
Sets the reference count (use with care)
Reimplemented from itk::LightObject.
void itk::DataObject::SetReleaseDataFlag | ( | bool | flag | ) | [inline, inherited] |
Turn on/off a flag to control whether this object's data is released after being used by a filter.
Definition at line 304 of file itkDataObject.h.
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetRequestedRegion | ( | DataObject * | data | ) | [virtual, inherited] |
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 PointSet.
Reimplemented from itk::DataObject.
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetRequestedRegion | ( | const RegionType & | region | ) | [virtual, inherited] |
Set/Get the Requested region
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetRequestedRegionToLargestPossibleRegion | ( | ) | [virtual, inherited] |
Methods to manage streaming.
Reimplemented from itk::DataObject.
bool itk::DataObject::ShouldIReleaseData | ( | ) | const [inherited] |
Return flag indicating whether data should be released after use by a filter.
virtual void itk::Object::UnRegister | ( | ) | const [virtual, inherited] |
Decrease the reference count (release by another object).
Reimplemented from itk::LightObject.
virtual void itk::DataObject::Update | ( | ) | [virtual, inherited] |
Provides opportunity for the data object to insure internal consistency before access. Also causes owning source/filter (if any) to update itself. The Update() method is composed of UpdateOutputInformation(), PropagateRequestedRegion(), and UpdateOutputData(). This method may call methods that throw an InvalidRequestedRegionError exception. This exception will leave the pipeline in an inconsistent state. You will need to call ResetPipeline() on the last ProcessObject in your pipeline in order to restore the pipeline to a state where you can call Update() again.
Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::SpatialObject< TDimension >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::SpatialObject< 3 >, and itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >.
virtual void itk::DataObject::UpdateOutputData | ( | ) | [virtual, inherited] |
Methods to update the pipeline. Called internally by the pipeline mechanism.
Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageBase< VImageDimension >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageBase< ::itk::GetImageDimension< TLabelObject >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::ImageDimension >, and itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >.
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::UpdateOutputInformation | ( | ) | [virtual, inherited] |
Methods to manage streaming.
Reimplemented from itk::DataObject.
virtual bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::VerifyRequestedRegion | ( | ) | [virtual, inherited] |
Methods to manage streaming.
Reimplemented from itk::DataObject.
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::PointSet< TPixelType, VDimension, TMeshTraits >::m_BoundingBox [protected, inherited] |
The bounding box (xmin,xmax, ymin,ymax, ...) of the mesh. The bounding box is used for searching, picking, display, etc.
Definition at line 169 of file itkPointSet.h.
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_BufferedRegion [protected, inherited] |
Definition at line 256 of file itkPointSet.h.
CellDataContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellDataContainer [protected] |
CellLinksContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellLinksContainer [mutable, protected] |
CellsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::m_CellsContainer [protected] |
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_MaximumNumberOfRegions [protected, inherited] |
Definition at line 253 of file itkPointSet.h.
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_NumberOfRegions [protected, inherited] |
Definition at line 254 of file itkPointSet.h.
PointDataContainerPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_PointDataContainer [protected, inherited] |
An object containing data associated with the mesh's points. Optionally, this can be NULL, indicating that no data are associated with the points. The data for a point can be accessed through its point identifier.
Definition at line 161 of file itkPointSet.h.
PointLocatorPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_PointLocator [protected, inherited] |
PointLocator is used to accelerate the search for points. This supports the FindClosestPoint() method.
Definition at line 165 of file itkPointSet.h.
PointsContainerPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_PointsContainer [protected, inherited] |
An object containing points used by the mesh. Individual points are accessed through point identifiers.
Definition at line 150 of file itkPointSet.h.
InternalReferenceCountType itk::LightObject::m_ReferenceCount [mutable, protected, inherited] |
Number of uses of this object by other objects.
Definition at line 144 of file itkLightObject.h.
SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock [mutable, protected, inherited] |
Mutex lock to protect modification to the reference count
Definition at line 147 of file itkLightObject.h.
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_RequestedNumberOfRegions [protected, inherited] |
Definition at line 255 of file itkPointSet.h.
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_RequestedRegion [protected, inherited] |
Definition at line 257 of file itkPointSet.h.
const unsigned int itk::Mesh< TPixelType, VDimension, TMeshTraits >::MaxTopologicalDimension = TMeshTraits::MaxTopologicalDimension [static] |
Convenient constants obtained from TMeshTraits template parameter.
Reimplemented in itk::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
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::VoronoiDiagram2D< TCoordType >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.