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

#include <itkConnectedRegionsMeshFilter.h>

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

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 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 SelfConstPointer
 
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< SelfPointer
 
typedef
InputMeshType::PointsContainer::ConstIterator 
PointsContainerConstIterator
 
typedef ConnectedRegionsMeshFilter Self
 
typedef MeshToMeshFilter
< TInputMesh, TOutputMesh > 
Superclass
 
- Public Types inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
typedef SmartPointer< const SelfConstPointer
 
typedef InputMeshType::Pointer InputMeshPointer
 
typedef TInputMesh InputMeshType
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef MeshToMeshFilter Self
 
typedef MeshSource< TOutputMesh > Superclass
 
- Public Types inherited from itk::MeshSource< TOutputMesh >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef MeshSource Self
 
typedef ProcessObject Superclass
 
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void DeleteSeed (IdentifierType id)
 
void DeleteSpecifiedRegion (IdentifierType id)
 
InputMeshPointTypeGetClosestPoint (InputMeshPointType &)
 
SizeValueType GetNumberOfExtractedRegions ()
 
void SetExtractionModeToAllRegions (void)
 
void SetExtractionModeToCellSeededRegions (void)
 
void SetExtractionModeToClosestPointRegion (void)
 
void SetExtractionModeToLargestRegion (void)
 
void SetExtractionModeToPointSeededRegions (void)
 
void SetExtractionModeToSpecifiedRegions (void)
 
virtual void SetExtractionMode (int _arg)
 
virtual int GetExtractionMode () const
 
void InitializeSeedList (void)
 
void AddSeed (IdentifierType id)
 
void InitializeSpecifiedRegionList (void)
 
void AddSpecifiedRegion (IdentifierType id)
 
void SetClosestPoint (InputMeshPointType &p)
 
- Public Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const InputMeshTypeGetInput (void) const
 
const InputMeshTypeGetInput (unsigned int idx) const
 
virtual const char * GetNameOfClass () const
 
void SetInput (const InputMeshType *input)
 
- Public Member Functions inherited from itk::MeshSource< TOutputMesh >
OutputMeshTypeGetOutput (void)
 
OutputMeshTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
void SetOutput (TOutputMesh *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData ()
 
NameArray GetInputNames () const
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
virtual const float & GetProgress ()
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetProgress (float _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float amount)
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArray GetOutputs ()
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) 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
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
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 Attributes

static const unsigned int PointDimension = TInputMesh::PointDimension
 

Protected Member Functions

 ConnectedRegionsMeshFilter (void)
 
virtual void GenerateData (void)
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void PropagateConnectedWave (void)
 
virtual ~ConnectedRegionsMeshFilter (void)
 
- Protected Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
void CopyInputMeshToOutputMeshCellData ()
 
void CopyInputMeshToOutputMeshCellLinks ()
 
void CopyInputMeshToOutputMeshCells ()
 
void CopyInputMeshToOutputMeshPointData ()
 
void CopyInputMeshToOutputMeshPoints ()
 
 MeshToMeshFilter ()
 
 ~MeshToMeshFilter ()
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
void GenerateInputRequestedRegion ()
 
 MeshSource ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual ~MeshSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PopBackInput ()
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void PopFrontInput ()
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 Member Functions

 ConnectedRegionsMeshFilter (const Self &)
 
void operator= (const Self &)
 

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
 
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
 

Member Typedef Documentation

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

Definition at line 97 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 96 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 68 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 92 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef TInputMesh::CellDataContainerConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellDataContainerConstPointer

Definition at line 94 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 93 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 102 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 101 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef TInputMesh::CellLinksContainerConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellLinksContainerConstPointer

Definition at line 100 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 98 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 89 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef TInputMesh::CellsContainerConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshCellsContainerConstPointer

Definition at line 91 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 90 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef TInputMesh::ConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshConstPointer

Definition at line 80 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 99 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 87 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
typedef TInputMesh::PointsContainerConstPointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointsContainerConstPointer

Definition at line 88 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 86 of file itkConnectedRegionsMeshFilter.h.

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

Convenient typedefs for this filter.

Definition at line 73 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 81 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 79 of file itkConnectedRegionsMeshFilter.h.

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

Smart pointer typedef support

Definition at line 67 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 95 of file itkConnectedRegionsMeshFilter.h.

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

Standard class typedefs.

Definition at line 57 of file itkConnectedRegionsMeshFilter.h.

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

Standard "Superclass" typedef.

Definition at line 62 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.

Enumerator
PointSeededRegions 
CellSeededRegions 
SpecifiedRegions 
LargestRegion 
AllRegions 
ClosestPointRegion 

Definition at line 108 of file itkConnectedRegionsMeshFilter.h.

Constructor & Destructor Documentation

template<class TInputMesh , class TOutputMesh >
itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConnectedRegionsMeshFilter ( void  )
protected
template<class TInputMesh , class TOutputMesh >
virtual itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::~ConnectedRegionsMeshFilter ( void  )
inlineprotectedvirtual

Definition at line 235 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::ConnectedRegionsMeshFilter ( const Self )
private

Member Function Documentation

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

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

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

Definition at line 193 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
virtual::itk::LightObject::Pointer itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::CreateAnother ( void  ) const
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.

template<class TInputMesh , class TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::DeleteSeed ( IdentifierType  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 ( IdentifierType  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  )
protectedvirtual

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 )
inline

Definition at line 219 of file itkConnectedRegionsMeshFilter.h.

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

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

Obtain the number of connected regions.

Definition at line 227 of file itkConnectedRegionsMeshFilter.h.

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

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

Definition at line 158 of file itkConnectedRegionsMeshFilter.h.

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

Initialize list of region ids to extract.

Definition at line 183 of file itkConnectedRegionsMeshFilter.h.

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

Method for creation through the object factory.

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

template<class TInputMesh , class TOutputMesh >
void itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PropagateConnectedWave ( void  )
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 209 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 ( void  )
inline

Definition at line 145 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 130 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 150 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 140 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 125 of file itkConnectedRegionsMeshFilter.h.

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

Definition at line 135 of file itkConnectedRegionsMeshFilter.h.

Member Data Documentation

template<class TInputMesh , class TOutputMesh >
InputMeshPointType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_ClosestPoint
private

Definition at line 249 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
int itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_ExtractionMode
private

Definition at line 248 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
SizeValueType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_NumberOfCellsInRegion
private

Definition at line 255 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
std::vector< IdentifierType > itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_RegionList
private

Definition at line 251 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
IdentifierType itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_RegionNumber
private

Definition at line 256 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
std::vector< SizeValueType > itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_RegionSizes
private

Definition at line 252 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
std::vector< IdentifierType > itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_SeedList
private

Definition at line 250 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
std::vector< OffsetValueType > itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_Visited
private

Definition at line 254 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
std::vector< IdentifierType >* itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_Wave
private

Definition at line 257 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
std::vector< IdentifierType >* itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::m_Wave2
private

Definition at line 258 of file itkConnectedRegionsMeshFilter.h.

template<class TInputMesh , class TOutputMesh >
const unsigned int itk::ConnectedRegionsMeshFilter< TInputMesh, TOutputMesh >::PointDimension = TInputMesh::PointDimension
static

Definition at line 84 of file itkConnectedRegionsMeshFilter.h.


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