VTK  9.2.6
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 
105 
110  vtkSetMacro(MedianAbsoluteDeviation, bool);
111  vtkGetMacro(MedianAbsoluteDeviation, bool);
112  vtkBooleanMacro(MedianAbsoluteDeviation, bool);
114 
116 
125  vtkSetMacro(GhostsToSkip, unsigned char);
126  vtkGetMacro(GhostsToSkip, unsigned char);
128 
129 protected:
131  ~vtkMultiCorrelativeStatistics() override;
132 
134 
138  void Learn(vtkTable*, vtkTable*, vtkMultiBlockDataSet*) override;
139 
143  void Derive(vtkMultiBlockDataSet*) override;
144 
148  void Assess(vtkTable*, vtkMultiBlockDataSet*, vtkTable*) override;
149 
153  void Test(vtkTable*, vtkMultiBlockDataSet*, vtkTable*) override { return; }
154 
158  void SelectAssessFunctor(vtkTable* inData, vtkDataObject* inMeta, vtkStringArray* rowNames,
159  AssessFunctor*& dfunc) override;
160 
164  virtual void ComputeMedian(vtkTable* inData, vtkTable* outData);
165 
170  virtual vtkOrderStatistics* CreateOrderStatisticsInstance();
171 
173 
178 
179  unsigned char GhostsToSkip;
180 
181 private:
183  void operator=(const vtkMultiCorrelativeStatistics&) = delete;
184 };
185 
186 #endif
virtual void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)=0
Execute the calculations required by the Assess option.
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
A class for univariate order statistics.
maintain an unordered list of data objects
a vtkAbstractArray subclass for strings
int vtkIdType
Definition: vtkType.h:332
A atomic type representing the union of many types.
Definition: vtkVariant.h:69
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:73
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.
Store zero or more vtkInformation instances.
vtkIdType NumberOfGhosts
Storing the number of ghosts in the input to avoid computing this value multiple times.
general representation of visualization data
Definition: vtkDataObject.h:65
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.