VTK
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) VTK_OVERRIDE;
61  static vtkCorrelativeStatistics* New();
62 
67  vtkMultiBlockDataSet* ) VTK_OVERRIDE;
68 
69 protected:
71  ~vtkCorrelativeStatistics() VTK_OVERRIDE;
72 
76  void Learn( vtkTable*,
77  vtkTable*,
78  vtkMultiBlockDataSet* ) VTK_OVERRIDE;
79 
83  void Derive( vtkMultiBlockDataSet* ) VTK_OVERRIDE;
84 
88  void Test( vtkTable*,
90  vtkTable* ) VTK_OVERRIDE;
91 
95  void Assess( vtkTable* inData,
96  vtkMultiBlockDataSet* inMeta,
97  vtkTable* outData ) VTK_OVERRIDE
98  { this->Superclass::Assess( inData, inMeta, outData, 2 ); }
99 
104  virtual vtkDoubleArray* CalculatePValues(vtkDoubleArray*);
105 
109  void SelectAssessFunctor( vtkTable* outData,
110  vtkDataObject* inMeta,
111  vtkStringArray* rowNames,
112  AssessFunctor*& dfunc ) VTK_OVERRIDE;
113 
114 private:
115  vtkCorrelativeStatistics(const vtkCorrelativeStatistics&) VTK_DELETE_FUNCTION;
116  void operator=(const vtkCorrelativeStatistics&) VTK_DELETE_FUNCTION;
117 };
118 
119 #endif
A base class for a functor that assesses data.
static vtkTableAlgorithm * New()
maintain an unordered list of data objects
Tests instantiations of the vtkNew class template.
a vtkAbstractArray subclass for strings
A atomic type representing the union of many types.
Definition: vtkVariant.h:69
dynamic, self-adjusting array of double
Base class for statistics algorithms.
a simple class to control print indentation
Definition: vtkIndent.h:33
virtual void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *)=0
Given a collection of models, calculate aggregate model.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
Composite dataset that organizes datasets into blocks.
virtual void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc)=0
A pure virtual method to select the appropriate assessment functor.
general representation of visualization data
Definition: vtkDataObject.h:58
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A class for bivariate linear correlation.