VTK  9.2.5
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:
132 
134 
139 
143  void Derive(vtkMultiBlockDataSet*) override;
144 
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 
171 
173 
178 
179  unsigned char GhostsToSkip;
180 
181 private:
183  void operator=(const vtkMultiCorrelativeStatistics&) = delete;
184 };
185 
186 #endif
maintain an unordered list of data objects
general representation of visualization data
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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()
vtkIdType NumberOfGhosts
Storing the number of ghosts in the input to avoid computing this value multiple times.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
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:183
A atomic type representing the union of many types.
Definition: vtkVariant.h:159
int vtkIdType
Definition: vtkType.h:332