VTK  9.0.1
vtkMultiCorrelativeStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkMultiCorrelativeStatistics.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 2010 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  -------------------------------------------------------------------------*/
78 #ifndef vtkMultiCorrelativeStatistics_h
79 #define vtkMultiCorrelativeStatistics_h
80 
81 #include "vtkFiltersStatisticsModule.h" // For export macro
82 #include "vtkStatisticsAlgorithm.h"
83 
84 class vtkDoubleArray;
86 class vtkOrderStatistics;
87 class vtkVariant;
88 
89 class VTKFILTERSSTATISTICS_EXPORT vtkMultiCorrelativeStatistics : public vtkStatisticsAlgorithm
90 {
91 public:
93  void PrintSelf(ostream& os, vtkIndent indent) override;
95 
100 
102 
107  vtkSetMacro(MedianAbsoluteDeviation, bool);
108  vtkGetMacro(MedianAbsoluteDeviation, bool);
109  vtkBooleanMacro(MedianAbsoluteDeviation, bool);
111 
112 protected:
114  ~vtkMultiCorrelativeStatistics() override;
115 
119  void Learn(vtkTable*, vtkTable*, vtkMultiBlockDataSet*) override;
120 
124  void Derive(vtkMultiBlockDataSet*) override;
125 
129  void Assess(vtkTable*, vtkMultiBlockDataSet*, vtkTable*) override;
130 
134  void Test(vtkTable*, vtkMultiBlockDataSet*, vtkTable*) override { return; }
135 
139  void SelectAssessFunctor(vtkTable* inData, vtkDataObject* inMeta, vtkStringArray* rowNames,
140  AssessFunctor*& dfunc) override;
141 
145  virtual void ComputeMedian(vtkTable* inData, vtkTable* outData);
146 
151  virtual vtkOrderStatistics* CreateOrderStatisticsInstance();
152 
154 
155 private:
157  void operator=(const vtkMultiCorrelativeStatistics&) = delete;
158 };
159 
160 #endif
vtkStatisticsAlgorithm.h
vtkDataObjectCollection
maintain an unordered list of data objects
Definition: vtkDataObjectCollection.h:31
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
vtkMultiCorrelativeStatistics::MedianAbsoluteDeviation
bool MedianAbsoluteDeviation
Definition: vtkMultiCorrelativeStatistics.h:153
vtkOrderStatistics
A class for univariate order statistics.
Definition: vtkOrderStatistics.h:54
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:45
vtkMultiCorrelativeStatistics
A class for multivariate linear correlation.
Definition: vtkMultiCorrelativeStatistics.h:89
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkVariant
A atomic type representing the union of many types.
Definition: vtkVariant.h:65
vtkStatisticsAlgorithm::Learn
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)=0
Execute the calculations required by the Learn option, given some input Data.
vtkStatisticsAlgorithm::Aggregate
virtual void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *)=0
Given a collection of models, calculate aggregate model.
vtkStatisticsAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkStatisticsAlgorithm::Assess
virtual void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)=0
Execute the calculations required by the Assess option.
vtkStatisticsAlgorithm::SelectAssessFunctor
virtual void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc)=0
A pure virtual method to select the appropriate assessment functor.
vtkMultiCorrelativeStatistics::Test
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
Definition: vtkMultiCorrelativeStatistics.h:134
vtkStatisticsAlgorithm::Derive
virtual void Derive(vtkMultiBlockDataSet *)=0
Execute the calculations required by the Derive option.
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:36
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:35
vtkStatisticsAlgorithm
Base class for statistics algorithms.
Definition: vtkStatisticsAlgorithm.h:71
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:59
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()