ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkConnectedRegionsMeshFilter.h>
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 50 of file itkConnectedRegionsMeshFilter.h.
Public Types | |
enum | { PointSeededRegions = 0, CellSeededRegions = 1, SpecifiedRegions = 2, LargestRegion = 3, AllRegions = 4, ClosestPointRegion = 5 } |
typedef InputMeshType::CellDataContainer::ConstIterator | CellDataContainerConstIterator |
typedef InputMeshType::CellsContainer::ConstIterator | CellsContainerConstIterator |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputMesh::CellDataContainer | InputMeshCellDataContainer |
typedef TInputMesh::CellDataContainerConstPointer | InputMeshCellDataContainerConstPointer |
typedef TInputMesh::CellDataContainerPointer | InputMeshCellDataContainerPointer |
typedef TInputMesh::CellIdentifier | InputMeshCellIdentifier |
typedef TInputMesh::PointCellLinksContainer | InputMeshCellLinksContainer |
typedef TInputMesh::CellLinksContainerConstPointer | InputMeshCellLinksContainerConstPointer |
typedef TInputMesh::CellAutoPointer | InputMeshCellPointer |
typedef TInputMesh::CellsContainer | InputMeshCellsContainer |
typedef TInputMesh::CellsContainerConstPointer | InputMeshCellsContainerConstPointer |
typedef TInputMesh::CellsContainerPointer | InputMeshCellsContainerPointer |
typedef TInputMesh::ConstPointer | InputMeshConstPointer |
typedef TInputMesh::CellTraits::PointIdConstIterator | InputMeshPointIdConstIterator |
typedef TInputMesh::PointIdentifier | InputMeshPointIdentifier |
typedef TInputMesh::PointsContainerConstPointer | InputMeshPointsContainerConstPointer |
typedef TInputMesh::PointType | InputMeshPointType |
typedef TInputMesh | InputMeshType |
typedef TOutputMesh::Pointer | OutputMeshPointer |
typedef TOutputMesh | OutputMeshType |
typedef SmartPointer< Self > | Pointer |
typedef InputMeshType::PointsContainer::ConstIterator | PointsContainerConstIterator |
typedef ConnectedRegionsMeshFilter | Self |
typedef MeshToMeshFilter < TInputMesh, TOutputMesh > | Superclass |
Public Types inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputMeshType::Pointer | InputMeshPointer |
typedef TInputMesh | InputMeshType |
typedef OutputMeshType::Pointer | OutputMeshPointer |
typedef TOutputMesh | OutputMeshType |
typedef SmartPointer< Self > | Pointer |
typedef MeshToMeshFilter | Self |
typedef MeshSource< TOutputMesh > | Superclass |
Public Types inherited from itk::MeshSource< TOutputMesh > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef OutputMeshType::Pointer | OutputMeshPointer |
typedef TOutputMesh | OutputMeshType |
typedef SmartPointer< Self > | Pointer |
typedef MeshSource | Self |
typedef ProcessObject | Superclass |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MeshSource< TOutputMesh > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | PointDimension = TInputMesh::PointDimension |
Private Member Functions | |
ConnectedRegionsMeshFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
InputMeshPointType | m_ClosestPoint |
int | m_ExtractionMode |
SizeValueType | m_NumberOfCellsInRegion |
std::vector< IdentifierType > | m_RegionList |
IdentifierType | m_RegionNumber |
std::vector< SizeValueType > | m_RegionSizes |
std::vector< IdentifierType > | m_SeedList |
std::vector< OffsetValueType > | m_Visited |
std::vector< IdentifierType > * | m_Wave |
std::vector< IdentifierType > * | m_Wave2 |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
typedef InputMeshType::CellDataContainer::ConstIterator itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellDataContainerConstIterator |
Definition at line 97 of file itkConnectedRegionsMeshFilter.h.
typedef InputMeshType::CellsContainer::ConstIterator itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellsContainerConstIterator |
Definition at line 96 of file itkConnectedRegionsMeshFilter.h.
typedef SmartPointer< const Self > itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConstPointer |
Definition at line 68 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellDataContainer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainer |
Definition at line 92 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellDataContainerConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerConstPointer |
Definition at line 94 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellDataContainerPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerPointer |
Definition at line 93 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellIdentifier itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellIdentifier |
Definition at line 102 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::PointCellLinksContainer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainer |
Definition at line 101 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellLinksContainerConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainerConstPointer |
Definition at line 100 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellAutoPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellPointer |
Definition at line 98 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellsContainer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainer |
Definition at line 89 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellsContainerConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerConstPointer |
Definition at line 91 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellsContainerPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerPointer |
Definition at line 90 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::ConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshConstPointer |
Definition at line 80 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::CellTraits::PointIdConstIterator itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdConstIterator |
Definition at line 99 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::PointIdentifier itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdentifier |
Definition at line 87 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::PointsContainerConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointsContainerConstPointer |
Definition at line 88 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh::PointType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointType |
Definition at line 86 of file itkConnectedRegionsMeshFilter.h.
typedef TInputMesh itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshType |
Convenient typedefs for this filter.
Definition at line 73 of file itkConnectedRegionsMeshFilter.h.
typedef TOutputMesh::Pointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshPointer |
Definition at line 81 of file itkConnectedRegionsMeshFilter.h.
typedef TOutputMesh itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType |
Definition at line 79 of file itkConnectedRegionsMeshFilter.h.
typedef SmartPointer< Self > itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Pointer |
Smart pointer typedef support
Definition at line 67 of file itkConnectedRegionsMeshFilter.h.
typedef InputMeshType::PointsContainer::ConstIterator itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PointsContainerConstIterator |
Definition at line 95 of file itkConnectedRegionsMeshFilter.h.
typedef ConnectedRegionsMeshFilter itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Self |
Standard class typedefs.
Definition at line 57 of file itkConnectedRegionsMeshFilter.h.
typedef MeshToMeshFilter< TInputMesh, TOutputMesh > itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Superclass |
Standard "Superclass" typedef.
Definition at line 62 of file itkConnectedRegionsMeshFilter.h.
anonymous enum |
Different modes of operation. Use these to specify how to extract the regions.
PointSeededRegions | |
CellSeededRegions | |
SpecifiedRegions | |
LargestRegion | |
AllRegions | |
ClosestPointRegion |
Definition at line 108 of file itkConnectedRegionsMeshFilter.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 235 of file itkConnectedRegionsMeshFilter.h.
|
private |
|
inline |
Add a seed id (point or cell id). Note: ids are 0-offset.
Definition at line 168 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Add a region id to extract. Note: ids are 0-offset.
Definition at line 193 of file itkConnectedRegionsMeshFilter.h.
|
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::Object.
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::DeleteSeed | ( | IdentifierType | id | ) |
Delete a seed id (point or cell id). Note: ids are 0-offset.
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::DeleteSpecifiedRegion | ( | IdentifierType | id | ) |
Delete a region id to extract. Note: ids are 0-offset.
|
protectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
|
inline |
Definition at line 219 of file itkConnectedRegionsMeshFilter.h.
|
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.
|
inline |
Obtain the number of connected regions.
Definition at line 227 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Initialize list of point ids/cell ids used to seed regions.
Definition at line 158 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Initialize list of region ids to extract.
Definition at line 183 of file itkConnectedRegionsMeshFilter.h.
|
static |
Method for creation through the object factory.
|
private |
|
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.
Reimplemented from itk::ProcessObject.
|
protected |
|
inline |
Use to specify x-y-z point coordinates when extracting the region closest to a specified point.
Definition at line 209 of file itkConnectedRegionsMeshFilter.h.
|
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.
|
inline |
Definition at line 145 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 130 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 150 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 140 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 125 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 135 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 249 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 248 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 255 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 251 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 256 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 252 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 250 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 254 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 257 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 258 of file itkConnectedRegionsMeshFilter.h.
|
static |
Definition at line 84 of file itkConnectedRegionsMeshFilter.h.