30 #ifndef __vtkExtractCells_h
31 #define __vtkExtractCells_h
33 #include "vtkFiltersExtractionModule.h"
34 #include "vtkUnstructuredGridAlgorithm.h"
37 class vtkExtractCellsSTLCloak;
39 class VTKFILTERSEXTRACTION_EXPORT
vtkExtractCells :
public vtkUnstructuredGridAlgorithm
43 virtual void PrintSelf(ostream &os, vtkIndent indent);
51 void SetCellList(vtkIdList *l);
56 void AddCellList(vtkIdList *l);
61 void AddCellRange(vtkIdType from, vtkIdType to);
65 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
66 virtual int FillInputPortInformation(
int port, vtkInformation *info);
73 void Copy(vtkDataSet *input, vtkUnstructuredGrid *output);
74 static vtkIdType findInSortedList(vtkIdList *idList, vtkIdType
id);
75 vtkIdList *reMapPointIds(vtkDataSet *grid);
77 void CopyCellsDataSet(vtkIdList *ptMap, vtkDataSet *input,
78 vtkUnstructuredGrid *output);
79 void CopyCellsUnstructuredGrid(vtkIdList *ptMap, vtkDataSet *input,
80 vtkUnstructuredGrid *output);
82 vtkExtractCellsSTLCloak *CellList;
84 int SubSetUGridCellArraySize;