ITK  5.4.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh > Class Template Reference

#include <itkConnectedRegionsMeshFilter.h>

Detailed Description

template<typename TInputMesh, typename 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 50 of file itkConnectedRegionsMeshFilter.h.

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

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
 

Public Member Functions

void DeleteSeed (IdentifierType id)
 
void DeleteSpecifiedRegion (IdentifierType id)
 
InputMeshPointTypeGetClosestPoint (InputMeshPointType &)
 
const char * GetNameOfClass () const override
 
SizeValueType GetNumberOfExtractedRegions ()
 
void SetExtractionModeToAllRegions ()
 
void SetExtractionModeToCellSeededRegions ()
 
void SetExtractionModeToClosestPointRegion ()
 
void SetExtractionModeToLargestRegion ()
 
void SetExtractionModeToPointSeededRegions ()
 
void SetExtractionModeToSpecifiedRegions ()
 
virtual void SetExtractionMode (int _arg)
 
virtual int GetExtractionMode () const
 
void InitializeSeedList ()
 
void AddSeed (IdentifierType id)
 
void InitializeSpecifiedRegionList ()
 
void AddSpecifiedRegion (IdentifierType id)
 
void SetClosestPoint (InputMeshPointType &p)
 
- Public Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
const InputMeshTypeGetInput () const
 
const InputMeshTypeGetInput (unsigned int idx) const
 
const char * GetNameOfClass () const override
 
void SetInput (const InputMeshType *input)
 
- Public Member Functions inherited from itk::MeshSource< TOutputMesh >
OutputMeshTypeGetOutput ()
 
OutputMeshTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
void SetOutput (TOutputMesh *output)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int PointDimension = TInputMesh::PointDimension
 

Protected Member Functions

 ConnectedRegionsMeshFilter ()
 
void GenerateData () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void PropagateConnectedWave ()
 
 ~ConnectedRegionsMeshFilter () override=default
 
- Protected Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
void CopyInputMeshToOutputMeshCellData ()
 
void CopyInputMeshToOutputMeshCellLinks ()
 
void CopyInputMeshToOutputMeshCells ()
 
void CopyInputMeshToOutputMeshPointData ()
 
void CopyInputMeshToOutputMeshPoints ()
 
 MeshToMeshFilter ()
 
 ~MeshToMeshFilter () override=default
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~MeshSource () override=default
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation () ITKv5_CONST
 
virtual void VerifyPreconditions () ITKv5_CONST
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

InputMeshPointType m_ClosestPoint {}
 
int m_ExtractionMode {}
 
SizeValueType m_NumberOfCellsInRegion {}
 
std::vector< IdentifierTypem_RegionList {}
 
IdentifierType m_RegionNumber {}
 
std::vector< SizeValueTypem_RegionSizes {}
 
std::vector< IdentifierTypem_SeedList {}
 
std::vector< OffsetValueTypem_Visited {}
 
std::vector< IdentifierType > * m_Wave { nullptr }
 
std::vector< IdentifierType > * m_Wave2 { nullptr }
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ CellDataContainerConstIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellDataContainerConstIterator = typename InputMeshType::CellDataContainer::ConstIterator

Definition at line 101 of file itkConnectedRegionsMeshFilter.h.

◆ CellsContainerConstIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CellsContainerConstIterator = typename InputMeshType::CellsContainer::ConstIterator

Definition at line 100 of file itkConnectedRegionsMeshFilter.h.

◆ ConstPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConstPointer = SmartPointer<const Self>

Definition at line 69 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellDataContainer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainer = typename TInputMesh::CellDataContainer

Definition at line 96 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellDataContainerConstPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerConstPointer = typename TInputMesh::CellDataContainerConstPointer

Definition at line 98 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellDataContainerPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerPointer = typename TInputMesh::CellDataContainerPointer

Definition at line 97 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellIdentifier = typename TInputMesh::CellIdentifier

Definition at line 106 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellLinksContainer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainer = typename TInputMesh::PointCellLinksContainer

Definition at line 105 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellLinksContainerConstPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainerConstPointer = typename TInputMesh::CellLinksContainerConstPointer

Definition at line 104 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellPointer = typename TInputMesh::CellAutoPointer

Definition at line 102 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellsContainer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainer = typename TInputMesh::CellsContainer

Definition at line 93 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellsContainerConstPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerConstPointer = typename TInputMesh::CellsContainerConstPointer

Definition at line 95 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshCellsContainerPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerPointer = typename TInputMesh::CellsContainerPointer

Definition at line 94 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshConstPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshConstPointer = typename TInputMesh::ConstPointer

Definition at line 85 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshPointIdConstIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdConstIterator = typename TInputMesh::CellTraits::PointIdConstIterator

Definition at line 103 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshPointIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointIdentifier = typename TInputMesh::PointIdentifier

Definition at line 91 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshPointsContainerConstPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointsContainerConstPointer = typename TInputMesh::PointsContainerConstPointer

Definition at line 92 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshPointType

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointType = typename TInputMesh::PointType

Definition at line 90 of file itkConnectedRegionsMeshFilter.h.

◆ InputMeshType

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshType = TInputMesh

Convenient type alias for this filter.

Definition at line 83 of file itkConnectedRegionsMeshFilter.h.

◆ OutputMeshPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshPointer = typename TOutputMesh::Pointer

Definition at line 86 of file itkConnectedRegionsMeshFilter.h.

◆ OutputMeshType

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType = TOutputMesh

Definition at line 84 of file itkConnectedRegionsMeshFilter.h.

◆ Pointer

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Pointer = SmartPointer<Self>

Smart pointer type alias support

Definition at line 68 of file itkConnectedRegionsMeshFilter.h.

◆ PointsContainerConstIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PointsContainerConstIterator = typename InputMeshType::PointsContainer::ConstIterator

Definition at line 99 of file itkConnectedRegionsMeshFilter.h.

◆ Self

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Self = ConnectedRegionsMeshFilter

Standard class type aliases.

Definition at line 58 of file itkConnectedRegionsMeshFilter.h.

◆ Superclass

template<typename TInputMesh , typename TOutputMesh >
using itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::Superclass = MeshToMeshFilter<TInputMesh, TOutputMesh>

Standard "Superclass" type alias.

Definition at line 63 of file itkConnectedRegionsMeshFilter.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename TInputMesh , typename TOutputMesh >
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.

Constructor & Destructor Documentation

◆ ConnectedRegionsMeshFilter()

template<typename TInputMesh , typename TOutputMesh >
itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConnectedRegionsMeshFilter ( )
protected

◆ ~ConnectedRegionsMeshFilter()

template<typename TInputMesh , typename TOutputMesh >
itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::~ConnectedRegionsMeshFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ AddSeed()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::AddSeed ( IdentifierType  id)
inline

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

Definition at line 183 of file itkConnectedRegionsMeshFilter.h.

◆ AddSpecifiedRegion()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::AddSpecifiedRegion ( IdentifierType  id)
inline

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

Definition at line 211 of file itkConnectedRegionsMeshFilter.h.

◆ DeleteSeed()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::DeleteSeed ( IdentifierType  id)

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

◆ DeleteSpecifiedRegion()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::DeleteSpecifiedRegion ( IdentifierType  id)

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

◆ GenerateData()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GenerateData ( )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

◆ GetClosestPoint()

template<typename TInputMesh , typename TOutputMesh >
InputMeshPointType& itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GetClosestPoint ( InputMeshPointType )
inline

Definition at line 240 of file itkConnectedRegionsMeshFilter.h.

◆ GetExtractionMode()

template<typename TInputMesh , typename TOutputMesh >
virtual int itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GetExtractionMode ( ) const
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.

◆ GetNameOfClass()

template<typename TInputMesh , typename TOutputMesh >
const char* itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GetNameOfClass ( ) const
overridevirtual

◆ GetNumberOfExtractedRegions()

template<typename TInputMesh , typename TOutputMesh >
SizeValueType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::GetNumberOfExtractedRegions ( )
inline

Obtain the number of connected regions.

Definition at line 249 of file itkConnectedRegionsMeshFilter.h.

◆ InitializeSeedList()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InitializeSeedList ( )
inline

Initialize list of point ids/cell ids used to seed regions.

Definition at line 172 of file itkConnectedRegionsMeshFilter.h.

◆ InitializeSpecifiedRegionList()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InitializeSpecifiedRegionList ( )
inline

Initialize list of region ids to extract.

Definition at line 200 of file itkConnectedRegionsMeshFilter.h.

◆ New()

template<typename TInputMesh , typename TOutputMesh >
static Pointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
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.

◆ PropagateConnectedWave()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PropagateConnectedWave ( )
protected

◆ SetClosestPoint()

template<typename TInputMesh , typename 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 229 of file itkConnectedRegionsMeshFilter.h.

◆ SetExtractionMode()

template<typename TInputMesh , typename 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.

◆ SetExtractionModeToAllRegions()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToAllRegions ( )
inline

Definition at line 157 of file itkConnectedRegionsMeshFilter.h.

◆ SetExtractionModeToCellSeededRegions()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToCellSeededRegions ( )
inline

Definition at line 139 of file itkConnectedRegionsMeshFilter.h.

◆ SetExtractionModeToClosestPointRegion()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToClosestPointRegion ( )
inline

Definition at line 163 of file itkConnectedRegionsMeshFilter.h.

◆ SetExtractionModeToLargestRegion()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToLargestRegion ( )
inline

Definition at line 151 of file itkConnectedRegionsMeshFilter.h.

◆ SetExtractionModeToPointSeededRegions()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToPointSeededRegions ( )
inline

Definition at line 133 of file itkConnectedRegionsMeshFilter.h.

◆ SetExtractionModeToSpecifiedRegions()

template<typename TInputMesh , typename TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::SetExtractionModeToSpecifiedRegions ( )
inline

Definition at line 145 of file itkConnectedRegionsMeshFilter.h.

Member Data Documentation

◆ m_ClosestPoint

template<typename TInputMesh , typename TOutputMesh >
InputMeshPointType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_ClosestPoint {}
private

Definition at line 269 of file itkConnectedRegionsMeshFilter.h.

◆ m_ExtractionMode

template<typename TInputMesh , typename TOutputMesh >
int itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_ExtractionMode {}
private

Definition at line 268 of file itkConnectedRegionsMeshFilter.h.

◆ m_NumberOfCellsInRegion

template<typename TInputMesh , typename TOutputMesh >
SizeValueType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_NumberOfCellsInRegion {}
private

Definition at line 275 of file itkConnectedRegionsMeshFilter.h.

◆ m_RegionList

template<typename TInputMesh , typename TOutputMesh >
std::vector<IdentifierType> itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_RegionList {}
private

Definition at line 271 of file itkConnectedRegionsMeshFilter.h.

◆ m_RegionNumber

template<typename TInputMesh , typename TOutputMesh >
IdentifierType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_RegionNumber {}
private

Definition at line 276 of file itkConnectedRegionsMeshFilter.h.

◆ m_RegionSizes

template<typename TInputMesh , typename TOutputMesh >
std::vector<SizeValueType> itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_RegionSizes {}
private

Definition at line 272 of file itkConnectedRegionsMeshFilter.h.

◆ m_SeedList

template<typename TInputMesh , typename TOutputMesh >
std::vector<IdentifierType> itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_SeedList {}
private

Definition at line 270 of file itkConnectedRegionsMeshFilter.h.

◆ m_Visited

template<typename TInputMesh , typename TOutputMesh >
std::vector<OffsetValueType> itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_Visited {}
private

Definition at line 274 of file itkConnectedRegionsMeshFilter.h.

◆ m_Wave

template<typename TInputMesh , typename TOutputMesh >
std::vector<IdentifierType>* itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_Wave { nullptr }
private

Definition at line 277 of file itkConnectedRegionsMeshFilter.h.

◆ m_Wave2

template<typename TInputMesh , typename TOutputMesh >
std::vector<IdentifierType>* itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_Wave2 { nullptr }
private

Definition at line 278 of file itkConnectedRegionsMeshFilter.h.

◆ PointDimension

template<typename TInputMesh , typename TOutputMesh >
constexpr unsigned int itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PointDimension = TInputMesh::PointDimension
staticconstexpr

Definition at line 88 of file itkConnectedRegionsMeshFilter.h.


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