VTK  9.0.2
vtkCorrelativeStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkCorrelativeStatistics.h
5 
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2011 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19  -------------------------------------------------------------------------*/
44 #ifndef vtkCorrelativeStatistics_h
45 #define vtkCorrelativeStatistics_h
46 
47 #include "vtkFiltersStatisticsModule.h" // For export macro
48 #include "vtkStatisticsAlgorithm.h"
49 
51 class vtkStringArray;
52 class vtkTable;
53 class vtkVariant;
54 class vtkDoubleArray;
55 
56 class VTKFILTERSSTATISTICS_EXPORT vtkCorrelativeStatistics : public vtkStatisticsAlgorithm
57 {
58 public:
60  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
67 
68 protected:
71 
76 
80  void Derive(vtkMultiBlockDataSet*) override;
81 
86 
90  void Assess(vtkTable* inData, vtkMultiBlockDataSet* inMeta, vtkTable* outData) override
91  {
92  this->Superclass::Assess(inData, inMeta, outData, 2);
93  }
94 
100 
104  void SelectAssessFunctor(vtkTable* outData, vtkDataObject* inMeta, vtkStringArray* rowNames,
105  AssessFunctor*& dfunc) override;
106 
107 private:
109  void operator=(const vtkCorrelativeStatistics&) = delete;
110 };
111 
112 #endif
A class for bivariate linear correlation.
void Assess(vtkTable *inData, vtkMultiBlockDataSet *inMeta, vtkTable *outData) override
Execute the calculations required by the Assess option.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Derive(vtkMultiBlockDataSet *) override
Execute the calculations required by the Derive option.
static vtkCorrelativeStatistics * New()
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model.
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
~vtkCorrelativeStatistics() override
void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *) override
Execute the calculations required by the Learn option.
virtual vtkDoubleArray * CalculatePValues(vtkDoubleArray *)
Calculate p-value.
maintain an unordered list of data objects
general representation of visualization data
Definition: vtkDataObject.h:60
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:34
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:63
A atomic type representing the union of many types.
Definition: vtkVariant.h:66