#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> |
![]() | |
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> |
![]() | |
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 |
![]() | |
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 |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
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 | |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellDataContainerConstIterator = typename InputMeshType::CellDataContainer::ConstIterator |
Definition at line 101 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellsContainerConstIterator = typename InputMeshType::CellsContainer::ConstIterator |
Definition at line 100 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConstPointer = SmartPointer<const Self> |
Definition at line 69 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainer = typename TInputMesh::CellDataContainer |
Definition at line 96 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerConstPointer = typename TInputMesh::CellDataContainerConstPointer |
Definition at line 98 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerPointer = typename TInputMesh::CellDataContainerPointer |
Definition at line 97 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellIdentifier = typename TInputMesh::CellIdentifier |
Definition at line 106 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainer = typename TInputMesh::PointCellLinksContainer |
Definition at line 105 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainerConstPointer = typename TInputMesh::CellLinksContainerConstPointer |
Definition at line 104 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellPointer = typename TInputMesh::CellAutoPointer |
Definition at line 102 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainer = typename TInputMesh::CellsContainer |
Definition at line 93 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerConstPointer = typename TInputMesh::CellsContainerConstPointer |
Definition at line 95 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerPointer = typename TInputMesh::CellsContainerPointer |
Definition at line 94 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshConstPointer = typename TInputMesh::ConstPointer |
Definition at line 85 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdConstIterator = typename TInputMesh::CellTraits::PointIdConstIterator |
Definition at line 103 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdentifier = typename TInputMesh::PointIdentifier |
Definition at line 91 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointsContainerConstPointer = typename TInputMesh::PointsContainerConstPointer |
Definition at line 92 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointType = typename TInputMesh::PointType |
Definition at line 90 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshType = TInputMesh |
Convenient type alias for this filter.
Definition at line 83 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshPointer = typename TOutputMesh::Pointer |
Definition at line 86 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType = TOutputMesh |
Definition at line 84 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Pointer = SmartPointer<Self> |
Smart pointer type alias support
Definition at line 68 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PointsContainerConstIterator = typename InputMeshType::PointsContainer::ConstIterator |
Definition at line 99 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Self = ConnectedRegionsMeshFilter |
Standard class type aliases.
Definition at line 58 of file itkConnectedRegionsMeshFilter.h.
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Superclass = MeshToMeshFilter<TInputMesh, TOutputMesh> |
Standard "Superclass" type alias.
Definition at line 63 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 112 of file itkConnectedRegionsMeshFilter.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
inline |
Add a seed id (point or cell id). Note: ids are 0-offset.
Definition at line 183 of file itkConnectedRegionsMeshFilter.h.
References m_SeedList, and itk::Object::Modified().
|
inline |
Add a region id to extract. Note: ids are 0-offset.
Definition at line 211 of file itkConnectedRegionsMeshFilter.h.
References m_RegionList, and itk::Object::Modified().
|
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::LightObject.
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 240 of file itkConnectedRegionsMeshFilter.h.
References m_ClosestPoint.
|
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.
|
overridevirtual |
Reimplemented from itk::LightObject.
References ConnectedRegionsMeshFilter().
|
inline |
Obtain the number of connected regions.
Definition at line 249 of file itkConnectedRegionsMeshFilter.h.
References m_RegionNumber.
|
inline |
Initialize list of point ids/cell ids used to seed regions.
Definition at line 172 of file itkConnectedRegionsMeshFilter.h.
References m_SeedList, and itk::Object::Modified().
|
inline |
Initialize list of region ids to extract.
Definition at line 200 of file itkConnectedRegionsMeshFilter.h.
References m_RegionList, and itk::Object::Modified().
|
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::LightObject.
|
protected |
|
inline |
Use to specify x-y-z point coordinates when extracting the region closest to a specified point.
Definition at line 229 of file itkConnectedRegionsMeshFilter.h.
References m_ClosestPoint, and itk::Object::Modified().
|
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.
Referenced by SetExtractionModeToAllRegions(), SetExtractionModeToCellSeededRegions(), SetExtractionModeToClosestPointRegion(), SetExtractionModeToLargestRegion(), SetExtractionModeToPointSeededRegions(), and SetExtractionModeToSpecifiedRegions().
|
inline |
Definition at line 157 of file itkConnectedRegionsMeshFilter.h.
References AllRegions, and SetExtractionMode().
|
inline |
Definition at line 139 of file itkConnectedRegionsMeshFilter.h.
References CellSeededRegions, and SetExtractionMode().
|
inline |
Definition at line 163 of file itkConnectedRegionsMeshFilter.h.
References ClosestPointRegion, and SetExtractionMode().
|
inline |
Definition at line 151 of file itkConnectedRegionsMeshFilter.h.
References LargestRegion, and SetExtractionMode().
|
inline |
Definition at line 133 of file itkConnectedRegionsMeshFilter.h.
References PointSeededRegions, and SetExtractionMode().
|
inline |
Definition at line 145 of file itkConnectedRegionsMeshFilter.h.
References SetExtractionMode(), and SpecifiedRegions.
|
private |
Definition at line 269 of file itkConnectedRegionsMeshFilter.h.
Referenced by GetClosestPoint(), and SetClosestPoint().
|
private |
Definition at line 268 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 275 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 271 of file itkConnectedRegionsMeshFilter.h.
Referenced by AddSpecifiedRegion(), and InitializeSpecifiedRegionList().
|
private |
Definition at line 276 of file itkConnectedRegionsMeshFilter.h.
Referenced by GetNumberOfExtractedRegions().
|
private |
Definition at line 272 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 270 of file itkConnectedRegionsMeshFilter.h.
Referenced by AddSeed(), and InitializeSeedList().
|
private |
Definition at line 274 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 277 of file itkConnectedRegionsMeshFilter.h.
|
private |
Definition at line 278 of file itkConnectedRegionsMeshFilter.h.
|
staticconstexpr |
Definition at line 88 of file itkConnectedRegionsMeshFilter.h.