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

itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh > Class Template Reference
[Mesh Filters]

Extract portions of a mesh that are connected at vertices. More...

#include <itkConnectedRegionsMeshFilter.h>

Inheritance diagram for itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >:

Inheritance graph
[legend]
Collaboration diagram for itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

typedef TInputMesh InputMeshType
typedef TOutputMesh OutputMeshType
typedef TInputMesh::Pointer InputMeshPointer
typedef TOutputMesh::Pointer OutputMeshPointer
typedef TInputMesh::PointType InputMeshPointType
typedef TInputMesh::PointIdentifier InputMeshPointIdentifier
typedef TInputMesh::PointsContainerPointer InputMeshPointsContainerPointer
typedef TInputMesh::CellsContainer InputMeshCellsContainer
typedef TInputMesh::CellsContainerPointer InputMeshCellsContainerPointer
typedef TInputMesh::CellDataContainer InputMeshCellDataContainer
typedef TInputMesh::CellDataContainerPointer InputMeshCellDataContainerPointer
typedef InputMeshType::PointsContainer::ConstIterator PointsContainerConstIterator
typedef InputMeshType::CellsContainer::ConstIterator CellsContainerConstIterator
typedef InputMeshType::CellDataContainer::ConstIterator CellDataContainerConstIterator
typedef TInputMesh::CellAutoPointer InputMeshCellPointer
typedef TInputMesh::CellTraits::PointIdConstIterator InputMeshPointIdConstIterator
typedef TInputMesh::CellLinksContainerPointer InputMeshCellLinksContainerPointer
typedef TInputMesh::PointCellLinksContainer InputMeshCellLinksContainer
typedef TInputMesh::CellIdentifier InputMeshCellIdentifier
 itkStaticConstMacro (PointDimension, unsigned int, TInputMesh::PointDimension)

Public Types

typedef ConnectedRegionsMeshFilter Self
typedef MeshToMeshFilter<
TInputMesh, TOutputMesh > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
enum  {
  PointSeededRegions = 0, CellSeededRegions = 1, SpecifiedRegions = 2, LargestRegion = 3,
  AllRegions = 4, ClosestPointRegion = 5
}

Public Member Functions

void InitializeSeedList ()
void AddSeed (unsigned long id)
void DeleteSeed (unsigned long id)
void InitializeSpecifiedRegionList ()
void AddSpecifiedRegion (unsigned long id)
void DeleteSpecifiedRegion (unsigned long id)
unsigned long GetNumberOfExtractedRegions ()
virtual void SetExtractionMode (int _arg)
virtual int GetExtractionMode ()
void SetExtractionModeToPointSeededRegions ()
void SetExtractionModeToCellSeededRegions ()
void SetExtractionModeToSpecifiedRegions ()
void SetExtractionModeToLargestRegion ()
void SetExtractionModeToAllRegions ()
void SetExtractionModeToClosestPointRegion ()
void SetClosestPoint (InputMeshPointType &p)
InputMeshPointTypeGetClosestPoint (InputMeshPointType &p)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ConnectedRegionsMeshFilter ()
virtual ~ConnectedRegionsMeshFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void GenerateData ()
void PropagateConnectedWave ()

Detailed Description

template<class TInputMesh, class TOutputMesh>
class itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >

Extract portions of a mesh that are connected at vertices.

ConnectedRegionsMeshFilter will extract portions of a mesh that are connected at vertices. (Such connected portions of the mesh are referred to as a region.) Options exist to extract the largest region, a particular region, a region containing a specified point, or a region containing a specified cell.

Definition at line 41 of file itkConnectedRegionsMeshFilter.h.


Member Typedef Documentation

template<class TInputMesh, class TOutputMesh>
typedef InputMeshType::CellDataContainer::ConstIterator itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellDataContainerConstIterator
 

Convenient typedefs for this filter. Definition at line 85 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef InputMeshType::CellsContainer::ConstIterator itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellsContainerConstIterator
 

Convenient typedefs for this filter. Definition at line 83 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef SmartPointer<const Self> itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConstPointer
 

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 59 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::CellDataContainer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainer
 

Convenient typedefs for this filter. Definition at line 77 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::CellDataContainerPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerPointer
 

Convenient typedefs for this filter. Definition at line 79 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::CellIdentifier itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellIdentifier
 

Convenient typedefs for this filter. Definition at line 93 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::PointCellLinksContainer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainer
 

Convenient typedefs for this filter. Definition at line 92 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::CellLinksContainerPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainerPointer
 

Convenient typedefs for this filter. Definition at line 90 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::CellAutoPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellPointer
 

Convenient typedefs for this filter. Definition at line 86 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::CellsContainer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainer
 

Convenient typedefs for this filter. Definition at line 74 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::CellsContainerPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerPointer
 

Convenient typedefs for this filter. Definition at line 76 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::Pointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointer
 

Convenient typedefs for this filter.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 67 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::CellTraits::PointIdConstIterator itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdConstIterator
 

Convenient typedefs for this filter. Definition at line 88 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::PointIdentifier itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdentifier
 

Convenient typedefs for this filter. Definition at line 71 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::PointsContainerPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointsContainerPointer
 

Convenient typedefs for this filter. Definition at line 73 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh::PointType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointType
 

Convenient typedefs for this filter. Definition at line 70 of file itkConnectedRegionsMeshFilter.h.

Referenced by itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::~ConnectedRegionsMeshFilter().

template<class TInputMesh, class TOutputMesh>
typedef TInputMesh itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshType
 

Convenient typedefs for this filter.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 65 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TOutputMesh::Pointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshPointer
 

Convenient typedefs for this filter.

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 68 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef TOutputMesh itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType
 

Convenient typedefs for this filter.

Reimplemented from itk::MeshSource< TOutputMesh >.

Definition at line 66 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef SmartPointer<Self> itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Pointer
 

Smart pointer typedef support

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 58 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef InputMeshType::PointsContainer::ConstIterator itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PointsContainerConstIterator
 

Convenient typedefs for this filter. Definition at line 81 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
typedef ConnectedRegionsMeshFilter itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Self
 

Standard class typedefs.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 48 of file itkConnectedRegionsMeshFilter.h.

Referenced by itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::~ConnectedRegionsMeshFilter().

template<class TInputMesh, class TOutputMesh>
typedef MeshToMeshFilter<TInputMesh,TOutputMesh> itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Superclass
 

Standard "Superclass" typedef.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Definition at line 53 of file itkConnectedRegionsMeshFilter.h.


Member Enumeration Documentation

template<class TInputMesh, class TOutputMesh>
anonymous enum
 

Different modes of operation. Use these to specify how to extract the regions.

Enumeration values:
PointSeededRegions 
CellSeededRegions 
SpecifiedRegions 
LargestRegion 
AllRegions 
ClosestPointRegion 
Definition at line 105 of file itkConnectedRegionsMeshFilter.h.


Constructor & Destructor Documentation

template<class TInputMesh, class TOutputMesh>
itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConnectedRegionsMeshFilter  )  [protected]
 

template<class TInputMesh, class TOutputMesh>
virtual itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::~ConnectedRegionsMeshFilter  )  [inline, protected, virtual]
 

Definition at line 191 of file itkConnectedRegionsMeshFilter.h.

References itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointType, and itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Self.


Member Function Documentation

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::AddSeed unsigned long  id  )  [inline]
 

Add a seed id (point or cell id). Note: ids are 0-offset. Definition at line 143 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::AddSpecifiedRegion unsigned long  id  )  [inline]
 

Add a region id to extract. Note: ids are 0-offset. Definition at line 160 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::DeleteSeed unsigned long  id  ) 
 

Delete a seed id (point or cell id). Note: ids are 0-offset.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::DeleteSpecifiedRegion unsigned long  id  ) 
 

Delete a region id to extract. Note: ids are 0-offset.

template<class TInputMesh, class TOutputMesh>
virtual void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GenerateData void   )  [protected, virtual]
 

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<class TInputMesh, class TOutputMesh>
InputMeshPointType& itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GetClosestPoint InputMeshPointType p  )  [inline]
 

Use to specify x-y-z point coordinates when extracting the region closest to a specified point. Definition at line 180 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
virtual int itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GetExtractionMode  )  [virtual]
 

Methods specify mode of operation for the filter. Note that some modes require additional information. For example, SetExtractionModeToClosestPointRegion() also requires that a point be defined.

template<class TInputMesh, class TOutputMesh>
unsigned long itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GetNumberOfExtractedRegions  ) 
 

Obtain the number of connected regions.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InitializeSeedList  )  [inline]
 

Initialize list of point ids/cell ids used to seed regions. Definition at line 137 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InitializeSpecifiedRegionList  )  [inline]
 

Initialize list of region ids to extract. Definition at line 154 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::itkStaticConstMacro PointDimension  ,
unsigned  int,
TInputMesh::PointDimension 
 

Convenient typedefs for this filter.

template<class TInputMesh, class TOutputMesh>
Pointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

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.

Reimplemented from itk::MeshSource< TOutputMesh >.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PropagateConnectedWave  )  [protected]
 

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetClosestPoint InputMeshPointType p  )  [inline]
 

Use to specify x-y-z point coordinates when extracting the region closest to a specified point. Definition at line 172 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
virtual void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionMode int  _arg  )  [virtual]
 

Methods specify mode of operation for the filter. Note that some modes require additional information. For example, SetExtractionModeToClosestPointRegion() also requires that a point be defined.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToAllRegions  )  [inline]
 

Methods specify mode of operation for the filter. Note that some modes require additional information. For example, SetExtractionModeToClosestPointRegion() also requires that a point be defined. Definition at line 128 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToCellSeededRegions  )  [inline]
 

Methods specify mode of operation for the filter. Note that some modes require additional information. For example, SetExtractionModeToClosestPointRegion() also requires that a point be defined. Definition at line 122 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToClosestPointRegion  )  [inline]
 

Methods specify mode of operation for the filter. Note that some modes require additional information. For example, SetExtractionModeToClosestPointRegion() also requires that a point be defined. Definition at line 130 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToLargestRegion  )  [inline]
 

Methods specify mode of operation for the filter. Note that some modes require additional information. For example, SetExtractionModeToClosestPointRegion() also requires that a point be defined. Definition at line 126 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToPointSeededRegions  )  [inline]
 

Methods specify mode of operation for the filter. Note that some modes require additional information. For example, SetExtractionModeToClosestPointRegion() also requires that a point be defined. Definition at line 120 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh, class TOutputMesh>
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToSpecifiedRegions  )  [inline]
 

Methods specify mode of operation for the filter. Note that some modes require additional information. For example, SetExtractionModeToClosestPointRegion() also requires that a point be defined. Definition at line 124 of file itkConnectedRegionsMeshFilter.h.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:36:34 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000