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
116 const char *GetExtractionModeAsString();
120 void InitializeSeedList();
129 void InitializeSpecifiedRegionList();
132 void AddSpecifiedRegion(
int id);
135 void DeleteSpecifiedRegion(
int id);
145 int GetNumberOfExtractedRegions();
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)
GLenum GLenum GLenum input
void SetExtractionModeToCellSeededRegions()
extract data based on geometric connectivity
abstract class to specify dataset behavior
#define VTKFILTERSCORE_EXPORT
#define vtkGetMacro(name, type)
void SetExtractionModeToAllRegions()
const char * GetExtractionModeAsString()
static vtkUnstructuredGridAlgorithm * New()
dynamic, self-adjusting array of float
#define vtkSetClampMacro(name, type, min, max)
#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 vtkTypeMacro(thisClass, superclass)
#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
#define vtkGetVector2Macro(name, type)
void SetExtractionModeToLargestRegion()
#define vtkBooleanMacro(name, type)
void SetExtractionModeToSpecifiedRegions()
#define vtkSetVector3Macro(name, type)
#define vtkGetVectorMacro(name, type, count)
#define vtkSetVector2Macro(name, type)
vtkIdTypeArray * RegionSizes
#define vtkSetMacro(name, type)