VTK  9.6.20251231
vtkAutoCorrelativeStatistics.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
30
31#ifndef vtkAutoCorrelativeStatistics_h
32#define vtkAutoCorrelativeStatistics_h
33
34#include "vtkFiltersStatisticsModule.h" // For export macro
36
37VTK_ABI_NAMESPACE_BEGIN
39class vtkStringArray;
40class vtkTable;
41class vtkVariant;
42class vtkDoubleArray;
43
44class VTKFILTERSSTATISTICS_EXPORT vtkAutoCorrelativeStatistics : public vtkStatisticsAlgorithm
45{
46public:
48 void PrintSelf(ostream& os, vtkIndent indent) override;
50
52 int GetMaximumNumberOfColumnsPerRequest() const override { return 1; }
53
55
63 vtkSetClampMacro(SliceCardinality, vtkIdType, 0, VTK_ID_MAX);
66
71
72protected:
75
81
85 void Derive(vtkStatisticalModel*) override;
86
91
95 void Assess(vtkTable* inData, vtkStatisticalModel* inMeta, vtkTable* outData) override
96 {
97 this->Superclass::Assess(inData, inMeta, outData, 1);
98 }
99
105
109 void SelectAssessFunctor(vtkTable* outData, vtkDataObject* inMeta, vtkStringArray* rowNames,
110 AssessFunctor*& dfunc) override;
111
113
114private:
116 void operator=(const vtkAutoCorrelativeStatistics&) = delete;
117};
118
119VTK_ABI_NAMESPACE_END
120#endif
int GetMaximumNumberOfColumnsPerRequest() const override
This filter requires univariate requests.
void Test(vtkTable *, vtkStatisticalModel *, vtkTable *) override
Execute the calculations required by the Test option.
virtual vtkDoubleArray * CalculatePValues(vtkDoubleArray *)
Calculate p-value.
static vtkAutoCorrelativeStatistics * New()
bool Aggregate(vtkDataObjectCollection *, vtkStatisticalModel *) override
Given a collection of models, calculate aggregate model.
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
void Derive(vtkStatisticalModel *) override
Execute the calculations required by the Derive option.
void Assess(vtkTable *inData, vtkStatisticalModel *inMeta, vtkTable *outData) override
Execute the calculations required by the Assess option.
void Learn(vtkTable *, vtkTable *, vtkStatisticalModel *) override
Execute the calculations required by the Learn option, given some input Data NB: input parameters are...
~vtkAutoCorrelativeStatistics() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
maintain an unordered list of data objects
general representation of visualization data
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition vtkIndent.h:108
a base class for statistical modeling of other data
A base class for a functor that assesses data.
virtual void Assess(vtkTable *, vtkStatisticalModel *, vtkTable *)=0
Execute the calculations required by the Assess option.
vtkStatisticsAlgorithm()
Return a new instance of a subclass named and configured by the algorithmParameters.
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.
Definition vtkTable.h:169
A type representing the union of many types.
Definition vtkVariant.h:162
int vtkIdType
Definition vtkType.h:368
#define VTK_ID_MAX
Definition vtkType.h:372