Go to the documentation of this file.
39 #ifndef vtkReduceTable_h
40 #define vtkReduceTable_h
42 #include "vtkInfovisCoreModule.h"
73 vtkGetMacro(NumericalReductionMethod,
int);
82 vtkGetMacro(NonNumericalReductionMethod,
int);
148 std::vector<vtkIdType> oldRows);
156 std::vector<vtkIdType> oldRows);
164 std::vector<vtkIdType> oldRows);
void SetReductionMethodForColumn(vtkIdType col, int method)
Set the method that should be used to combine the values within the specified column.
A table, which contains similar-typed columns of data.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int GetReductionMethodForColumn(vtkIdType col)
Get the method that should be used to combine the values within the specified column.
std::map< vtkIdType, int > ColumnReductionMethods
void ReduceValuesToMean(vtkTable *input, vtkTable *output, vtkIdType row, vtkIdType col, std::vector< vtkIdType > oldRows)
Find the mean of a series of values from the input table and store it in the output table.
void PopulateDataColumn(vtkTable *input, vtkTable *output, vtkIdType col)
Populate a non-index column of the output table.
Superclass for algorithms that produce only vtkTables as output.
void PopulateIndexColumn(vtkTable *output)
Populate the index column of the output table.
void ReduceValuesToMode(vtkTable *input, vtkTable *output, vtkIdType row, vtkIdType col, std::vector< vtkIdType > oldRows)
Find the mode of a series of values from the input table and store it in the output table.
a simple class to control print indentation
combine some of the rows of a table
A atomic type representing the union of many types.
void ReduceValuesToMedian(vtkTable *input, vtkTable *output, vtkIdType row, vtkIdType col, std::vector< vtkIdType > oldRows)
Find the median of a series of values from the input table and store it in the output table.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void AccumulateIndexValues(vtkTable *input)
Find the distinct values in the input table's index column.
int NumericalReductionMethod
std::map< vtkVariant, std::vector< vtkIdType > > NewRowToOldRowsMap
std::set< vtkVariant > IndexValues
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
int NonNumericalReductionMethod
void InitializeOutputTable(vtkTable *input, vtkTable *output)
Initialize the output table to have the same types of columns as the input table, but no rows.
static vtkReduceTable * New()