#include <vtkConnectivityFilter.h>
Inheritance diagram for vtkConnectivityFilter:
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.
Definition at line 72 of file vtkConnectivityFilter.h.
|
Reimplemented from vtkUnstructuredGridAlgorithm. Definition at line 75 of file vtkConnectivityFilter.h. |
|
|
|
|
|
Reimplemented from vtkUnstructuredGridAlgorithm. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkUnstructuredGridAlgorithm. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkUnstructuredGridAlgorithm. |
|
Reimplemented from vtkUnstructuredGridAlgorithm. |
|
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 vtkUnstructuredGridAlgorithm. |
|
Construct with default extraction mode to extract largest regions. Reimplemented from vtkUnstructuredGridAlgorithm. |
|
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. |
|
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. |
|
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. |
|
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. |
|
Set the scalar range to use to extract cells based on scalar connectivity. |
|
Control the extraction of connected surfaces. |
|
Control the extraction of connected surfaces. |
|
Control the extraction of connected surfaces. Definition at line 102 of file vtkConnectivityFilter.h. References VTK_EXTRACT_POINT_SEEDED_REGIONS. |
|
Control the extraction of connected surfaces. Definition at line 104 of file vtkConnectivityFilter.h. References VTK_EXTRACT_CELL_SEEDED_REGIONS. |
|
Control the extraction of connected surfaces. Definition at line 106 of file vtkConnectivityFilter.h. References VTK_EXTRACT_LARGEST_REGION. |
|
Control the extraction of connected surfaces. Definition at line 108 of file vtkConnectivityFilter.h. References VTK_EXTRACT_SPECIFIED_REGIONS. |
|
Control the extraction of connected surfaces. Definition at line 110 of file vtkConnectivityFilter.h. References VTK_EXTRACT_CLOSEST_POINT_REGION. |
|
Control the extraction of connected surfaces. Definition at line 112 of file vtkConnectivityFilter.h. References VTK_EXTRACT_ALL_REGIONS. |
|
Return the method of extraction as a string. Definition at line 194 of file vtkConnectivityFilter.h. References VTK_EXTRACT_ALL_REGIONS, VTK_EXTRACT_CELL_SEEDED_REGIONS, VTK_EXTRACT_CLOSEST_POINT_REGION, VTK_EXTRACT_POINT_SEEDED_REGIONS, and VTK_EXTRACT_SPECIFIED_REGIONS. |
|
Initialize list of point ids/cell ids used to seed regions. |
|
Add a seed id (point or cell id). Note: ids are 0-offset. |
|
Delete a seed id (point or cell id). Note: ids are 0-offset. |
|
Initialize list of region ids to extract. |
|
Add a region id to extract. Note: ids are 0-offset. |
|
Delete a region id to extract. Note: ids are 0-offset. |
|
Use to specify x-y-z point coordinates when extracting the region closest to a specified point. |
|
Delete a region id to extract. Note: ids are 0-offset. |
|
Delete a region id to extract. Note: ids are 0-offset. |
|
Delete a region id to extract. Note: ids are 0-offset. |
|
Obtain the number of connected regions. |
|
Turn on/off the coloring of connected regions. |
|
Obtain the number of connected regions. |
|
Obtain the number of connected regions. |
|
Obtain the number of connected regions. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkUnstructuredGridAlgorithm. |
|
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. Reimplemented from vtkUnstructuredGridAlgorithm. |
|
|
|
Definition at line 160 of file vtkConnectivityFilter.h. |
|
Definition at line 161 of file vtkConnectivityFilter.h. |
|
Definition at line 162 of file vtkConnectivityFilter.h. |
|
Definition at line 163 of file vtkConnectivityFilter.h. |
|
Definition at line 164 of file vtkConnectivityFilter.h. |
|
Definition at line 166 of file vtkConnectivityFilter.h. |
|
Definition at line 168 of file vtkConnectivityFilter.h. |
|
Definition at line 169 of file vtkConnectivityFilter.h. |