#include <vtkOrderStatistics.h>
Given a selection of columns of interest in an input data table, this class provides the following functionalities, depending on the execution mode it is executed in: Learn: calculate arbitrary quantiles. Provide specific names when 5-point statistics (minimum, 1st quartile, median, third quartile, maximum) requested. Assess: given an input data set and a set of q-quantiles, label each datum either with the quantile interval to which it belongs, or 0 if it is smaller than smaller quantile, or q if it is larger than largest quantile.
Definition at line 54 of file vtkOrderStatistics.h.
Reimplemented from vtkUnivariateStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
Definition at line 57 of file vtkOrderStatistics.h.
The type of quantile definition.
Definition at line 64 of file vtkOrderStatistics.h.
vtkOrderStatistics::vtkOrderStatistics | ( | ) | [protected] |
vtkOrderStatistics::~vtkOrderStatistics | ( | ) | [protected] |
virtual const char* vtkOrderStatistics::GetClassName | ( | ) | [virtual] |
static int vtkOrderStatistics::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkUnivariateStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
virtual int vtkOrderStatistics::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkUnivariateStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
static vtkOrderStatistics* vtkOrderStatistics::SafeDownCast | ( | vtkObject * | o | ) | [static] |
void vtkOrderStatistics::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkUnivariateStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
static vtkOrderStatistics* vtkOrderStatistics::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTableAlgorithm.
Reimplemented in vtkPOrderStatistics.
virtual void vtkOrderStatistics::SetNumericType | ( | int | ) | [virtual] |
Set/get whether histograms and assessment data should be treated as numeric data. Otherwise, then everything is treated as strings, which always works, and is thus the the default. Note that if the data is indeed numeric but this is not set, some strange results will occur because of the use of the lexicographic order instead of the order on reals.
virtual int vtkOrderStatistics::GetNumericType | ( | ) | [virtual] |
Set/get whether histograms and assessment data should be treated as numeric data. Otherwise, then everything is treated as strings, which always works, and is thus the the default. Note that if the data is indeed numeric but this is not set, some strange results will occur because of the use of the lexicographic order instead of the order on reals.
virtual void vtkOrderStatistics::NumericTypeOn | ( | ) | [virtual] |
Set/get whether histograms and assessment data should be treated as numeric data. Otherwise, then everything is treated as strings, which always works, and is thus the the default. Note that if the data is indeed numeric but this is not set, some strange results will occur because of the use of the lexicographic order instead of the order on reals.
virtual void vtkOrderStatistics::NumericTypeOff | ( | ) | [virtual] |
Set/get whether histograms and assessment data should be treated as numeric data. Otherwise, then everything is treated as strings, which always works, and is thus the the default. Note that if the data is indeed numeric but this is not set, some strange results will occur because of the use of the lexicographic order instead of the order on reals.
virtual void vtkOrderStatistics::SetNumberOfIntervals | ( | vtkIdType | ) | [virtual] |
Set/Get the number of quantiles (with uniform spacing).
virtual vtkIdType vtkOrderStatistics::GetNumberOfIntervals | ( | ) | [virtual] |
Set/Get the number of quantiles (with uniform spacing).
virtual void vtkOrderStatistics::SetQuantileDefinition | ( | QuantileDefinitionType | ) | [virtual] |
Set the quantile definition.
void vtkOrderStatistics::SetQuantileDefinition | ( | int | ) |
Set the quantile definition.
vtkIdType vtkOrderStatistics::GetQuantileDefinition | ( | ) | [inline] |
Get the quantile definition.
Definition at line 96 of file vtkOrderStatistics.h.
virtual bool vtkOrderStatistics::SetParameter | ( | const char * | parameter, | |
int | index, | |||
vtkVariant | value | |||
) | [virtual] |
A convenience method (in particular for access from other applications) to set parameter values. Return true if setting of requested parameter name was excuted, false otherwise.
Reimplemented from vtkStatisticsAlgorithm.
virtual void vtkOrderStatistics::Aggregate | ( | vtkDataObjectCollection * | , | |
vtkMultiBlockDataSet * | ||||
) | [inline, virtual] |
Given a collection of models, calculate aggregate model NB: not implemented
Implements vtkStatisticsAlgorithm.
Definition at line 110 of file vtkOrderStatistics.h.
virtual void vtkOrderStatistics::Learn | ( | vtkTable * | inData, | |
vtkTable * | inParameters, | |||
vtkMultiBlockDataSet * | outMeta | |||
) | [protected, virtual] |
Execute the calculations required by the Learn option.
Implements vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
virtual void vtkOrderStatistics::Derive | ( | vtkMultiBlockDataSet * | ) | [protected, virtual] |
Execute the calculations required by the Derive option.
Implements vtkStatisticsAlgorithm.
virtual void vtkOrderStatistics::Test | ( | vtkTable * | , | |
vtkMultiBlockDataSet * | , | |||
vtkTable * | ||||
) | [protected, virtual] |
Execute the calculations required by the Test option.
Implements vtkStatisticsAlgorithm.
virtual void vtkOrderStatistics::SelectAssessFunctor | ( | vtkTable * | outData, | |
vtkDataObject * | inMeta, | |||
vtkStringArray * | rowNames, | |||
AssessFunctor *& | dfunc | |||
) | [protected, virtual] |
Provide the appropriate assessment functor.
Implements vtkStatisticsAlgorithm.
int vtkOrderStatistics::NumericType [protected] |
Definition at line 145 of file vtkOrderStatistics.h.
int vtkOrderStatistics::NumberOfIntervals [protected] |
Definition at line 146 of file vtkOrderStatistics.h.
Definition at line 147 of file vtkOrderStatistics.h.