VTK
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  vtkMultiBlockDataSet* ) override;
101 
103 
108  vtkSetMacro( MedianAbsoluteDeviation, bool );
109  vtkGetMacro( MedianAbsoluteDeviation, bool );
110  vtkBooleanMacro( MedianAbsoluteDeviation, bool );
112 
113 protected:
115  ~vtkMultiCorrelativeStatistics() override;
116 
120  void Learn( vtkTable*,
121  vtkTable*,
122  vtkMultiBlockDataSet* ) override;
123 
127  void Derive( vtkMultiBlockDataSet* ) override;
128 
132  void Assess( vtkTable*,
134  vtkTable* ) override;
135 
139  void Test( vtkTable*,
141  vtkTable* ) override { return; }
142 
146  void SelectAssessFunctor( vtkTable* inData,
147  vtkDataObject* inMeta,
148  vtkStringArray* rowNames,
149  AssessFunctor*& dfunc ) override;
150 
154  virtual void ComputeMedian( vtkTable* inData, vtkTable* outData );
155 
160  virtual vtkOrderStatistics* CreateOrderStatisticsInstance();
161 
163 
164 private:
166  void operator = ( const vtkMultiCorrelativeStatistics& ) = delete;
167 };
168 
169 #endif
170 
171 
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:162
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:139
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:58
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()