55 #ifndef vtkConnectivityFilter_h
56 #define vtkConnectivityFilter_h
61 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
62 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
63 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
64 #define VTK_EXTRACT_LARGEST_REGION 4
65 #define VTK_EXTRACT_ALL_REGIONS 5
66 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
87 vtkSetMacro(ScalarConnectivity,
int);
88 vtkGetMacro(ScalarConnectivity,
int);
89 vtkBooleanMacro(ScalarConnectivity,
int);
95 vtkSetVector2Macro(ScalarRange,
double);
96 vtkGetVector2Macro(ScalarRange,
double);
101 vtkSetClampMacro(ExtractionMode,
int,
103 vtkGetMacro(ExtractionMode,
int);
116 const char *GetExtractionModeAsString();
120 void InitializeSeedList();
129 void InitializeSpecifiedRegionList();
132 void AddSpecifiedRegion(
int id);
135 void DeleteSpecifiedRegion(
int id);
140 vtkSetVector3Macro(ClosestPoint,
double);
141 vtkGetVectorMacro(ClosestPoint,
double,3);
145 int GetNumberOfExtractedRegions();
149 vtkSetMacro(ColorRegions,
int);
150 vtkGetMacro(ColorRegions,
int);
151 vtkBooleanMacro(ColorRegions,
int);
158 vtkSetMacro(OutputPointsPrecision,
int);
159 vtkGetMacro(OutputPointsPrecision,
int);
177 double ClosestPoint[3];
180 double ScalarRange[2];
211 return "ExtractPointSeededRegions";
215 return "ExtractCellSeededRegions";
219 return "ExtractSpecifiedRegions";
223 return "ExtractAllRegions";
227 return "ExtractClosestPointRegion";
231 return "ExtractLargestRegion";
void SetExtractionModeToPointSeededRegions()
void SetExtractionModeToClosestPointRegion()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetExtractionModeToCellSeededRegions()
extract data based on geometric connectivity
abstract class to specify dataset behavior
#define VTKFILTERSCORE_EXPORT
void SetExtractionModeToAllRegions()
const char * GetExtractionModeAsString()
static vtkUnstructuredGridAlgorithm * New()
dynamic, self-adjusting array of float
#define VTK_EXTRACT_LARGEST_REGION
virtual int FillInputPortInformation(int port, vtkInformation *info)
dynamic, self-adjusting array of vtkIdType
vtkIdList * SpecifiedRegionIds
#define VTK_EXTRACT_SPECIFIED_REGIONS
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
dynamic, self-adjusting array of int
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
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.
int OutputPointsPrecision
#define VTK_EXTRACT_ALL_REGIONS
void SetExtractionModeToLargestRegion()
void SetExtractionModeToSpecifiedRegions()
vtkIdTypeArray * RegionSizes