 |
VTK
9.1.0
|
Go to the documentation of this file.
116 #ifndef vtkConnectivityFilter_h
117 #define vtkConnectivityFilter_h
119 #include "vtkFiltersCoreModule.h"
122 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
123 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
124 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
125 #define VTK_EXTRACT_LARGEST_REGION 4
126 #define VTK_EXTRACT_ALL_REGIONS 5
127 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
163 vtkSetVector2Macro(ScalarRange,
double);
164 vtkGetVector2Macro(ScalarRange,
double);
173 vtkGetMacro(ExtractionMode,
int);
192 const char* GetExtractionModeAsString();
230 vtkSetVector3Macro(ClosestPoint,
double);
231 vtkGetVectorMacro(ClosestPoint,
double, 3);
263 vtkSetMacro(RegionIdAssignmentMode,
int);
265 vtkGetMacro(RegionIdAssignmentMode,
int);
273 vtkSetMacro(OutputPointsPrecision,
int);
274 vtkGetMacro(OutputPointsPrecision,
int);
298 double ClosestPoint[3];
301 double ScalarRange[2];
338 return "ExtractPointSeededRegions";
342 return "ExtractCellSeededRegions";
346 return "ExtractSpecifiedRegions";
350 return "ExtractAllRegions";
354 return "ExtractClosestPointRegion";
358 return "ExtractLargestRegion";
const char * GetExtractionModeAsString()
Return the method of extraction as a string.
vtkIdTypeArray * RegionSizes
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkIdList * SpecifiedRegionIds
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
Superclass for algorithms that produce output of the same type as input.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
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
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetExtractionModeToCellSeededRegions()
Control the extraction of connected surfaces.
abstract superclass for arrays of numeric data
#define VTK_EXTRACT_SPECIFIED_REGIONS
vtkTypeBool ScalarConnectivity
int OutputPointsPrecision
#define VTK_EXTRACT_CLOSEST_POINT_REGION
RegionIdAssignment
Enumeration of the various ways to assign RegionIds when the ColorRegions option is on.
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
a simple class to control print indentation
dynamic, self-adjusting array of int
void TraverseAndMark(vtkDataSet *input)
void DeleteSpecifiedRegion(int id)
Delete a region id to extract.
list of point or cell ids
void OrderRegionIds(vtkIdTypeArray *pointRegionIds, vtkIdTypeArray *cellRegionIds)
int RegionIdAssignmentMode
void InitializeSeedList()
Initialize list of point ids/cell ids used to seed regions.
void SetExtractionModeToSpecifiedRegions()
Control the extraction of connected surfaces.
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
int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation *info) override
dynamic, self-adjusting array of vtkIdType
void SetExtractionModeToAllRegions()
Control the extraction of connected surfaces.
void SetExtractionModeToClosestPointRegion()
Control the extraction of connected surfaces.
concrete dataset represents vertices, lines, polygons, and triangle strips
int GetNumberOfExtractedRegions()
Obtain the number of connected regions.
#define VTK_EXTRACT_ALL_REGIONS
void SetExtractionModeToLargestRegion()
Control the extraction of connected surfaces.
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()
Control the extraction of connected surfaces.
void AddSpecifiedRegion(int id)
Add a region id to extract.