VTK
vtkCorrelativeStatistics.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkCorrelativeStatistics.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 2011 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 -------------------------------------------------------------------------*/
50#ifndef vtkCorrelativeStatistics_h
51#define vtkCorrelativeStatistics_h
52
53#include "vtkFiltersStatisticsModule.h" // For export macro
55
57class vtkStringArray;
58class vtkTable;
59class vtkVariant;
60class vtkDoubleArray;
61
62class VTKFILTERSSTATISTICS_EXPORT vtkCorrelativeStatistics : public vtkStatisticsAlgorithm
63{
64public:
66 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
68
73 vtkMultiBlockDataSet* ) VTK_OVERRIDE;
74
75protected:
78
82 void Learn( vtkTable*,
83 vtkTable*,
84 vtkMultiBlockDataSet* ) VTK_OVERRIDE;
85
89 void Derive( vtkMultiBlockDataSet* ) VTK_OVERRIDE;
90
94 void Test( vtkTable*,
96 vtkTable* ) VTK_OVERRIDE;
97
101 void Assess( vtkTable* inData,
102 vtkMultiBlockDataSet* inMeta,
103 vtkTable* outData ) VTK_OVERRIDE
104 { this->Superclass::Assess( inData, inMeta, outData, 2 ); }
105
111
116 vtkDataObject* inMeta,
117 vtkStringArray* rowNames,
118 AssessFunctor*& dfunc ) VTK_OVERRIDE;
119
120private:
121 vtkCorrelativeStatistics(const vtkCorrelativeStatistics&) VTK_DELETE_FUNCTION;
122 void operator=(const vtkCorrelativeStatistics&) VTK_DELETE_FUNCTION;
123};
124
125#endif
Tests instantiations of the vtkNew class template.
A class for bivariate linear correlation.
static vtkCorrelativeStatistics * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkDoubleArray * CalculatePValues(vtkDoubleArray *)
Calculate p-value.
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model.
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
~vtkCorrelativeStatistics() override
maintain an unordered list of data objects
general representation of visualization data
Definition: vtkDataObject.h:65
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:40
Composite dataset that organizes datasets into blocks.
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:69
A atomic type representing the union of many types.
Definition: vtkVariant.h:76