38 #ifndef vtkReduceTable_h
39 #define vtkReduceTable_h
67 vtkGetMacro(NumericalReductionMethod,
int);
68 vtkSetMacro(NumericalReductionMethod,
int);
74 vtkGetMacro(NonNumericalReductionMethod,
int);
75 vtkSetMacro(NonNumericalReductionMethod,
int);
81 int GetReductionMethodForColumn(
vtkIdType col);
85 void SetReductionMethodForColumn(
vtkIdType col,
int method);
114 void AccumulateIndexValues(
vtkTable *input);
117 void PopulateIndexColumn(
vtkTable *output);
129 std::vector<vtkIdType> oldRows);
137 std::vector<vtkIdType> oldRows);
145 std::vector<vtkIdType> oldRows);
std::set< vtkVariant > IndexValues
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
A atomic type representing the union of many types.
std::map< vtkVariant, std::vector< vtkIdType > > NewRowToOldRowsMap
std::map< vtkIdType, int > ColumnReductionMethods
a simple class to control print indentation
#define VTKINFOVISCORE_EXPORT
A table, which contains similar-typed columns of data.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce only vtkTables as output.
int NonNumericalReductionMethod
combine some of the rows of a table
int NumericalReductionMethod