VTK
vtkAutoCorrelativeStatistics.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkAutoCorrelativeStatistics.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=========================================================================*/
43#ifndef vtkAutoCorrelativeStatistics_h
44#define vtkAutoCorrelativeStatistics_h
45
46#include "vtkFiltersStatisticsModule.h" // For export macro
48
50class vtkStringArray;
51class vtkTable;
52class vtkVariant;
53class vtkDoubleArray;
54
55class VTKFILTERSSTATISTICS_EXPORT vtkAutoCorrelativeStatistics : public vtkStatisticsAlgorithm
56{
57public:
59 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
61
63
71 vtkSetClampMacro(SliceCardinality,vtkIdType,0,VTK_ID_MAX);
72 vtkGetMacro(SliceCardinality,vtkIdType);
74
79 vtkMultiBlockDataSet* ) VTK_OVERRIDE;
80
81protected:
84
89 void Learn( vtkTable*,
90 vtkTable*,
91 vtkMultiBlockDataSet* ) VTK_OVERRIDE;
92
96 void Derive( vtkMultiBlockDataSet* ) VTK_OVERRIDE;
97
103 vtkTable* ) VTK_OVERRIDE { return; };
104
108 void Assess( vtkTable* inData,
109 vtkMultiBlockDataSet* inMeta,
110 vtkTable* outData ) VTK_OVERRIDE
111 { this->Superclass::Assess( inData, inMeta, outData, 1 ); }
112
118
123 vtkDataObject* inMeta,
124 vtkStringArray* rowNames,
125 AssessFunctor*& dfunc ) VTK_OVERRIDE;
126
128
129private:
131 void operator = ( const vtkAutoCorrelativeStatistics& ) VTK_DELETE_FUNCTION;
132};
133
134#endif
Tests instantiations of the vtkNew class template.
A class for univariate auto-correlative statistics.
virtual vtkDoubleArray * CalculatePValues(vtkDoubleArray *)
Calculate p-value.
static vtkAutoCorrelativeStatistics * New()
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
void Assess(vtkTable *inData, vtkMultiBlockDataSet *inMeta, vtkTable *outData) override
Execute the calculations required by the Assess option.
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model.
~vtkAutoCorrelativeStatistics() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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
int vtkIdType
Definition: vtkType.h:287
#define VTK_ID_MAX
Definition: vtkType.h:291