VTK  9.1.0
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:
115 
120 
124  void Derive(vtkMultiBlockDataSet*) override;
125 
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 
152 
154 
155 private:
157  void operator=(const vtkMultiCorrelativeStatistics&) = delete;
158 };
159 
160 #endif
maintain an unordered list of data objects
general representation of visualization data
Definition: vtkDataObject.h:60
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:34
Composite dataset that organizes datasets into blocks.
A class for multivariate linear correlation.
void Derive(vtkMultiBlockDataSet *) override
Execute the calculations required by the Derive option.
~vtkMultiCorrelativeStatistics() override
void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Assess option.
virtual vtkOrderStatistics * CreateOrderStatisticsInstance()
Return a new vtkOrderStatistics instance.
void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *) override
Execute the calculations required by the Learn option.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model.
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
static vtkMultiCorrelativeStatistics * New()
void SelectAssessFunctor(vtkTable *inData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
virtual void ComputeMedian(vtkTable *inData, vtkTable *outData)
Computes the median of inData with vtkOrderStatistics.
A class for univariate order statistics.
A base class for a functor that assesses data.
Base class for statistics algorithms.
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:63
A atomic type representing the union of many types.
Definition: vtkVariant.h:66