Go to the documentation of this file.
56 #ifndef vtkConnectivityFilter_h
57 #define vtkConnectivityFilter_h
59 #include "vtkFiltersCoreModule.h"
62 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
63 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
64 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
65 #define VTK_EXTRACT_LARGEST_REGION 4
66 #define VTK_EXTRACT_ALL_REGIONS 5
67 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
93 vtkGetMacro(ScalarConnectivity,
int);
101 vtkSetVector2Macro(ScalarRange,
double);
102 vtkGetVector2Macro(ScalarRange,
double);
109 vtkSetClampMacro(ExtractionMode,
int,
111 vtkGetMacro(ExtractionMode,
int);
124 const char *GetExtractionModeAsString();
162 vtkSetVector3Macro(ClosestPoint,
double);
163 vtkGetVectorMacro(ClosestPoint,
double,3);
176 vtkGetMacro(ColorRegions,
int);
187 vtkGetMacro(OutputPointsPrecision,
int);
200 int OutputPointsPrecision;
205 double ClosestPoint[3];
207 int ScalarConnectivity;
208 double ScalarRange[2];
241 return "ExtractPointSeededRegions";
245 return "ExtractCellSeededRegions";
249 return "ExtractSpecifiedRegions";
253 return "ExtractAllRegions";
257 return "ExtractClosestPointRegion";
261 return "ExtractLargestRegion";
static vtkConnectivityFilter * New()
Construct with default extraction mode to extract largest regions.
dynamic, self-adjusting array of float
extract data based on geometric connectivity
#define VTK_EXTRACT_LARGEST_REGION
void SetExtractionModeToCellSeededRegions()
abstract superclass for arrays of numeric data
#define VTK_EXTRACT_SPECIFIED_REGIONS
#define VTK_EXTRACT_CLOSEST_POINT_REGION
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
a simple class to control print indentation
dynamic, self-adjusting array of int
void DeleteSpecifiedRegion(int id)
Delete a region id to extract.
list of point or cell ids
void InitializeSeedList()
Initialize list of point ids/cell ids used to seed regions.
void SetExtractionModeToSpecifiedRegions()
void AddSeed(vtkIdType id)
Add a seed id (point or cell id).
void DeleteSeed(vtkIdType id)
Delete a seed id (point or cell id).
#define VTK_EXTRACT_POINT_SEEDED_REGIONS
abstract class to specify dataset behavior
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
dynamic, self-adjusting array of vtkIdType
void SetExtractionModeToAllRegions()
void SetExtractionModeToClosestPointRegion()
int GetNumberOfExtractedRegions()
Obtain the number of connected regions.
#define VTK_EXTRACT_ALL_REGIONS
Superclass for algorithms that produce only unstructured grid as output.
void SetExtractionModeToLargestRegion()
void InitializeSpecifiedRegionList()
Initialize list of region ids to extract.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkConnectivityFilter() override
void SetExtractionModeToPointSeededRegions()
void AddSpecifiedRegion(int id)
Add a region id to extract.