VTK  9.3.20240418
vtkMultiCorrelativeStatistics.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2010 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
65 #ifndef vtkMultiCorrelativeStatistics_h
66 #define vtkMultiCorrelativeStatistics_h
67 
68 #include "vtkFiltersStatisticsModule.h" // For export macro
69 #include "vtkStatisticsAlgorithm.h"
70 
71 VTK_ABI_NAMESPACE_BEGIN
72 class vtkDoubleArray;
74 class vtkOrderStatistics;
75 class vtkVariant;
76 
77 class VTKFILTERSSTATISTICS_EXPORT vtkMultiCorrelativeStatistics : public vtkStatisticsAlgorithm
78 {
79 public:
81  void PrintSelf(ostream& os, vtkIndent indent) override;
83 
88 
90 
95  vtkSetMacro(MedianAbsoluteDeviation, bool);
96  vtkGetMacro(MedianAbsoluteDeviation, bool);
97  vtkBooleanMacro(MedianAbsoluteDeviation, bool);
99 
101 
110  vtkSetMacro(GhostsToSkip, unsigned char);
111  vtkGetMacro(GhostsToSkip, unsigned char);
113 
114 protected:
117 
119 
124 
128  void Derive(vtkMultiBlockDataSet*) override;
129 
134 
139 
143  void SelectAssessFunctor(vtkTable* inData, vtkDataObject* inMeta, vtkStringArray* rowNames,
144  AssessFunctor*& dfunc) override;
145 
149  virtual void ComputeMedian(vtkTable* inData, vtkTable* outData);
150 
156 
158 
163 
164  unsigned char GhostsToSkip;
165 
166 private:
168  void operator=(const vtkMultiCorrelativeStatistics&) = delete;
169 };
170 
171 VTK_ABI_NAMESPACE_END
172 #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:108
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:168
A type representing the union of many types.
Definition: vtkVariant.h:162
int vtkIdType
Definition: vtkType.h:315