52 #ifndef vtkPolyDataConnectivityFilter_h 53 #define vtkPolyDataConnectivityFilter_h 58 #define VTK_EXTRACT_POINT_SEEDED_REGIONS 1 59 #define VTK_EXTRACT_CELL_SEEDED_REGIONS 2 60 #define VTK_EXTRACT_SPECIFIED_REGIONS 3 61 #define VTK_EXTRACT_LARGEST_REGION 4 62 #define VTK_EXTRACT_ALL_REGIONS 5 63 #define VTK_EXTRACT_CLOSEST_POINT_REGION 6 130 const char *GetExtractionModeAsString();
134 void InitializeSeedList();
137 void AddSeed(
int id);
140 void DeleteSeed(
int id);
143 void InitializeSpecifiedRegionList();
146 void AddSpecifiedRegion(
int id);
149 void DeleteSpecifiedRegion(
int id);
159 int GetNumberOfExtractedRegions();
203 double ClosestPoint[3];
209 int IsScalarConnected(
vtkIdType cellId );
211 double ScalarRange[2];
213 void TraverseAndMark();
246 return "ExtractPointSeededRegions";
250 return "ExtractCellSeededRegions";
254 return "ExtractSpecifiedRegions";
258 return "ExtractAllRegions";
262 return "ExtractClosestPointRegion";
266 return "ExtractLargestRegion";
int FullScalarConnectivity
int OutputPointsPrecision
void SetExtractionModeToSpecifiedRegions()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIdList * NeighborCellPointIds
#define VTKFILTERSCORE_EXPORT
#define vtkGetMacro(name, type)
#define VTK_EXTRACT_CLOSEST_POINT_REGION
#define VTK_EXTRACT_POINT_SEEDED_REGIONS
#define vtkSetClampMacro(name, type, min, max)
dynamic, self-adjusting array of vtkIdType
vtkIdTypeArray * RegionSizes
concrete dataset represents vertices, lines, polygons, and triangle strips
#define vtkTypeMacro(thisClass, superclass)
void SetExtractionModeToPointSeededRegions()
const char * GetExtractionModeAsString()
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
void SetExtractionModeToClosestPointRegion()
a simple class to control print indentation
extract polygonal data based on geometric connectivity
vtkIdList * VisitedPointIds
list of point or cell ids
abstract superclass for arrays of numeric data
vtkDataArray * NewScalars
vtkDataArray * CellScalars
#define vtkGetObjectMacro(name, type)
#define VTK_EXTRACT_LARGEST_REGION
#define vtkGetVector2Macro(name, type)
void SetExtractionModeToLargestRegion()
#define VTK_EXTRACT_CELL_SEEDED_REGIONS
void SetExtractionModeToAllRegions()
#define vtkBooleanMacro(name, type)
#define VTK_EXTRACT_ALL_REGIONS
vtkIdType NumCellsInRegion
#define vtkSetVector3Macro(name, type)
#define vtkGetVectorMacro(name, type, count)
vtkIdList * SpecifiedRegionIds
#define vtkSetVector2Macro(name, type)
void SetExtractionModeToCellSeededRegions()
#define VTK_EXTRACT_SPECIFIED_REGIONS
#define vtkSetMacro(name, type)