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();
130 void InitializeSeedList();
145 void InitializeSpecifiedRegionList();
150 void AddSpecifiedRegion(
int id);
155 void DeleteSpecifiedRegion(
int id);
162 vtkSetVector3Macro(ClosestPoint,
double);
163 vtkGetVectorMacro(ClosestPoint,
double,3);
169 int GetNumberOfExtractedRegions();
176 vtkGetMacro(ColorRegions,
int);
187 vtkGetMacro(OutputPointsPrecision,
int);
205 double ClosestPoint[3];
208 double ScalarRange[2];
241 return "ExtractPointSeededRegions";
245 return "ExtractCellSeededRegions";
249 return "ExtractSpecifiedRegions";
253 return "ExtractAllRegions";
257 return "ExtractClosestPointRegion";
261 return "ExtractLargestRegion";
void SetExtractionModeToPointSeededRegions()
Control the extraction of connected surfaces.
void SetExtractionModeToClosestPointRegion()
Control the extraction of connected surfaces.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetExtractionModeToCellSeededRegions()
Control the extraction of connected surfaces.
extract data based on geometric connectivity
abstract class to specify dataset behavior
void SetExtractionModeToAllRegions()
Control the extraction of connected surfaces.
const char * GetExtractionModeAsString()
Return the method of extraction as a string.
static vtkUnstructuredGridAlgorithm * New()
dynamic, self-adjusting array of float
#define VTK_EXTRACT_LARGEST_REGION
dynamic, self-adjusting array of vtkIdType
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkIdList * SpecifiedRegionIds
#define VTK_EXTRACT_SPECIFIED_REGIONS
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
dynamic, self-adjusting array of int
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
#define VTK_EXTRACT_POINT_SEEDED_REGIONS
#define VTK_EXTRACT_CLOSEST_POINT_REGION
list of point or cell ids
abstract superclass for arrays of numeric data
Superclass for algorithms that produce only unstructured grid as output.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int OutputPointsPrecision
#define VTK_EXTRACT_ALL_REGIONS
void SetExtractionModeToLargestRegion()
Control the extraction of connected surfaces.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetExtractionModeToSpecifiedRegions()
Control the extraction of connected surfaces.
vtkIdTypeArray * RegionSizes