VTK  9.2.6
vtkMultiCorrelativeStatistics.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkMultiCorrelativeStatistics.h
5
6Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7All rights reserved.
8See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10This software is distributed WITHOUT ANY WARRANTY; without even
11the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12PURPOSE. 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
86
87class vtkDoubleArray;
90class vtkVariant;
91
92class VTKFILTERSSTATISTICS_EXPORT vtkMultiCorrelativeStatistics : public vtkStatisticsAlgorithm
93{
94public:
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
129protected:
132
134
139
144
149
153 void Test(vtkTable*, vtkMultiBlockDataSet*, vtkTable*) override { return; }
154
159 AssessFunctor*& dfunc) override;
160
164 virtual void ComputeMedian(vtkTable* inData, vtkTable* outData);
165
171
173
178
179 unsigned char GhostsToSkip;
180
181private:
183 void operator=(const vtkMultiCorrelativeStatistics&) = delete;
184};
185
186#endif
maintain an unordered list of data objects
general representation of visualization data
Definition: vtkDataObject.h:66
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:40
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
virtual vtkOrderStatistics * CreateOrderStatisticsInstance()
Return a new vtkOrderStatistics instance.
void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Assess option.
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.
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.
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:74
A atomic type representing the union of many types.
Definition: vtkVariant.h:70
int vtkIdType
Definition: vtkType.h:332