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  -------------------------------------------------------------------------*/
49 #ifndef vtkCorrelativeStatistics_h
50 #define vtkCorrelativeStatistics_h
51 
52 #include "vtkFiltersStatisticsModule.h" // For export macro
53 #include "vtkStatisticsAlgorithm.h"
54 
56 class vtkStringArray;
57 class vtkTable;
58 class vtkVariant;
59 class vtkDoubleArray;
60 
62 {
63 public:
65  void PrintSelf(ostream& os, vtkIndent indent);
66  static vtkCorrelativeStatistics* New();
67 
69 
70  virtual void Aggregate( vtkDataObjectCollection*,
73 
74 protected:
77 
79 
80  virtual void Learn( vtkTable*,
81  vtkTable*,
84 
86  virtual void Derive( vtkMultiBlockDataSet* );
87 
89 
90  virtual void Test( vtkTable*,
92  vtkTable* );
94 
96 
97  virtual void Assess( vtkTable* inData,
98  vtkMultiBlockDataSet* inMeta,
99  vtkTable* outData )
100  { this->Superclass::Assess( inData, inMeta, outData, 2 ); }
102 
103 //BTX
106  virtual vtkDoubleArray* CalculatePValues(vtkDoubleArray*);
107 
109 
110  virtual void SelectAssessFunctor( vtkTable* outData,
111  vtkDataObject* inMeta,
112  vtkStringArray* rowNames,
113  AssessFunctor*& dfunc );
114 //ETX
116 
117 private:
118  vtkCorrelativeStatistics(const vtkCorrelativeStatistics&); // Not implemented
119  void operator=(const vtkCorrelativeStatistics&); // Not implemented
120 };
121 
122 #endif
static vtkTableAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
maintain an unordered list of data objects
virtual void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)=0
a vtkAbstractArray subclass for strings
A atomic type representing the union of many types.
Definition: vtkVariant.h:78
dynamic, self-adjusting array of double
Base class for statistics algorithms.
virtual void Assess(vtkTable *inData, vtkMultiBlockDataSet *inMeta, vtkTable *outData)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *)=0
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)=0
virtual void Derive(vtkMultiBlockDataSet *)=0
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
Composite dataset that organizes datasets into blocks.
virtual void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc)=0
#define VTKFILTERSSTATISTICS_EXPORT
general representation of visualization data
Definition: vtkDataObject.h:64
A class for bivariate linear correlation.