VTK
vtkAutoCorrelativeStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkAutoCorrelativeStatistics.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 =========================================================================*/
42 #ifndef vtkAutoCorrelativeStatistics_h
43 #define vtkAutoCorrelativeStatistics_h
44 
45 #include "vtkFiltersStatisticsModule.h" // For export macro
46 #include "vtkStatisticsAlgorithm.h"
47 
49 class vtkStringArray;
50 class vtkTable;
51 class vtkVariant;
52 class vtkDoubleArray;
53 
55 {
56 public:
58  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
67  vtkSetClampMacro(SliceCardinality,vtkIdType,0,VTK_ID_MAX);
68  vtkGetMacro(SliceCardinality,vtkIdType);
70 
72 
73  virtual void Aggregate( vtkDataObjectCollection*,
76 
77 protected:
80 
82 
84  virtual void Learn( vtkTable*,
85  vtkTable*,
88 
90  virtual void Derive( vtkMultiBlockDataSet* );
91 
93 
94  virtual void Test( vtkTable*,
96  vtkTable* ) { return; };
98 
100 
101  virtual void Assess( vtkTable* inData,
102  vtkMultiBlockDataSet* inMeta,
103  vtkTable* outData )
104  { this->Superclass::Assess( inData, inMeta, outData, 1 ); }
106 
107 //BTX
110  virtual vtkDoubleArray* CalculatePValues(vtkDoubleArray*);
111 
113 
114  virtual void SelectAssessFunctor( vtkTable* outData,
115  vtkDataObject* inMeta,
116  vtkStringArray* rowNames,
117  AssessFunctor*& dfunc );
118 //ETX
120 
122 
123 private:
124  vtkAutoCorrelativeStatistics( const vtkAutoCorrelativeStatistics& ); // Not implemented
125  void operator = ( const vtkAutoCorrelativeStatistics& ); // Not implemented
126 };
127 
128 #endif
virtual void Assess(vtkTable *inData, vtkMultiBlockDataSet *inMeta, vtkTable *outData)
static vtkTableAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
maintain an unordered list of data objects
a vtkAbstractArray subclass for strings
int vtkIdType
Definition: vtkType.h:275
A atomic type representing the union of many types.
Definition: vtkVariant.h:78
dynamic, self-adjusting array of double
Base class for statistics algorithms.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *)=0
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)=0
virtual void Derive(vtkMultiBlockDataSet *)=0
A class for univariate auto-correlative statistics.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
#define VTK_ID_MAX
Definition: vtkType.h:278
Composite dataset that organizes datasets into blocks.
virtual void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc)=0
#define VTKFILTERSSTATISTICS_EXPORT
general representation of visualization data
Definition: vtkDataObject.h:64
virtual void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)