55 #ifndef __vtkConnectivityFilter_h
56 #define __vtkConnectivityFilter_h
60 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1
61 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2
62 #define VTK_EXTRACT_SPECIFIED_REGIONS 3
63 #define VTK_EXTRACT_LARGEST_REGION 4
64 #define VTK_EXTRACT_ALL_REGIONS 5
65 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6
86 vtkSetMacro(ScalarConnectivity,
int);
87 vtkGetMacro(ScalarConnectivity,
int);
88 vtkBooleanMacro(ScalarConnectivity,
int);
94 vtkSetVector2Macro(ScalarRange,
double);
95 vtkGetVector2Macro(ScalarRange,
double);
100 vtkSetClampMacro(ExtractionMode,
int,
102 vtkGetMacro(ExtractionMode,
int);
115 const char *GetExtractionModeAsString();
119 void InitializeSeedList();
128 void InitializeSpecifiedRegionList();
131 void AddSpecifiedRegion(
int id);
134 void DeleteSpecifiedRegion(
int id);
139 vtkSetVector3Macro(ClosestPoint,
double);
140 vtkGetVectorMacro(ClosestPoint,
double,3);
144 int GetNumberOfExtractedRegions();
148 vtkSetMacro(ColorRegions,
int);
149 vtkGetMacro(ColorRegions,
int);
150 vtkBooleanMacro(ColorRegions,
int);
167 double ClosestPoint[3];
170 double ScalarRange[2];
201 return "ExtractPointSeededRegions";
205 return "ExtractCellSeededRegions";
209 return "ExtractSpecifiedRegions";
213 return "ExtractAllRegions";
217 return "ExtractClosestPointRegion";
221 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
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.
#define VTK_EXTRACT_ALL_REGIONS
void SetExtractionModeToLargestRegion()
void SetExtractionModeToSpecifiedRegions()
vtkIdTypeArray * RegionSizes