Orfeo Toolbox  3.16
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
itk::Mesh< TPixelType, VDimension, TMeshTraits > Class Template Reference

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

#include <itkMesh.h>

+ Inheritance diagram for itk::Mesh< TPixelType, VDimension, TMeshTraits >:
+ Collaboration diagram for itk::Mesh< TPixelType, VDimension, TMeshTraits >:

List of all members.

Classes

class  BoundaryAssignmentIdentifier

Public Types

typedef MapContainer
< BoundaryAssignmentIdentifier,
CellIdentifier
BoundaryAssignmentsContainer
typedef
BoundaryAssignmentsContainer::Pointer 
BoundaryAssignmentsContainerPointer
typedef std::vector
< BoundaryAssignmentsContainerPointer
BoundaryAssignmentsContainerVector
typedef BoundingBoxType::Pointer BoundingBoxPointer
typedef BoundingBox
< PointIdentifier,
itkGetStaticConstMacro(PointDimension),
CoordRepType, PointsContainer
BoundingBoxType
typedef CellType::CellAutoPointer CellAutoPointer
typedef
MeshTraits::CellDataContainer 
CellDataContainer
typedef
CellDataContainer::ConstPointer 
CellDataContainerConstPointer
typedef
CellDataContainer::ConstIterator 
CellDataContainerIterator
typedef CellDataContainer::Pointer CellDataContainerPointer
typedef CellFeatureIdentifier CellFeatureCount
typedef
MeshTraits::CellFeatureIdentifier 
CellFeatureIdentifier
typedef MeshTraits::CellIdentifier CellIdentifier
typedef
MeshTraits::CellLinksContainer 
CellLinksContainer
typedef
CellLinksContainer::ConstPointer 
CellLinksContainerConstPointer
typedef
CellLinksContainer::ConstIterator 
CellLinksContainerIterator
typedef CellLinksContainer::Pointer CellLinksContainerPointer
typedef CellType::MultiVisitor CellMultiVisitorType
typedef MeshTraits::CellPixelType CellPixelType
enum  CellsAllocationMethodType {
  CellsAllocationMethodUndefined,
  CellsAllocatedAsStaticArray,
  CellsAllocatedAsADynamicArray,
  CellsAllocatedDynamicallyCellByCell
}
typedef MeshTraits::CellsContainer CellsContainer
typedef
CellsContainer::ConstIterator 
CellsContainerConstIterator
typedef
CellsContainer::ConstPointer 
CellsContainerConstPointer
typedef CellsContainer::Iterator CellsContainerIterator
typedef CellsContainer::Pointer CellsContainerPointer
typedef MeshTraits::CellTraits CellTraits
typedef CellInterface
< CellPixelType, CellTraits
CellType
typedef SmartPointer< const SelfConstPointer
typedef MeshTraits::CoordRepType CoordRepType
typedef
MeshTraits::InterpolationWeightType 
InterpolationWeightType
typedef TMeshTraits MeshTraits
typedef MeshTraits::PixelType PixelType
typedef
MeshTraits::PointCellLinksContainer 
PointCellLinksContainer
typedef
PointCellLinksContainer::const_iterator 
PointCellLinksContainerIterator
typedef
MeshTraits::PointDataContainer 
PointDataContainer
typedef
PointDataContainer::ConstPointer 
PointDataContainerConstPointer
typedef
PointDataContainer::ConstIterator 
PointDataContainerIterator
typedef PointDataContainer::Pointer PointDataContainerPointer
typedef SmartPointer< SelfPointer
typedef MeshTraits::PointHashType PointHashType
typedef MeshTraits::PointIdentifier PointIdentifier
typedef PointLocatorType::Pointer PointLocatorPointer
typedef PointLocator
< PointIdentifier,
itkGetStaticConstMacro(PointDimension),
CoordRepType, PointsContainer
PointLocatorType
typedef MeshTraits::PointsContainer PointsContainer
typedef
PointsContainer::ConstIterator 
PointsContainerConstIterator
typedef
PointsContainer::ConstPointer 
PointsContainerConstPointer
typedef PointsContainer::Iterator PointsContainerIterator
typedef PointsContainer::Pointer PointsContainerPointer
typedef MeshTraits::PointType PointType
typedef Superclass::RegionType RegionType
typedef Mesh Self
typedef PointSet< TPixelType,
VDimension, TMeshTraits > 
Superclass

Public Member Functions

virtual void Accept (CellMultiVisitorType *mv) const
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
void BuildCellLinks () const
virtual void CopyInformation (const DataObject *data)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
void DataHasBeenGenerated ()
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
void DisconnectPipeline ()
bool FindClosestPoint (CoordRepType *, PointIdentifier *pointId)
bool GetAssignedCellBoundaryIfOneExists (int dimension, CellIdentifier, CellFeatureIdentifier, CellAutoPointer &) const
bool GetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, CellIdentifier *boundaryId) const
BoundaryAssignmentsContainerPointer GetBoundaryAssignments (int dimension)
const
BoundaryAssignmentsContainerPointer 
GetBoundaryAssignments (int dimension) const
const BoundingBoxTypeGetBoundingBox (void) const
virtual RegionType GetBufferedRegion () const
bool GetCell (CellIdentifier, CellAutoPointer &) const
bool GetCellBoundaryFeature (int dimension, CellIdentifier, CellFeatureIdentifier, CellAutoPointer &) const
unsigned long GetCellBoundaryFeatureNeighbors (int dimension, CellIdentifier, CellFeatureIdentifier, std::set< CellIdentifier > *cellSet)
BoundingBoxPointer GetCellBoundingBox (CellIdentifier cellId, BoundingBoxPointer bbox)
CellDataContainerGetCellData ()
const CellDataContainerGetCellData () const
bool GetCellData (CellIdentifier, CellPixelType *) const
CellLinksContainerGetCellLinks ()
const CellLinksContainerGetCellLinks () const
unsigned long GetCellNeighbors (CellIdentifier cellId, std::set< CellIdentifier > *cellSet)
CellsContainerGetCells ()
const CellsContainerGetCells () const
virtual const
CellsAllocationMethodType
GetCellsAllocationMethod ()
CommandGetCommand (unsigned long tag)
bool GetDataReleased () const
bool GetDebug () const
virtual RegionType GetMaximumNumberOfRegions () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
CellFeatureCount GetNumberOfCellBoundaryFeatures (int dimension, CellIdentifier) const
unsigned long GetNumberOfCells () const
unsigned long GetNumberOfPoints (void) const
virtual const unsigned long & GetPipelineMTime ()
bool GetPoint (PointIdentifier, PointType *) const
PointDataContainerGetPointData (void)
const PointDataContainerGetPointData (void) const
bool GetPointData (PointIdentifier, PixelType *) const
PointsContainerGetPoints (void)
const PointsContainerGetPoints (void) const
virtual int GetReferenceCount () const
virtual const bool & GetReleaseDataFlag ()
virtual RegionType GetRequestedRegion () const
SmartPointerForwardReference
< ProcessObject
GetSource () const
unsigned int GetSourceOutputIndex () const
virtual unsigned long GetUpdateMTime () const
virtual void Graft (const DataObject *data)
bool HasObserver (const EventObject &event) const
virtual void Initialize ()
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
void PassStructure (Self *inputMesh)
virtual void PrepareForNewData ()
void Print (std::ostream &os, Indent indent=0) const
virtual void PropagateRequestedRegion ()
virtual void Register () const
void ReleaseData ()
virtual void ReleaseDataFlagOff ()
virtual void ReleaseDataFlagOn ()
void RemoveAllObservers ()
bool RemoveBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId)
void RemoveObserver (unsigned long tag)
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
virtual void ResetPipeline ()
void SetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, CellIdentifier boundaryId)
void SetBoundaryAssignments (int dimension, BoundaryAssignmentsContainer *)
virtual void SetBufferedRegion (const RegionType &region)
void SetCell (CellIdentifier, CellAutoPointer &)
void SetCellData (CellDataContainer *)
void SetCellData (CellIdentifier, CellPixelType)
void SetCellLinks (CellLinksContainer *)
void SetCells (CellsContainer *)
virtual void SetCellsAllocationMethod (CellsAllocationMethodType _arg)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
void SetPipelineMTime (unsigned long time)
void SetPoint (PointIdentifier, PointType)
void SetPointData (PointDataContainer *)
void SetPointData (PointIdentifier, PixelType)
void SetPoints (PointsContainer *)
virtual void SetReferenceCount (int)
void SetReleaseDataFlag (bool flag)
virtual void SetRequestedRegion (DataObject *data)
virtual void SetRequestedRegion (const RegionType &region)
virtual void SetRequestedRegionToLargestPossibleRegion ()
bool ShouldIReleaseData () const
virtual void UnRegister () const
virtual void Update ()
virtual void UpdateOutputData ()
virtual void UpdateOutputInformation ()
virtual bool VerifyRequestedRegion ()

Static Public Member Functions

static void BreakOnError ()
static bool GetGlobalReleaseDataFlag ()
static bool GetGlobalWarningDisplay ()
static void GlobalReleaseDataFlagOff ()
static void GlobalReleaseDataFlagOn ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static Pointer New ()
static void SetGlobalReleaseDataFlag (bool val)
static void SetGlobalWarningDisplay (bool flag)

Static Public Attributes

static const unsigned int MaxTopologicalDimension = TMeshTraits::MaxTopologicalDimension
static const unsigned int PointDimension = TMeshTraits::PointDimension

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

 Mesh ()
 ~Mesh ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual void PropagateResetPipeline ()
void ReleaseCellsMemory ()

Protected Attributes

BoundaryAssignmentsContainerVector m_BoundaryAssignmentsContainers
BoundingBoxPointer m_BoundingBox
RegionType m_BufferedRegion
CellDataContainerPointer m_CellDataContainer
CellLinksContainerPointer m_CellLinksContainer
CellsContainerPointer m_CellsContainer
RegionType m_MaximumNumberOfRegions
RegionType m_NumberOfRegions
PointDataContainerPointer m_PointDataContainer
PointLocatorPointer m_PointLocator
PointsContainerPointer m_PointsContainer
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
RegionType m_RequestedNumberOfRegions
RegionType m_RequestedRegion

Private Member Functions

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

Private Attributes

CellsAllocationMethodType m_CellsAllocationMethod

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 assignments.

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 115 of file itkMesh.h.


Member Typedef Documentation

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

Definition at line 265 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

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 267 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

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 269 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
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
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellType::CellAutoPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellAutoPointer
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainer
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellDataContainer::ConstPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerConstPointer

Definition at line 180 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
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainerPointer
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::QuadEdgeMesh< TPixel, VDimension, TTraits >, and 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 MeshTraits::CellFeatureIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellFeatureIdentifier
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellIdentifier
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellLinksContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainer
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellLinksContainer::ConstPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerConstPointer

Definition at line 183 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
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellLinksContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainerPointer
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::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.

Definition at line 211 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

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 135 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
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellsContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstIterator
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellsContainer::ConstPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstPointer

Reimplemented in itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.

Definition at line 176 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
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef CellsContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainerPointer
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::CellTraits itk::Mesh< TPixelType, VDimension, TMeshTraits >::CellTraits
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::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::VoronoiDiagram2D< TCoordType >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.

Definition at line 207 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
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::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.

Definition at line 152 of file itkMesh.h.

typedef int itk::LightObject::InternalReferenceCountType
protectedinherited

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 137 of file itkLightObject.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::InterpolationWeightType itk::Mesh< TPixelType, VDimension, TMeshTraits >::InterpolationWeightType
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::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.

Definition at line 130 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
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PointCellLinksContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointCellLinksContainer
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointCellLinksContainer::const_iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointCellLinksContainerIterator
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PointDataContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainer
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
typedef PointDataContainer::ConstPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointDataContainerConstPointer
inherited

Definition at line 132 of file itkPointSet.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointDataContainer::ConstIterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainerIterator
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointDataContainer::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDataContainerPointer
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef SmartPointer<Self> itk::Mesh< TPixelType, VDimension, TMeshTraits >::Pointer
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef MeshTraits::PointHashType itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointHashType

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 157 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
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointLocatorType::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointLocatorPointer
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::QuadEdgeMesh< TPixel, VDimension, TTraits >, and 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::PointsContainer itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointsContainer
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::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.

Definition at line 187 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
typedef PointsContainer::ConstPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainerConstPointer
inherited

Definition at line 130 of file itkPointSet.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointsContainer::Iterator itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointsContainerIterator
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::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and 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 MeshTraits::PointType itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointType
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
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 >.

Definition at line 124 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
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
typedef PointSet<TPixelType, VDimension, TMeshTraits> itk::Mesh< TPixelType, VDimension, TMeshTraits >::Superclass

Member Enumeration Documentation

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

Enumerator:
CellsAllocationMethodUndefined 
CellsAllocatedAsStaticArray 
CellsAllocatedAsADynamicArray 
CellsAllocatedDynamicallyCellByCell 

Definition at line 145 of file itkMesh.h.


Constructor & Destructor Documentation

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
itk::Mesh< TPixelType, VDimension, TMeshTraits >::Mesh ( )
protected

Constructor for use by New() method.

A protected default constructor allows the New() routine to create an instance of Mesh. All the containers are initialized to empty containers.

Definition at line 1046 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
itk::Mesh< TPixelType, VDimension, TMeshTraits >::~Mesh ( )
protected

Mesh Destructor takes care of releasing the memory of Cells and CellBoundaries objects for which normal pointers are stored.

Definition at line 1063 of file itkMesh.txx.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
itk::Mesh< TPixelType, VDimension, TMeshTraits >::Mesh ( const Self )
private

Member Function Documentation

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

Dynamically build the links from points back to their using cells. This information is stored in the cell links container, not in the points.

Definition at line 960 of file itkMesh.txx.

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
)
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

Definition at line 389 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), itk::ProgressAccumulator::RegisterInternalFilter(), otb::ImageFileWriter< TInputImage >::Update(), and otb::WriterWatcherBase::WriterWatcherBase().

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
) const
inherited

Definition at line 401 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

void itk::LightObject::BreakOnError ( )
staticinherited

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

Definition at line 149 of file itkLightObject.cxx.

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

 Make sure we have a cells and a points container.
   TODO: Throw EXCEPTION here?
 Make sure the cell links container exists.
 Loop through each cell, and add its identifier to the CellLinks of each
 of its points.
   For each point, make sure the cell links container has its index,
   and then insert the cell ID into the point's set.

Definition at line 991 of file itkMesh.txx.

References itk::CellInterface< TPixelType, TCellTraits >::PointIdsBegin(), and itk::CellInterface< TPixelType, TCellTraits >::PointIdsEnd().

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::CopyInformation ( const DataObject data)
virtual

Methods for managing Mesh filters that have internal mini-pipelines

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

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.

Definition at line 1162 of file itkMesh.txx.

References NULL.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual::itk::LightObject::Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

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

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.

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.

Definition at line 428 of file itkDataObject.cxx.

void itk::Object::DebugOff ( ) const
virtualinherited

Turn debugging output off.

Definition at line 253 of file itkObject.cxx.

void itk::Object::DebugOn ( ) const
virtualinherited

Turn debugging output on.

Definition at line 242 of file itkObject.cxx.

void itk::LightObject::Delete ( )
virtualinherited

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.

Delete a 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.

Definition at line 88 of file itkLightObject.cxx.

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.

Definition at line 216 of file itkDataObject.cxx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::FindClosestPoint ( CoordRepType ,
PointIdentifier pointId 
)
inherited

Geometric operations convert between coordinate systems, perform interpolation, and locate points and cells.

Find the closest point in the pointSet to the given point (coords[PointDimension]). Returns whether a closest point was found. If a point is found, its PointIdentifier is set through the "pointId" pointer (if it isn't NULL).

Definition at line 305 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetAssignedCellBoundaryIfOneExists ( int  dimension,
CellIdentifier  cellId,
CellFeatureIdentifier  featureId,
CellAutoPointer boundary 
) 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.

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 it isn't 0) and true is returned. Otherwise, false is returned.

This version is new. It does not treat boundaries as a separate type. A boundary (boundary component, really) is just a cell that is part of the boundary of another cell. As this conversion is completed, the parts that use the boundary types will be removed.

An explicitly assigned boundary was not found.

Definition at line 925 of file itkMesh.txx.

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

Check if an explicit boundary assignment exists.

If the boundary assignments container for the given dimension doesn't exist, then the boundary assignment doesn't either.

 Ask the container if the boundary assignment exists.

Definition at line 385 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryAssignments ( int  dimension)

Access routines to get the boundary assignment container for a given dimension.

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 201 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
const Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentsContainerPointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetBoundaryAssignments ( int  dimension) const

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 212 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
const PointSet< TPixelType, VDimension, TMeshTraits >::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.

Get the bounding box of the entire pointSet.

Definition at line 285 of file itkPointSet.txx.

References itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::SetPoints().

Referenced by itk::PointSet< TPixelType, VDimension, TMeshTraits >::CopyInformation().

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetBufferedRegion ( ) const
virtualinherited
template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCell ( CellIdentifier  cellId,
CellAutoPointer cellPointer 
) const

Check if a cell exists for a given cell identifier. If a spot for the cell identifier exists, "cell" is set, and true is returned. Otherwise, false is returned, and "cell" is not modified. If "cell" is NULL, then it is never set, but the existence of the cell is still returned.

If the cells container doesn't exist, then the cell doesn't exist.

 Ask the container if the cell identifier exists.

Definition at line 255 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellBoundaryFeature ( int  dimension,
CellIdentifier  cellId,
CellFeatureIdentifier  featureId,
CellAutoPointer boundary 
) const

Get the boundary feature of the given dimension of the given cell corresponding to the given feature identifier.

Get the boundary feature of the given dimension of the given cell corresponding to the given feature identifier. If the boundary feature has been explicitly assigned, then boundary will be left pointing to the appropriate cell in the mesh. If the boundary has not been explicitly assigned, then a boundary cell will be constructed and placed in boundary. The constructed cell will not be added to the mesh or somehow cached.

 First check if the boundary has been explicitly assigned.
 It was not explicitly assigned, so ask the cell to construct it.
 This will be a geometric copy of the actual boundary feature, not
 a pointer to an actual cell in the mesh.
 The cell did not exist, so just give up.

Definition at line 550 of file itkMesh.txx.

References itk::CellInterface< TPixelType, TCellTraits >::GetBoundaryFeature().

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
unsigned long itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellBoundaryFeatureNeighbors ( int  dimension,
CellIdentifier  cellId,
CellFeatureIdentifier  featureId,
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.

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.

NOTE: We would like to change this to use an "output iterator" (in STL fashion) instead of an actual container to return the neighbor identifiers. This requires templated member support by the compiler, though, and we are not sure how wide-spread this support is.

 Sanity check on mesh status.
   TODO: Throw EXCEPTION here?
 First check if the boundary has been explicitly assigned.
   Explicitly assigned boundary found.  Loop through its UsingCells,
   and put them in the output set except for the cell through which the
   request was made.  First we empty the output set.
   The number of neighboring cells is the number of cells using the
   boundary less one for the cell through which the request was made.
 An explicit assignment for the boundary was not found.  We use set
 operations through point neighboring information to get the neighbors.
 This requires that the CellLinks be built.
 Cell links are up to date. We can proceed with the set operations.
 We need to intersect the CellLinks sets for each point on the boundary
 feature.
 First, ask the cell to construct the boundary feature so we can look
 at its points.
 Now get the cell links for the first point.  Also allocate a second set
 for temporary storage during set intersections below.
 Next, loop over the other points, and intersect their cell links with
 the current result.  We maintain "currentCells" as a pointer to the
 current cell set instead of a set itself to prevent an extra copy of
 the temporary set after each intersection.
   Clean out temporary cell set from previous iteration.
   Perform the intersection.
   Switch the cell set pointers to make the intersection result the
   current set.
   Move on to the next point.
 Don't need the second set anymore.
delete the boundary feature added as a temporary auxiliar object,
  being an AutoPointer it will release memory when going out of scope  
 Now we have a set of all the cells which share all the points on the
 boundary feature.  We simply need to copy this set to the output cell
 set, less the cell through which the request was made.
 Don't need the cell set anymore.
 Return the number of neighboring cells that were put into the set.

Definition at line 606 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
Mesh< TPixelType, VDimension, TMeshTraits >::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.

Get the bounding box of the cell with the given identifier.

Definition at line 499 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainer * itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData ( )

Access routines to get the cell data container.

Definition at line 157 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
const Mesh< TPixelType, VDimension, TMeshTraits >::CellDataContainer * itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData ( ) const

Definition at line 166 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellData ( CellIdentifier  cellId,
CellPixelType data 
) const

Check if cell data exists for a given cell identifier. If a spot for the cell identifier exists, "data" is set, and true is returned. Otherwise, false is returned, and "data" is not modified. If "data" is NULL, then it is never set, but the existence of the cell data is still returned.

If the cell data container doesn't exist, then the cell data doesn't either.

 Ask the container if the cell identifier exists.

Definition at line 319 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainer * itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellLinks ( )

Access routines to get the cell links container.

Definition at line 77 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
const Mesh< TPixelType, VDimension, TMeshTraits >::CellLinksContainer * itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellLinks ( ) const

Definition at line 87 of file itkMesh.txx.

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

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.

NOTE: We would like to change this to use an "output iterator" (in STL fashion) instead of an actual container to return the neighbor identifiers. This requires templated member support by the compiler, though, and we are not sure how wide-spread this support is.

 Sanity check on mesh status.
   TODO: Throw EXCEPTION here?
 Get the cell itself.  IndexExists call above should ensure that
 GetCell() returns true, but be safe anyway.
 If the cell's UsingCells list is nonempty, then use it.
   Loop through UsingCells and put them in the output set.  First
   we empty the output set.
 The cell's UsingCells list was empy.  We use set operations
 through point neighboring information to get the neighbors.  This
 requires that the CellLinks be built.
 Cell links are up to date. We can proceed with the set operations.
 We need to intersect the CellLinks sets for each point on the
 given cell.
 Now get the cell links for the first point.  Also allocate a second set
 for temporary storage during set intersections below.
 Next, loop over the other points, and intersect their cell links with
 the current result.  We maintain "currentCells" as a pointer to the
 current cell set instead of a set itself to prevent an extra copy of
 the temporary set after each intersection.
   Clean out temporary cell set from previous iteration.
   Perform the intersection.
   Switch the cell set pointers to make the intersection result the
   current set.
   Move on to the next point.
 Don't need the second set anymore.
 Now we have a set of all the cells which share all the points on
 the original cell determined by cellId.  We simply need to copy
 this set to the output cell set.
 Don't need the cell set anymore.
 Return the number of neighboring cells that were put into the set.

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 773 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainer * itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCells ( )

Access routines to get the cells container.

Definition at line 119 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
const Mesh< TPixelType, VDimension, TMeshTraits >::CellsContainer * itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCells ( ) const

Definition at line 127 of file itkMesh.txx.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual const CellsAllocationMethodType& itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetCellsAllocationMethod ( )
virtual
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.

Definition at line 414 of file itkObject.cxx.

References itk::Object::GetCommand(), and NULL.

Referenced by itk::Object::GetCommand().

bool itk::DataObject::GetDataReleased ( ) const
inlineinherited

Get the flag indicating the data has been released.

Definition at line 332 of file itkDataObject.h.

bool itk::Object::GetDebug ( ) const
inherited

Get the value of the debug flag.

Definition at line 264 of file itkObject.cxx.

Referenced by otb::ogr::ImageReference< double >::GetDebug().

bool itk::DataObject::GetGlobalReleaseDataFlag ( )
staticinherited

Definition at line 189 of file itkDataObject.cxx.

bool itk::Object::GetGlobalWarningDisplay ( )
staticinherited

Get the value of the global debug output control flag.

Definition at line 381 of file itkObject.cxx.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetMaximumNumberOfRegions ( ) const
virtualinherited

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

Referenced by itk::PointSet< TPixelType, VDimension, TMeshTraits >::CopyInformation().

MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  )
inherited
Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.

Reimplemented in otb::ImageMetadataInterfaceBase.

Definition at line 532 of file itkObject.cxx.

References NULL.

Referenced by otb::RenderingImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), itk::Brains2MaskImageIO::CanReadFile(), otb::DataNode< TPrecision, VDimension, TValuePrecision >::CopyFieldList(), otb::VectorImage< TPixel, VImageDimension >::CopyInformation(), otb::Image< TPixel, VImageDimension >::CopyInformation(), itk::GDCMImageIO::GetBodyPart(), itk::GDCMImageIO::GetInstitution(), itk::GDCMImageIO::GetManufacturer(), itk::GDCMImageIO::GetModality(), itk::GDCMImageIO::GetModel(), itk::GDCMImageIO::GetNumberOfSeriesInStudy(), itk::GDCMImageIO::GetNumberOfStudyRelatedSeries(), itk::GDCMImageIO::GetPatientAge(), itk::GDCMImageIO::GetPatientDOB(), itk::GDCMImageIO::GetPatientID(), itk::GDCMImageIO::GetPatientName(), itk::GDCMImageIO::GetPatientSex(), itk::GDCMImageIO::GetScanOptions(), itk::GDCMImageIO::GetStudyDate(), itk::GDCMImageIO::GetStudyDescription(), itk::GDCMImageIO::GetStudyID(), itk::GDCMImageIO::GetValueFromTag(), otb::GDALImageIO::InternalReadImageInformation(), itk::GDCMImageIO::InternalReadImageInformation(), otb::GDALImageIO::InternalWriteImageInformation(), otb::RAMDrivenAdaptativeStreamingManager< TImage >::PrepareStreaming(), itk::DICOMImageIO2::Read(), itk::DICOMImageIO2::ReadImageInformation(), itk::NrrdImageIO::ReadImageInformation(), otb::JPEG2000ImageIO::ReadImageInformation(), itk::MetaImageIO::ReadImageInformation(), itk::VoxBoCUBImageIO::ReadImageInformation(), itk::MRCImageIO::ReadImageInformation(), itk::IPLCommonImageIO::ReadImageInformation(), itk::PhilipsRECImageIO::ReadImageInformation(), itk::AnalyzeImageIO::ReadImageInformation(), itk::Bruker2DSEQImageIO::ReadImageInformation(), otb::ImageMetadataInterfaceBase::SetImage(), itk::NiftiImageIO::SetImageIOMetadataFromNIfTI(), otb::VectorDataToLabelImageFilter< TVectorData, TOutputImage >::SetOutputParametersFromImage(), itk::NrrdImageIO::Write(), itk::GDCMImageIO::Write(), and itk::PolygonGroupSpatialObjectXMLFileWriter::WriteFile().

const MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  ) const
inherited
Returns:
A constant reference to this objects MetaDataDictionary.

Reimplemented in otb::ImageMetadataInterfaceBase.

Definition at line 543 of file itkObject.cxx.

References NULL.

unsigned long itk::Object::GetMTime ( void  ) const
virtualinherited

Return this objects modified time.

Return the modification for this object.

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, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, 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::ShiftScalePixelAccessor< 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::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::SpatialObject< TDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::MeshSpatialObject< TMesh >, and itk::SceneSpatialObject< TSpaceDimension >.

Definition at line 286 of file itkObject.cxx.

Referenced by itk::DeformationFieldSource< TOutputImage >::GetMTime(), itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetMTime(), itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetMTime(), itk::TransformToDeformationFieldSource< TOutputImage, TTransformPrecisionType >::GetMTime(), itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetMTime(), itk::SpatialObject< TDimension >::GetMTime(), itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::GetMTime(), itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >::GetObjectMTime(), otb::Function::NoStretchRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::Initialize(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::Initialize(), itk::VTKImageExportBase::PipelineModifiedCallback(), and itk::ProcessObject::UpdateOutputInformation().

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
virtual const char* itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNameOfClass ( ) const
virtual
template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
Mesh< TPixelType, VDimension, TMeshTraits >::CellFeatureCount itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNumberOfCellBoundaryFeatures ( int  dimension,
CellIdentifier  cellId 
) const

Interface to cells.

Get the number of cell boundary features of the given topological dimension on the cell with the given identifier.

Make sure the cell container exists and contains the given cell Id.

 Ask the cell for its boundary count of the given dimension.

Definition at line 445 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
unsigned long itk::Mesh< TPixelType, VDimension, TMeshTraits >::GetNumberOfCells ( void  ) const

Mesh-level operation interface.

Get the number of cells in the CellsContainer.

Definition at line 480 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
unsigned long itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetNumberOfPoints ( void  ) const
inherited

Get the number of points in the PointsContainer.

Definition at line 270 of file itkPointSet.txx.

virtual const unsigned long& itk::DataObject::GetPipelineMTime ( )
virtualinherited
template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoint ( PointIdentifier  ptId,
PointType point 
) const
inherited

Check if a point exists for a given point identifier. If a spot for the point identifier exists, "point" is set, and true is returned. Otherwise, false is returned, and "point" is not modified. If "point" is NULL, then it is never set, but the existence of the point is still returned.

If the points container doesn't exist, then the point doesn't either.

 Ask the container if the point identifier exists.

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 182 of file itkPointSet.txx.

Referenced by itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::GetPoint().

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
PointSet< TPixelType, VDimension, TMeshTraits >::PointDataContainer * itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData ( void  )
inherited

Access routine to get the point data container.

Definition at line 122 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
const PointSet< TPixelType, VDimension, TMeshTraits >::PointDataContainer * itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData ( void  ) const
inherited

Access routine to get the point data container.

Definition at line 140 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData ( PointIdentifier  ptId,
PixelType data 
) const
inherited

Check if point data exists for a given point identifier. If a spot for the point identifier exists, "data" is set, and true is returned. Otherwise, false is returned, and "data" is not modified. If "data" is NULL, then it is never set, but the existence of the point data is still returned.

If the point data container doesn't exist, then the point data doesn't either.

 Ask the container if the point identifier exists.

Definition at line 234 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainer * itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoints ( void  )
inherited

Access routine to get the points container.

Definition at line 74 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
const PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainer * itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoints ( void  ) const
inherited

Access routine to get the points container.

Definition at line 92 of file itkPointSet.txx.

virtual int itk::LightObject::GetReferenceCount ( ) const
inlinevirtualinherited

Gets the reference count on this object.

Definition at line 105 of file itkLightObject.h.

virtual const bool& itk::DataObject::GetReleaseDataFlag ( )
virtualinherited
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetRequestedRegion ( ) const
virtualinherited
SmartPointerForwardReference< ProcessObject > itk::DataObject::GetSource ( void  ) 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.

Definition at line 288 of file itkDataObject.cxx.

Referenced by otb::PipelineMemoryPrintCalculator::EvaluateProcessObjectPrintRecursive().

unsigned int itk::DataObject::GetSourceOutputIndex ( ) const
inherited

Which of the source's outputs corresponds to this data object?

Definition at line 296 of file itkDataObject.cxx.

Referenced by itk::MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >::GenerateOutputRequestedRegion().

unsigned long itk::DataObject::GetUpdateMTime ( ) const
virtualinherited

MTime for the last time this DataObject was generated.

Definition at line 438 of file itkDataObject.cxx.

static void itk::DataObject::GlobalReleaseDataFlagOff ( )
inlinestaticinherited

Definition at line 318 of file itkDataObject.h.

static void itk::DataObject::GlobalReleaseDataFlagOn ( )
inlinestaticinherited

Definition at line 316 of file itkDataObject.h.

static void itk::Object::GlobalWarningDisplayOff ( )
inlinestaticinherited
static void itk::Object::GlobalWarningDisplayOn ( )
inlinestaticinherited

Definition at line 98 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Graft ( const DataObject )
virtual

Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.

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

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 1196 of file itkMesh.txx.

References NULL.

bool itk::Object::HasObserver ( const EventObject event) const
inherited

Return true if an observer is registered for this event.

Definition at line 467 of file itkObject.cxx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::Initialize ( void  )
virtual

Given the geometric coordinates of a point and a squared tolerance, locate .....COMMENT ME..... Restore the Mesh to its initial state. Useful for data pipeline updates without memory re-allocation.

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

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 524 of file itkMesh.txx.

void itk::Object::InvokeEvent ( const EventObject event)
inherited
void itk::Object::InvokeEvent ( const EventObject event) const
inherited

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

Definition at line 457 of file itkObject.cxx.

void itk::Object::Modified ( void  ) const
virtualinherited

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.

Make sure this object's modified time is greater than all others.

Reimplemented in otb::SVMModel< TValue, TLabel >, otb::SurfaceAdjacencyEffect6SCorrectionSchemeFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, 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::ShiftScalePixelAccessor< 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 > >, otb::GenericRSTransform< TScalarType, NInputDimensions, NOutputDimensions >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, MeanShift::VectorBufferConverter >, otb::GCPsToRPCSensorModelImageFilter< TImage >, otb::Polygon< TValue >, otb::ImageRegionAdaptativeSplitter< VImageDimension >, otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, otb::PolyLineParametricPathWithValue< TValue, VDimension >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, otb::PolyLineParametricPathWithValue< TValue, 2 >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, otb::PhysicalToRPCSensorModelImageFilter< TImage >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, TFilter >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >, itk::NormalizeImageFilter< TInputImage, TOutputImage >, and otb::StatisticsXMLFileReader< TMeasurementVector >.

Definition at line 297 of file itkObject.cxx.

Referenced by otb::Wrapper::InputImageListParameter::AddFromFileName(), otb::Wrapper::InputVectorDataListParameter::AddFromFileName(), otb::Wrapper::InputImageListParameter::AddImage(), otb::Wrapper::InputImageListParameter::AddNullElement(), otb::Wrapper::InputVectorDataListParameter::AddNullElement(), otb::Wrapper::StringListParameter::AddNullElement(), otb::VectorDataModel::AddPointToGeometry(), otb::Wrapper::InputVectorDataListParameter::AddVectorData(), otb::Wrapper::InputImageListParameter::ClearValue(), otb::Wrapper::InputVectorDataListParameter::ClearValue(), otb::VectorDataModel::DeleteGeometry(), otb::VectorDataModel::EndGeometry(), otb::Wrapper::InputImageListParameter::Erase(), otb::Wrapper::InputVectorDataListParameter::Erase(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), otb::ImageWidget< TInputImage >::LinearInterpolationOff(), otb::ImageWidget< TInputImage >::LinearInterpolationOn(), itk::MatrixOffsetTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::MatrixOffsetTransformBase(), otb::ogr::ImageReference< double >::Modified(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetAutoMinMax(), otb::BlendingImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetBlendingFunction(), otb::ImageLayerGenerator< TImageLayer >::SetBlendingFunction(), otb::TileMapImageIO::SetCacheDirectory(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetChannelList(), itk::LBFGSBOptimizer::SetCostFunction(), itk::MINC2ImageIO::SetDimensionName(), itk::ImageIOBase::SetDimensions(), itk::ImageIOBase::SetDirection(), otb::Wrapper::InputImageListParameter::SetImageList(), itk::GDCMSeriesFileNames::SetInputDirectory(), otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::SetInputHistogram(), otb::ImageToGenericRSOutputParameters< TImage >::SetInputKeywordList(), otb::Wrapper::InputVectorDataListParameter::SetListFromFileName(), otb::Wrapper::InputImageListParameter::SetListFromFileName(), otb::Function::RenderingFunction< TPixel, TRGBPixel >::SetListSample(), 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(), otb::Wrapper::InputImageListParameter::SetNthFileName(), otb::Wrapper::InputVectorDataListParameter::SetNthFileName(), itk::ImageIOBase::SetNumberOfDimensions(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ImageIOBase::SetOrigin(), otb::ImageToGenericRSOutputParameters< TImage >::SetOutputProjectionRef(), otb::MapProjectionAdapter::SetParameter(), otb::Function::GaussianRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetParameters(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetParameters(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), otb::ImageLayerGenerator< TImageLayer >::SetRenderingFunction(), otb::RenderingImageFilter< TInputImage, TOutputImage >::SetRenderingFunction(), itk::ImageIOBase::SetSpacing(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation(), otb::Wrapper::OutputFilenameParameter::SetValue(), otb::Wrapper::InputFilenameParameter::SetValue(), otb::Wrapper::ListViewParameter::SetValue(), otb::Wrapper::ChoiceParameter::SetValue(), otb::Wrapper::InputVectorDataListParameter::SetVectorDataList(), and otb::MapProjectionAdapter::SetWkt().

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
static Pointer itk::Mesh< TPixelType, VDimension, TMeshTraits >::New ( )
static
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::operator= ( const Self )
private
template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::PassStructure ( Self inputMesh)

Copy the geometric and topological structure of the given input mesh. The copying is done via reference counting.

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

Definition at line 468 of file itkMesh.txx.

virtual void itk::DataObject::PrepareForNewData ( )
inlinevirtualinherited

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 385 of file itkDataObject.h.

void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const
inherited

Cause the object to print itself out.

Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 135 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<().

void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 320 of file itkLightObject.cxx.

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const
protectedinherited

Definition at line 478 of file itkObject.cxx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Chaining method to print an object's instance variables, as well as its superclasses.

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

Reimplemented in itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.

Definition at line 35 of file itkMesh.txx.

void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 331 of file itkLightObject.cxx.

void itk::DataObject::PropagateRequestedRegion ( void  )
virtualinherited

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, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, 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::ShiftScalePixelAccessor< 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 otb::ImageList< TImage >.

Definition at line 379 of file itkDataObject.cxx.

References itk::DataObjectError::SetDataObject(), itk::ExceptionObject::SetDescription(), and itk::ExceptionObject::SetLocation().

void itk::DataObject::PropagateResetPipeline ( )
protectedvirtualinherited

Propagate a call to ResetPipeline(). Called only from ProcessObject.

Definition at line 367 of file itkDataObject.cxx.

void itk::Object::Register ( ) const
virtualinherited

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

Definition at line 309 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::RegisterFactory().

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
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()

Releasing the memory of Cells aobjects for which normal pointers are stored. The method used for memory release is based on information provided by the user who is the only who know how the memory was allocated.

Definition at line 1077 of file itkMesh.txx.

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.

Definition at line 197 of file itkDataObject.cxx.

virtual void itk::DataObject::ReleaseDataFlagOff ( )
virtualinherited
virtual void itk::DataObject::ReleaseDataFlagOn ( )
virtualinherited
void itk::Object::RemoveAllObservers ( )
inherited

Remove all observers .

Definition at line 435 of file itkObject.cxx.

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

Remove an explicit boundary assignment if it exists. Returns whether the assignment was found at all.

If the boundary assignments container for the given dimension doesn't exist, then the boundary assignment doesn't either.

 Ask the container if the boundary assignment exists, and delete it if
 so.

Definition at line 413 of file itkMesh.txx.

void itk::Object::RemoveObserver ( unsigned long  tag)
inherited

Remove the observer with this tag value.

Definition at line 425 of file itkObject.cxx.

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), and otb::ImageFileWriter< TInputImage >::Update().

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::RequestedRegionIsOutsideOfTheBufferedRegion ( )
virtualinherited

Determine whether the RequestedRegion is outside of the BufferedRegion. This method returns true if the RequestedRegion is outside the BufferedRegion (true if at least one pixel is outside). This is used by the pipeline mechanism to determine whether a filter needs to re-execute in order to satisfy the current request. If the current RequestedRegion is already inside the BufferedRegion from the previous execution (and the current filter is up to date), then a given filter does not need to re-execute

Reimplemented from itk::DataObject.

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.

Definition at line 516 of file itkPointSet.txx.

void itk::DataObject::ResetPipeline ( )
virtualinherited

Reset the pipeline. If an exception is thrown during an Update(), the pipeline may be in an inconsistent state. This method clears the internal state of the pipeline so Update() can be called.

Definition at line 360 of file itkDataObject.cxx.

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

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 will not typically need to be changed. The UsingCells list of boundaryId is automatically updated to include cellId.

 Make sure a boundary assignment container exists for the given dimension.
 Insert the boundary assignment into the container with the given
 assignment identifier in the given dimension.
 Add cellId to the UsingCells list of boundaryId.

Definition at line 348 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetBoundaryAssignments ( int  dimension,
BoundaryAssignmentsContainer boundaryAssignments 
)

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.

Access routine to set the boundary assignment container for a given dimension.

Definition at line 180 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetBufferedRegion ( const RegionType region)
virtualinherited

Set/Get the Buffered region

Definition at line 502 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCell ( CellIdentifier  cellId,
CellAutoPointer cellPointer 
)

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.

Assign a cell to a cell identifier. If a spot for the cell identifier does not exist, it will be created automatically.

Make sure a cells container exists.

 Insert the cell into the container with the given identifier.

Definition at line 228 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellData ( CellDataContainer cellData)

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.

Access routine to set the cell data container.

Definition at line 140 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellData ( CellIdentifier  cellId,
CellPixelType  data 
)

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

Assign data to a cell identifier. If a spot for the cell identifier does not exist, it will be created automatically. There is no check if a cell with the same identifier exists.

Make sure a cell data container exists.

 Insert the cell data into the container with the given identifier.

Definition at line 292 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCellLinks ( CellLinksContainer cellLinks)

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

Access routine to set the cell links container.

Definition at line 61 of file itkMesh.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::Mesh< TPixelType, VDimension, TMeshTraits >::SetCells ( CellsContainer cells)

Access m_CellsContainer, which holds cells used by the mesh. Individual cells are accessed through cell identifiers.

Access routine to set the cells container.

Definition at line 101 of file itkMesh.txx.

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.
void itk::Object::SetDebug ( bool  debugFlag) const
inherited

Set the value of the debug flag. A non-zero value turns debugging on.

Definition at line 275 of file itkObject.cxx.

void itk::DataObject::SetGlobalReleaseDataFlag ( bool  val)
staticinherited

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 177 of file itkDataObject.cxx.

void itk::Object::SetGlobalWarningDisplay ( bool  val)
staticinherited

This is a global flag that controls whether any debug, warning or error messages are displayed.

Set the value of the global debug output control flag.

Definition at line 370 of file itkObject.cxx.

Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn().

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs)
inherited
void itk::DataObject::SetPipelineMTime ( unsigned long  time)
inlineinherited

The maximum MTime of all upstream filters and data objects. This does not include the MTime of this data object.

Definition at line 370 of file itkDataObject.h.

Referenced by itk::ProcessObject::UpdateOutputInformation().

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPoint ( PointIdentifier  ptId,
PointType  point 
)
inherited

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

Assign a point to a point identifier. If a spot for the point identifier does not exist, it will be created automatically.

Make sure a points container exists.

 Insert the point into the container with the given identifier.

Definition at line 155 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPointData ( PointDataContainer pointData)
inherited

Access routine to set the point data container.

Definition at line 105 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPointData ( PointIdentifier  ptId,
PixelType  data 
)
inherited

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

Assign data to a point identifier. If a spot for the point identifier does not exist, it will be created automatically. There is no check if a point with the same identifier exists.

Make sure a point data container exists.

 Insert the point data into the container with the given identifier.

Definition at line 207 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPoints ( PointsContainer points)
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.

Access routine to set the points container.

Definition at line 58 of file itkPointSet.txx.

void itk::Object::SetReferenceCount ( int  ref)
virtualinherited

Sets the reference count (use with care)

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 347 of file itkObject.cxx.

void itk::DataObject::SetReleaseDataFlag ( bool  flag)
inlineinherited

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.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetRequestedRegion ( DataObject data)
virtualinherited

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.

Definition at line 470 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetRequestedRegion ( const RegionType region)
virtualinherited

Set/Get the Requested region

Definition at line 489 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetRequestedRegionToLargestPossibleRegion ( )
virtualinherited

Set the RequestedRegion to the LargestPossibleRegion. This forces a filter to produce all of the output in one execution (i.e. not streaming) on the next call to Update().

Reimplemented from itk::DataObject.

Definition at line 384 of file itkPointSet.txx.

bool itk::DataObject::ShouldIReleaseData ( ) const
inherited

Return flag indicating whether data should be released after use by a filter.

Definition at line 206 of file itkDataObject.cxx.

void itk::Object::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 324 of file itkObject.cxx.

Referenced by itk::Object::New(), and itk::ObjectFactoryBase::UnRegisterFactory().

void itk::DataObject::Update ( void  )
virtualinherited

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::SpatialObject< TDimension >, itk::SpatialObject< 3 >, itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, 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::ShiftScalePixelAccessor< 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 > >.

Definition at line 340 of file itkDataObject.cxx.

Referenced by itk::WatershedImageFilter< TInputImage >::GetBasicSegmentation().

void itk::DataObject::UpdateOutputData ( void  )
virtualinherited

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< ::itk::GetImageDimension< TLabelObject >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, 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::ShiftScalePixelAccessor< 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 otb::ImageList< TImage >.

Definition at line 410 of file itkDataObject.cxx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::UpdateOutputInformation ( void  )
virtualinherited

Methods to manage streaming.

Reimplemented from itk::DataObject.

Definition at line 363 of file itkPointSet.txx.

template<typename TPixelType , unsigned int VDimension, typename TMeshTraits >
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::VerifyRequestedRegion ( )
virtualinherited

Verify that the RequestedRegion is within the LargestPossibleRegion.

If the RequestedRegion is not within the LargestPossibleRegion, then the filter cannot possibly satisfy the request. This method returns true if the request can be satisfied (even if it will be necessary to process the entire LargestPossibleRegion) and returns false otherwise. This method is used by PropagateRequestedRegion(). PropagateRequestedRegion() throws a InvalidRequestedRegionError exception if the requested region is not within the LargestPossibleRegion. Default implementation simply returns true in order to support DataObjects that do not need regions (for instance itk::EquivalencyTable).

Reimplemented from itk::DataObject.

Definition at line 530 of file itkPointSet.txx.


Member Data Documentation

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 298 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
BoundingBoxPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_BoundingBox
protectedinherited

The bounding box (xmin,xmax, ymin,ymax, ...) of the mesh. The bounding box is used for searching, picking, display, etc.

Definition at line 168 of file itkPointSet.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_BufferedRegion
protectedinherited
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 282 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
mutableprotected

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 287 of file itkMesh.h.

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

Definition at line 469 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

Holds cells used by the mesh. Individual cells are accessed through cell identifiers.

Definition at line 276 of file itkMesh.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_MaximumNumberOfRegions
protectedinherited

Definition at line 244 of file itkPointSet.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_NumberOfRegions
protectedinherited
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
PointDataContainerPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_PointDataContainer
protectedinherited

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 160 of file itkPointSet.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
PointLocatorPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_PointLocator
protectedinherited

PointLocator is used to accelerate the search for points. This supports the FindClosestPoint() method.

Definition at line 164 of file itkPointSet.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
PointsContainerPointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_PointsContainer
protectedinherited

An object containing points used by the mesh. Individual points are accessed through point identifiers.

Definition at line 149 of file itkPointSet.h.

InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 141 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 144 of file itkLightObject.h.

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_RequestedNumberOfRegions
protectedinherited
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
RegionType itk::PointSet< TPixelType, VDimension, TMeshTraits >::m_RequestedRegion
protectedinherited
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
const unsigned int itk::Mesh< TPixelType, VDimension, TMeshTraits >::MaxTopologicalDimension = TMeshTraits::MaxTopologicalDimension
static
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType , VDimension, VDimension >>
const unsigned int itk::Mesh< TPixelType, VDimension, TMeshTraits >::PointDimension = TMeshTraits::PointDimension
static

Convenient constants obtained from TMeshTraits template parameter.

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

Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::VoronoiDiagram2D< TCoordType >.

Definition at line 139 of file itkMesh.h.


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

Generated at Sun Feb 3 2013 02:06:59 for Orfeo Toolbox with doxygen 1.8.1.1