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  -------------------------------------------------------------------------*/
81 #ifndef vtkMultiCorrelativeStatistics_h
82 #define vtkMultiCorrelativeStatistics_h
83 
84 #include "vtkFiltersStatisticsModule.h" // For export macro
85 #include "vtkStatisticsAlgorithm.h"
86 
87 class vtkDoubleArray;
89 class vtkOrderStatistics;
90 class vtkVariant;
91 
92 class VTKFILTERSSTATISTICS_EXPORT vtkMultiCorrelativeStatistics : public vtkStatisticsAlgorithm
93 {
94 public:
96  void PrintSelf( ostream& os, vtkIndent indent ) override;
98 
103  vtkMultiBlockDataSet* ) override;
104 
106 
111  vtkSetMacro( MedianAbsoluteDeviation, bool );
112  vtkGetMacro( MedianAbsoluteDeviation, bool );
113  vtkBooleanMacro( MedianAbsoluteDeviation, bool );
115 
116 protected:
118  ~vtkMultiCorrelativeStatistics() override;
119 
123  void Learn( vtkTable*,
124  vtkTable*,
125  vtkMultiBlockDataSet* ) override;
126 
130  void Derive( vtkMultiBlockDataSet* ) override;
131 
135  void Assess( vtkTable*,
137  vtkTable* ) override;
138 
142  void Test( vtkTable*,
144  vtkTable* ) override { return; }
145 
149  void SelectAssessFunctor( vtkTable* inData,
150  vtkDataObject* inMeta,
151  vtkStringArray* rowNames,
152  AssessFunctor*& dfunc ) override;
153 
157  virtual void ComputeMedian( vtkTable* inData, vtkTable* outData );
158 
163  virtual vtkOrderStatistics* CreateOrderStatisticsInstance();
164 
166 
167 private:
169  void operator = ( const vtkMultiCorrelativeStatistics& ) = delete;
170 };
171 
172 #endif
173 
174 
A base class for a functor that assesses data.
virtual void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)=0
Execute the calculations required by the Assess option.
static vtkTableAlgorithm * New()
A class for univariate order statistics.
maintain an unordered list of data objects
a vtkAbstractArray subclass for strings
A atomic type representing the union of many types.
Definition: vtkVariant.h:71
dynamic, self-adjusting array of double
Base class for statistics algorithms.
A class for multivariate linear correlation.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *)=0
Given a collection of models, calculate aggregate model.
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)=0
Execute the calculations required by the Learn option, given some input Data.
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
virtual void Derive(vtkMultiBlockDataSet *)=0
Execute the calculations required by the Derive option.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
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:64
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.