VTK  9.1.0
vtkAutoCorrelativeStatistics.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkAutoCorrelativeStatistics.h
5
6Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7All rights reserved.
8See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10This software is distributed WITHOUT ANY WARRANTY; without even
11the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
40#ifndef vtkAutoCorrelativeStatistics_h
41#define vtkAutoCorrelativeStatistics_h
42
43#include "vtkFiltersStatisticsModule.h" // For export macro
45
47class vtkStringArray;
48class vtkTable;
49class vtkVariant;
50class vtkDoubleArray;
51
52class VTKFILTERSSTATISTICS_EXPORT vtkAutoCorrelativeStatistics : public vtkStatisticsAlgorithm
53{
54public:
56 void PrintSelf(ostream& os, vtkIndent indent) override;
58
60
68 vtkSetClampMacro(SliceCardinality, vtkIdType, 0, VTK_ID_MAX);
69 vtkGetMacro(SliceCardinality, vtkIdType);
71
76
77protected:
80
86
91
95 void Test(vtkTable*, vtkMultiBlockDataSet*, vtkTable*) override { return; }
96
100 void Assess(vtkTable* inData, vtkMultiBlockDataSet* inMeta, vtkTable* outData) override
101 {
102 this->Superclass::Assess(inData, inMeta, outData, 1);
103 }
104
110
114 void SelectAssessFunctor(vtkTable* outData, vtkDataObject* inMeta, vtkStringArray* rowNames,
115 AssessFunctor*& dfunc) override;
116
118
119private:
121 void operator=(const vtkAutoCorrelativeStatistics&) = delete;
122};
123
124#endif
A class for univariate auto-correlative statistics.
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
void Derive(vtkMultiBlockDataSet *) override
Execute the calculations required by the Derive option.
virtual vtkDoubleArray * CalculatePValues(vtkDoubleArray *)
Calculate p-value.
static vtkAutoCorrelativeStatistics * New()
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
void Assess(vtkTable *inData, vtkMultiBlockDataSet *inMeta, vtkTable *outData) override
Execute the calculations required by the Assess option.
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model.
void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *) 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:113
Composite dataset that organizes datasets into blocks.
A base class for a functor that assesses data.
Base class for statistics algorithms.
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:172
A atomic type representing the union of many types.
Definition: vtkVariant.h:145
int vtkIdType
Definition: vtkType.h:332
#define VTK_ID_MAX
Definition: vtkType.h:336