ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkConnectivityFilter Class Reference

vtkConnectivityFilter - extract data based on geometric connectivity More...

Inheritance diagram for Kitware.VTK.vtkConnectivityFilter:
[legend]
Collaboration diagram for Kitware.VTK.vtkConnectivityFilter:
[legend]

List of all members.

Public Member Functions

 vtkConnectivityFilter (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkConnectivityFilter ()
 Construct with default extraction mode to extract largest regions.
void AddSeed (int id)
 Add a seed id (point or cell id). Note: ids are 0-offset.
void AddSpecifiedRegion (int id)
 Add a region id to extract. Note: ids are 0-offset.
virtual void ColorRegionsOff ()
 Turn on/off the coloring of connected regions.
virtual void ColorRegionsOn ()
 Turn on/off the coloring of connected regions.
void DeleteSeed (int id)
 Delete a seed id (point or cell id). Note: ids are 0-offset.
void DeleteSpecifiedRegion (int id)
 Delete a region id to extract. Note: ids are 0-offset.
virtual double[] GetClosestPoint ()
 Use to specify x-y-z point coordinates when extracting the region closest to a specified point.
virtual void GetClosestPoint (IntPtr data)
 Use to specify x-y-z point coordinates when extracting the region closest to a specified point.
virtual int GetColorRegions ()
 Turn on/off the coloring of connected regions.
virtual int GetExtractionMode ()
 Control the extraction of connected surfaces.
string GetExtractionModeAsString ()
 Return the method of extraction as a string.
virtual int GetExtractionModeMaxValue ()
 Control the extraction of connected surfaces.
virtual int GetExtractionModeMinValue ()
 Control the extraction of connected surfaces.
int GetNumberOfExtractedRegions ()
 Obtain the number of connected regions.
virtual int GetScalarConnectivity ()
 Turn on/off connectivity based on scalar value. If on, cells are connected only if they share points AND one of the cells scalar values falls in the scalar range specified.
virtual double[] GetScalarRange ()
 Set the scalar range to use to extract cells based on scalar connectivity.
virtual void GetScalarRange (ref double _arg1, ref double _arg2)
 Set the scalar range to use to extract cells based on scalar connectivity.
virtual void GetScalarRange (IntPtr _arg)
 Set the scalar range to use to extract cells based on scalar connectivity.
void InitializeSeedList ()
 Initialize list of point ids/cell ids used to seed regions.
void InitializeSpecifiedRegionList ()
 Initialize list of region ids to extract.
override int IsA (string type)
 Undocumented Block.
new vtkConnectivityFilter NewInstance ()
 Undocumented Block.
virtual void ScalarConnectivityOff ()
 Turn on/off connectivity based on scalar value. If on, cells are connected only if they share points AND one of the cells scalar values falls in the scalar range specified.
virtual void ScalarConnectivityOn ()
 Turn on/off connectivity based on scalar value. If on, cells are connected only if they share points AND one of the cells scalar values falls in the scalar range specified.
virtual void SetClosestPoint (double _arg1, double _arg2, double _arg3)
 Use to specify x-y-z point coordinates when extracting the region closest to a specified point.
virtual void SetClosestPoint (IntPtr _arg)
 Use to specify x-y-z point coordinates when extracting the region closest to a specified point.
virtual void SetColorRegions (int _arg)
 Turn on/off the coloring of connected regions.
virtual void SetExtractionMode (int _arg)
 Control the extraction of connected surfaces.
void SetExtractionModeToAllRegions ()
 Control the extraction of connected surfaces.
void SetExtractionModeToCellSeededRegions ()
 Control the extraction of connected surfaces.
void SetExtractionModeToClosestPointRegion ()
 Control the extraction of connected surfaces.
void SetExtractionModeToLargestRegion ()
 Control the extraction of connected surfaces.
void SetExtractionModeToPointSeededRegions ()
 Control the extraction of connected surfaces.
void SetExtractionModeToSpecifiedRegions ()
 Control the extraction of connected surfaces.
virtual void SetScalarConnectivity (int _arg)
 Turn on/off connectivity based on scalar value. If on, cells are connected only if they share points AND one of the cells scalar values falls in the scalar range specified.
virtual void SetScalarRange (double _arg1, double _arg2)
 Set the scalar range to use to extract cells based on scalar connectivity.
void SetScalarRange (IntPtr _arg)
 Set the scalar range to use to extract cells based on scalar connectivity.

Static Public Member Functions

static new vtkConnectivityFilter New ()
 Construct with default extraction mode to extract largest regions.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkConnectivityFilter SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkConnectivityFilter"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "21vtkConnectivityFilter"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkConnectivityFilter_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkConnectivityFilter_AddSeed_01 (HandleRef pThis, int id)
static internal void vtkConnectivityFilter_AddSpecifiedRegion_02 (HandleRef pThis, int id)
static internal void vtkConnectivityFilter_ColorRegionsOff_03 (HandleRef pThis)
static internal void vtkConnectivityFilter_ColorRegionsOn_04 (HandleRef pThis)
static internal void vtkConnectivityFilter_DeleteSeed_05 (HandleRef pThis, int id)
static internal void vtkConnectivityFilter_DeleteSpecifiedRegion_06 (HandleRef pThis, int id)
static internal IntPtr vtkConnectivityFilter_GetClosestPoint_07 (HandleRef pThis)
static internal void vtkConnectivityFilter_GetClosestPoint_08 (HandleRef pThis, IntPtr data)
static internal int vtkConnectivityFilter_GetColorRegions_09 (HandleRef pThis)
static internal int vtkConnectivityFilter_GetExtractionMode_10 (HandleRef pThis)
static internal IntPtr vtkConnectivityFilter_GetExtractionModeAsString_11 (HandleRef pThis)
static internal int vtkConnectivityFilter_GetExtractionModeMaxValue_12 (HandleRef pThis)
static internal int vtkConnectivityFilter_GetExtractionModeMinValue_13 (HandleRef pThis)
static internal int vtkConnectivityFilter_GetNumberOfExtractedRegions_14 (HandleRef pThis)
static internal int vtkConnectivityFilter_GetScalarConnectivity_15 (HandleRef pThis)
static internal IntPtr vtkConnectivityFilter_GetScalarRange_16 (HandleRef pThis)
static internal void vtkConnectivityFilter_GetScalarRange_17 (HandleRef pThis, ref double _arg1, ref double _arg2)
static internal void vtkConnectivityFilter_GetScalarRange_18 (HandleRef pThis, IntPtr _arg)
static internal void vtkConnectivityFilter_InitializeSeedList_19 (HandleRef pThis)
static internal void vtkConnectivityFilter_InitializeSpecifiedRegionList_20 (HandleRef pThis)
static internal int vtkConnectivityFilter_IsA_21 (HandleRef pThis, string type)
static internal int vtkConnectivityFilter_IsTypeOf_22 (string type)
static internal IntPtr vtkConnectivityFilter_NewInstance_24 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkConnectivityFilter_SafeDownCast_25 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkConnectivityFilter_ScalarConnectivityOff_26 (HandleRef pThis)
static internal void vtkConnectivityFilter_ScalarConnectivityOn_27 (HandleRef pThis)
static internal void vtkConnectivityFilter_SetClosestPoint_28 (HandleRef pThis, double _arg1, double _arg2, double _arg3)
static internal void vtkConnectivityFilter_SetClosestPoint_29 (HandleRef pThis, IntPtr _arg)
static internal void vtkConnectivityFilter_SetColorRegions_30 (HandleRef pThis, int _arg)
static internal void vtkConnectivityFilter_SetExtractionMode_31 (HandleRef pThis, int _arg)
static internal void vtkConnectivityFilter_SetExtractionModeToAllRegions_32 (HandleRef pThis)
static internal void vtkConnectivityFilter_SetExtractionModeToCellSeededRegions_33 (HandleRef pThis)
static internal void vtkConnectivityFilter_SetExtractionModeToClosestPointRegion_34 (HandleRef pThis)
static internal void vtkConnectivityFilter_SetExtractionModeToLargestRegion_35 (HandleRef pThis)
static internal void vtkConnectivityFilter_SetExtractionModeToPointSeededRegions_36 (HandleRef pThis)
static internal void vtkConnectivityFilter_SetExtractionModeToSpecifiedRegions_37 (HandleRef pThis)
static internal void vtkConnectivityFilter_SetScalarConnectivity_38 (HandleRef pThis, int _arg)
static internal void vtkConnectivityFilter_SetScalarRange_39 (HandleRef pThis, double _arg1, double _arg2)
static internal void vtkConnectivityFilter_SetScalarRange_40 (HandleRef pThis, IntPtr _arg)

Static Private Member Functions

static vtkConnectivityFilter ()
 Automatically generated type registration mechanics.

Detailed Description

vtkConnectivityFilter - extract data based on geometric connectivity

Description vtkConnectivityFilter is a filter that extracts cells that share common points and/or meet other connectivity criterion. (Cells that share vertices and meet other connectivity criterion such as scalar range are known as a region.) The filter works in one of six ways: 1) extract the largest connected region in the dataset; 2) extract specified region numbers; 3) extract all regions sharing specified point ids; 4) extract all regions sharing specified cell ids; 5) extract the region closest to the specified point; or 6) extract all regions (used to color the data by region).

vtkConnectivityFilter is generalized to handle any type of input dataset. It generates output data of type vtkUnstructuredGrid. If you know that your input type is vtkPolyData, you may wish to use vtkPolyDataConnectivityFilter.

The behavior of vtkConnectivityFilter can be modified by turning on the boolean ivar ScalarConnectivity. If this flag is on, the connectivity algorithm is modified so that cells are considered connected only if 1) they are geometrically connected (share a point) and 2) the scalar values of one of the cell's points falls in the scalar range specified. This use of ScalarConnectivity is particularly useful for volume datasets: it can be used as a simple "connected segmentation" algorithm. For example, by using a seed voxel (i.e., cell) on a known anatomical structure, connectivity will pull out all voxels "containing" the anatomical structure. These voxels can then be contoured or processed by other visualization filters.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Construct with default extraction mode to extract largest regions.


Member Function Documentation

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

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

Turn on/off the coloring of connected regions.

Turn on/off the coloring of connected regions.

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

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

override void Kitware.VTK.vtkConnectivityFilter.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkUnstructuredGridAlgorithm.

virtual double [] Kitware.VTK.vtkConnectivityFilter.GetClosestPoint ( ) [virtual]

Use to specify x-y-z point coordinates when extracting the region closest to a specified point.

virtual void Kitware.VTK.vtkConnectivityFilter.GetClosestPoint ( IntPtr  data) [virtual]

Use to specify x-y-z point coordinates when extracting the region closest to a specified point.

Turn on/off the coloring of connected regions.

Control the extraction of connected surfaces.

Return the method of extraction as a string.

Control the extraction of connected surfaces.

Control the extraction of connected surfaces.

Obtain the number of connected regions.

Turn on/off connectivity based on scalar value. If on, cells are connected only if they share points AND one of the cells scalar values falls in the scalar range specified.

virtual double [] Kitware.VTK.vtkConnectivityFilter.GetScalarRange ( ) [virtual]

Set the scalar range to use to extract cells based on scalar connectivity.

virtual void Kitware.VTK.vtkConnectivityFilter.GetScalarRange ( ref double  _arg1,
ref double  _arg2 
) [virtual]

Set the scalar range to use to extract cells based on scalar connectivity.

virtual void Kitware.VTK.vtkConnectivityFilter.GetScalarRange ( IntPtr  _arg) [virtual]

Set the scalar range to use to extract cells based on scalar connectivity.

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

Initialize list of region ids to extract.

override int Kitware.VTK.vtkConnectivityFilter.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUnstructuredGridAlgorithm.

static new int Kitware.VTK.vtkConnectivityFilter.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUnstructuredGridAlgorithm.

Construct with default extraction mode to extract largest regions.

Reimplemented from Kitware.VTK.vtkUnstructuredGridAlgorithm.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUnstructuredGridAlgorithm.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUnstructuredGridAlgorithm.

Here is the call graph for this function:

Turn on/off connectivity based on scalar value. If on, cells are connected only if they share points AND one of the cells scalar values falls in the scalar range specified.

Turn on/off connectivity based on scalar value. If on, cells are connected only if they share points AND one of the cells scalar values falls in the scalar range specified.

virtual void Kitware.VTK.vtkConnectivityFilter.SetClosestPoint ( double  _arg1,
double  _arg2,
double  _arg3 
) [virtual]

Use to specify x-y-z point coordinates when extracting the region closest to a specified point.

virtual void Kitware.VTK.vtkConnectivityFilter.SetClosestPoint ( IntPtr  _arg) [virtual]

Use to specify x-y-z point coordinates when extracting the region closest to a specified point.

virtual void Kitware.VTK.vtkConnectivityFilter.SetColorRegions ( int  _arg) [virtual]

Turn on/off the coloring of connected regions.

virtual void Kitware.VTK.vtkConnectivityFilter.SetExtractionMode ( int  _arg) [virtual]

Control the extraction of connected surfaces.

Control the extraction of connected surfaces.

Control the extraction of connected surfaces.

Control the extraction of connected surfaces.

Control the extraction of connected surfaces.

Control the extraction of connected surfaces.

Control the extraction of connected surfaces.

virtual void Kitware.VTK.vtkConnectivityFilter.SetScalarConnectivity ( int  _arg) [virtual]

Turn on/off connectivity based on scalar value. If on, cells are connected only if they share points AND one of the cells scalar values falls in the scalar range specified.

virtual void Kitware.VTK.vtkConnectivityFilter.SetScalarRange ( double  _arg1,
double  _arg2 
) [virtual]

Set the scalar range to use to extract cells based on scalar connectivity.

Set the scalar range to use to extract cells based on scalar connectivity.

static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_AddSeed_01 ( HandleRef  pThis,
int  id 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_AddSpecifiedRegion_02 ( HandleRef  pThis,
int  id 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_ColorRegionsOff_03 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_ColorRegionsOn_04 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_DeleteSeed_05 ( HandleRef  pThis,
int  id 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_DeleteSpecifiedRegion_06 ( HandleRef  pThis,
int  id 
) [private]
static internal IntPtr Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_GetClosestPoint_07 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_GetClosestPoint_08 ( HandleRef  pThis,
IntPtr  data 
) [private]
static internal int Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_GetColorRegions_09 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_GetExtractionMode_10 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_GetExtractionModeAsString_11 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_GetScalarRange_16 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_GetScalarRange_17 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_GetScalarRange_18 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_InitializeSeedList_19 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_IsA_21 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_IsTypeOf_22 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_NewInstance_24 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_SafeDownCast_25 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_ScalarConnectivityOff_26 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_ScalarConnectivityOn_27 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_SetClosestPoint_28 ( HandleRef  pThis,
double  _arg1,
double  _arg2,
double  _arg3 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_SetClosestPoint_29 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_SetColorRegions_30 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_SetExtractionMode_31 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_SetScalarConnectivity_38 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_SetScalarRange_39 ( HandleRef  pThis,
double  _arg1,
double  _arg2 
) [private]
static internal void Kitware.VTK.vtkConnectivityFilter.vtkConnectivityFilter_SetScalarRange_40 ( HandleRef  pThis,
IntPtr  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkConnectivityFilter.MRClassNameKey = "21vtkConnectivityFilter" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkUnstructuredGridAlgorithm.

new const string Kitware.VTK.vtkConnectivityFilter.MRFullTypeName = "Kitware.VTK.vtkConnectivityFilter"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkUnstructuredGridAlgorithm.


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