16#ifndef vtkVisualStatistics_h
17#define vtkVisualStatistics_h
20#include "vtkFiltersStatisticsModule.h"
22VTK_ABI_NAMESPACE_BEGIN
47 virtual void SetFieldRange(
const std::string& field,
double lo,
double hi);
74 vtkGetMacro(NumberOfBins,
int);
87 vtkStringToken parameterName,
const std::string& algorithmParameters)
override;
110 std::map<std::string, std::pair<double, double>> FieldRanges;
111 int NumberOfBins{ 512 };
maintain an unordered list of data objects
vtkDescriptiveStatistics()
dynamic, self-adjusting array of double
a simple class to control print indentation
a base class for statistical modeling of other data
a vtkAbstractArray subclass for strings
Represent a string by its integer hash.
A table, which contains similar-typed columns of data.
A type representing the union of many types.
A class to provide normality estimation and binned histogram data to render.
~vtkVisualStatistics() override
vtkDataArray * GetHistogramForField(const std::string &fieldName)
Fetch a histogram array given a fieldName.
void Derive(vtkStatisticalModel *) override
Execute the calculations required by the Derive option.
virtual void SetFieldRange(const char *field, double lo, double hi)
Set the numeric range to use for binning the histogram of the field.
void Learn(vtkTable *, vtkTable *, vtkStatisticalModel *) override
Execute the calculations required by the Learn option, given some input Data NB: input parameters are...
virtual void SetFieldRange(const std::string &field, double lo, double hi)
bool Aggregate(vtkDataObjectCollection *, vtkStatisticalModel *) override
Given a collection of models, calculate aggregate model.
std::size_t ConsumeNextAlgorithmParameter(vtkStringToken parameterName, const std::string &algorithmParameters) override
Implement the inverse of AppendAlgorithmParameters(): given parameters, update this algorithm.
static vtkVisualStatistics * New()
virtual void ResetFieldRanges()
Clear all field ranges from this filter.
void AppendAlgorithmParameters(std::string &algorithmParameters) const override
Provide a string that can be used to recreate an instance of this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.