VTK: Filters/Statistics/vtkCorrelativeStatistics.h Source File

| VTK 9.3.1

vtkCorrelativeStatistics.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2011 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
34 #ifndef vtkCorrelativeStatistics_h
35 #define vtkCorrelativeStatistics_h
36
37 #include "vtkFiltersStatisticsModule.h" // For export macro
38 #include "vtkStatisticsAlgorithm.h"
39
40 VTK_ABI_NAMESPACE_BEGIN
41 class vtkMultiBlockDataSet;
42 class vtkStringArray;
43 class vtkTable;
44 class vtkVariant;
45 class vtkDoubleArray;
46
47 class VTKFILTERSSTATISTICS_EXPORT vtkCorrelativeStatistics : public vtkStatisticsAlgorithm
48 {
49 public:
50 vtkTypeMacro(vtkCorrelativeStatistics, vtkStatisticsAlgorithm);
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52 static vtkCorrelativeStatistics* New();
53
57 void Aggregate(vtkDataObjectCollection*, vtkMultiBlockDataSet*) override;
58
59 protected:
60 vtkCorrelativeStatistics();
61 ~vtkCorrelativeStatistics() override;
62
66 void Learn(vtkTable*, vtkTable*, vtkMultiBlockDataSet*) override;
67
71 void Derive(vtkMultiBlockDataSet*) override;
72
76 void Test(vtkTable*, vtkMultiBlockDataSet*, vtkTable*) override;
77
81 void Assess(vtkTable* inData, vtkMultiBlockDataSet* inMeta, vtkTable* outData) override
82 {
83 this->Superclass::Assess(inData, inMeta, outData, 2);
84 }
85
90 virtual vtkDoubleArray* CalculatePValues(vtkDoubleArray*);
91
95 void SelectAssessFunctor(vtkTable* outData, vtkDataObject* inMeta, vtkStringArray* rowNames,
96 AssessFunctor*& dfunc) override;
97
98 private:
99 vtkCorrelativeStatistics(const vtkCorrelativeStatistics&) = delete;
100 void operator=(const vtkCorrelativeStatistics&) = delete;
101 };
102
103 VTK_ABI_NAMESPACE_END
104 #endif
vtkCorrelativeStatistics
A class for bivariate linear correlation.
Definition: vtkCorrelativeStatistics.h:48
vtkCorrelativeStatistics::Assess
void Assess(vtkTable *inData, vtkMultiBlockDataSet *inMeta, vtkTable *outData) override
Execute the calculations required by the Assess option.
Definition: vtkCorrelativeStatistics.h:81
vtkCorrelativeStatistics::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCorrelativeStatistics::Derive
void Derive(vtkMultiBlockDataSet *) override
Execute the calculations required by the Derive option.
vtkCorrelativeStatistics::New
static vtkCorrelativeStatistics * New()
vtkCorrelativeStatistics::Aggregate
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model.
vtkCorrelativeStatistics::Test
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
vtkCorrelativeStatistics::SelectAssessFunctor
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
vtkCorrelativeStatistics::vtkCorrelativeStatistics
vtkCorrelativeStatistics()
vtkCorrelativeStatistics::~vtkCorrelativeStatistics
~vtkCorrelativeStatistics() override
vtkCorrelativeStatistics::Learn
void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *) override
Execute the calculations required by the Learn option.
vtkCorrelativeStatistics::CalculatePValues
virtual vtkDoubleArray * CalculatePValues(vtkDoubleArray *)
Calculate p-value.
vtkDataObjectCollection
maintain an unordered list of data objects
Definition: vtkDataObjectCollection.h:21
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:64
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:40
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:50
vtkStatisticsAlgorithm::AssessFunctor
A base class for a functor that assesses data.
Definition: vtkStatisticsAlgorithm.h:183
vtkStatisticsAlgorithm
Base class for statistics algorithms.
Definition: vtkStatisticsAlgorithm.h:69
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkVariant
A type representing the union of many types.
Definition: vtkVariant.h:62
vtkStatisticsAlgorithm.h