27#ifndef vtkReduceTable_h 
   28#define vtkReduceTable_h 
   30#include "vtkInfovisCoreModule.h"  
   37VTK_ABI_NAMESPACE_BEGIN
 
   62  vtkGetMacro(NumericalReductionMethod, 
int);
 
   63  vtkSetMacro(NumericalReductionMethod, 
int);
 
   71  vtkGetMacro(NonNumericalReductionMethod, 
int);
 
   72  vtkSetMacro(NonNumericalReductionMethod, 
int);
 
  133    std::vector<vtkIdType> oldRows);
 
  140    std::vector<vtkIdType> oldRows);
 
  147    std::vector<vtkIdType> oldRows);
 
a simple class to control print indentation
 
combine some of the rows of a table
 
int GetReductionMethodForColumn(vtkIdType col)
Get the method that should be used to combine the values within the specified column.
 
std::map< vtkIdType, int > ColumnReductionMethods
 
int NumericalReductionMethod
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
 
int NonNumericalReductionMethod
 
std::map< vtkVariant, std::vector< vtkIdType > > NewRowToOldRowsMap
 
void AccumulateIndexValues(vtkTable *input)
Find the distinct values in the input table's index column.
 
void SetReductionMethodForColumn(vtkIdType col, int method)
Set the method that should be used to combine the values within the specified column.
 
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.
 
~vtkReduceTable() override
 
static vtkReduceTable * New()
 
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 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.
 
std::set< vtkVariant > IndexValues
 
void PopulateDataColumn(vtkTable *input, vtkTable *output, vtkIdType col)
Populate a non-index column of the output table.
 
void PopulateIndexColumn(vtkTable *output)
Populate the index column of the output table.
 
void InitializeOutputTable(vtkTable *input, vtkTable *output)
Initialize the output table to have the same types of columns as the input table, but no rows.
 
Superclass for algorithms that produce only vtkTables as output.
 
A table, which contains similar-typed columns of data.
 
A type representing the union of many types.