58 #ifndef vtkConnectivityFilter_h 59 #define vtkConnectivityFilter_h 61 #include "vtkFiltersCoreModule.h" 64 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1 65 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2 66 #define VTK_EXTRACT_SPECIFIED_REGIONS 3 67 #define VTK_EXTRACT_LARGEST_REGION 4 68 #define VTK_EXTRACT_ALL_REGIONS 5 69 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6 97 vtkGetMacro(ScalarConnectivity,
int);
105 vtkSetVector2Macro(ScalarRange,
double);
106 vtkGetVector2Macro(ScalarRange,
double);
113 vtkSetClampMacro(ExtractionMode,
int,
115 vtkGetMacro(ExtractionMode,
int);
128 const char *GetExtractionModeAsString();
134 void InitializeSeedList();
149 void InitializeSpecifiedRegionList();
154 void AddSpecifiedRegion(
int id);
159 void DeleteSpecifiedRegion(
int id);
166 vtkSetVector3Macro(ClosestPoint,
double);
167 vtkGetVectorMacro(ClosestPoint,
double,3);
173 int GetNumberOfExtractedRegions();
180 vtkGetMacro(ColorRegions,
int);
191 vtkGetMacro(OutputPointsPrecision,
int);
214 double ClosestPoint[3];
217 double ScalarRange[2];
250 return "ExtractPointSeededRegions";
254 return "ExtractCellSeededRegions";
258 return "ExtractSpecifiedRegions";
262 return "ExtractAllRegions";
266 return "ExtractClosestPointRegion";
270 return "ExtractLargestRegion";
void SetExtractionModeToPointSeededRegions()
Control the extraction of connected surfaces.
void SetExtractionModeToClosestPointRegion()
Control the extraction of connected surfaces.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestDataObject(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
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
void SetExtractionModeToAllRegions()
Control the extraction of connected surfaces.
const char * GetExtractionModeAsString()
Return the method of extraction as a string.
dynamic, self-adjusting array of float
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_EXTRACT_LARGEST_REGION
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkIdList * SpecifiedRegionIds
#define VTK_EXTRACT_SPECIFIED_REGIONS
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
dynamic, self-adjusting array of int
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
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 output of the same type as input.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int OutputPointsPrecision
#define VTK_EXTRACT_ALL_REGIONS
static vtkPointSetAlgorithm * New()
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