ITK
5.0.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 } |
using | CellDataContainerConstIterator = typename InputMeshType::CellDataContainer::ConstIterator |
using | CellsContainerConstIterator = typename InputMeshType::CellsContainer::ConstIterator |
using | ConstPointer = SmartPointer< const Self > |
using | InputMeshCellDataContainer = typename TInputMesh::CellDataContainer |
using | InputMeshCellDataContainerConstPointer = typename TInputMesh::CellDataContainerConstPointer |
using | InputMeshCellDataContainerPointer = typename TInputMesh::CellDataContainerPointer |
using | InputMeshCellIdentifier = typename TInputMesh::CellIdentifier |
using | InputMeshCellLinksContainer = typename TInputMesh::PointCellLinksContainer |
using | InputMeshCellLinksContainerConstPointer = typename TInputMesh::CellLinksContainerConstPointer |
using | InputMeshCellPointer = typename TInputMesh::CellAutoPointer |
using | InputMeshCellsContainer = typename TInputMesh::CellsContainer |
using | InputMeshCellsContainerConstPointer = typename TInputMesh::CellsContainerConstPointer |
using | InputMeshCellsContainerPointer = typename TInputMesh::CellsContainerPointer |
using | InputMeshConstPointer = typename TInputMesh::ConstPointer |
using | InputMeshPointIdConstIterator = typename TInputMesh::CellTraits::PointIdConstIterator |
using | InputMeshPointIdentifier = typename TInputMesh::PointIdentifier |
using | InputMeshPointsContainerConstPointer = typename TInputMesh::PointsContainerConstPointer |
using | InputMeshPointType = typename TInputMesh::PointType |
using | InputMeshType = TInputMesh |
using | OutputMeshPointer = typename TOutputMesh::Pointer |
using | OutputMeshType = TOutputMesh |
using | Pointer = SmartPointer< Self > |
using | PointsContainerConstIterator = typename InputMeshType::PointsContainer::ConstIterator |
using | Self = ConnectedRegionsMeshFilter |
using | Superclass = MeshToMeshFilter< TInputMesh, TOutputMesh > |
Public Types inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputMeshPointer = typename InputMeshType::Pointer |
using | InputMeshType = TInputMesh |
using | OutputMeshPointer = typename OutputMeshType::Pointer |
using | OutputMeshType = TOutputMesh |
using | Pointer = SmartPointer< Self > |
using | Self = MeshToMeshFilter |
using | Superclass = MeshSource< TOutputMesh > |
Public Types inherited from itk::MeshSource< TOutputMesh > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | OutputMeshPointer = typename OutputMeshType::Pointer |
using | OutputMeshType = TOutputMesh |
using | Pointer = SmartPointer< Self > |
using | Self = MeshSource |
using | Superclass = ProcessObject |
using | DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
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 Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | PointDimension = TInputMesh::PointDimension |
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 {nullptr} |
std::vector< IdentifierType > * | m_Wave2 {nullptr} |
Additional Inherited Members | |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellDataContainerConstIterator = typename InputMeshType::CellDataContainer::ConstIterator |
Definition at line 98 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellsContainerConstIterator = typename InputMeshType::CellsContainer::ConstIterator |
Definition at line 97 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConstPointer = SmartPointer< const Self > |
Definition at line 70 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainer = typename TInputMesh::CellDataContainer |
Definition at line 93 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerConstPointer = typename TInputMesh::CellDataContainerConstPointer |
Definition at line 95 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerPointer = typename TInputMesh::CellDataContainerPointer |
Definition at line 94 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellIdentifier = typename TInputMesh::CellIdentifier |
Definition at line 103 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainer = typename TInputMesh::PointCellLinksContainer |
Definition at line 102 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainerConstPointer = typename TInputMesh::CellLinksContainerConstPointer |
Definition at line 101 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellPointer = typename TInputMesh::CellAutoPointer |
Definition at line 99 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainer = typename TInputMesh::CellsContainer |
Definition at line 90 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerConstPointer = typename TInputMesh::CellsContainerConstPointer |
Definition at line 92 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerPointer = typename TInputMesh::CellsContainerPointer |
Definition at line 91 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshConstPointer = typename TInputMesh::ConstPointer |
Definition at line 82 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdConstIterator = typename TInputMesh::CellTraits::PointIdConstIterator |
Definition at line 100 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdentifier = typename TInputMesh::PointIdentifier |
Definition at line 88 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointsContainerConstPointer = typename TInputMesh::PointsContainerConstPointer |
Definition at line 89 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointType = typename TInputMesh::PointType |
Definition at line 87 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshType = TInputMesh |
Convenient type alias for this filter.
Definition at line 80 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshPointer = typename TOutputMesh::Pointer |
Definition at line 83 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType = TOutputMesh |
Definition at line 81 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Pointer = SmartPointer< Self > |
Smart pointer type alias support
Definition at line 69 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PointsContainerConstIterator = typename InputMeshType::PointsContainer::ConstIterator |
Definition at line 96 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Self = ConnectedRegionsMeshFilter |
Standard class type aliases.
Definition at line 59 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Superclass = MeshToMeshFilter< TInputMesh, TOutputMesh > |
Standard "Superclass" type alias.
Definition at line 64 of file itkConnectedRegionsMeshFilter.h.
anonymous enum |
Different modes of operation. Use these to specify how to extract the regions.
Enumerator | |
---|---|
PointSeededRegions | |
CellSeededRegions | |
SpecifiedRegions | |
LargestRegion | |
AllRegions | |
ClosestPointRegion |
Definition at line 109 of file itkConnectedRegionsMeshFilter.h.
|
protected |
|
overrideprotecteddefault |
|
inline |
Add a seed id (point or cell id). Note: ids are 0-offset.
Definition at line 169 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Add a region id to extract. Note: ids are 0-offset.
Definition at line 194 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.
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
|
inline |
Definition at line 220 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 228 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Initialize list of point ids/cell ids used to seed regions.
Definition at line 159 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Initialize list of region ids to extract.
Definition at line 184 of file itkConnectedRegionsMeshFilter.h.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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 210 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 146 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 131 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 151 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 141 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 126 of file itkConnectedRegionsMeshFilter.h.
|
inline |
Definition at line 136 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 247 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 246 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 253 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 249 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 254 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 250 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 248 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 252 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 255 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 256 of file itkConnectedRegionsMeshFilter.h.
|
static |
Definition at line 85 of file itkConnectedRegionsMeshFilter.h.