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 =========================================================================*/
40 #ifndef vtkAutoCorrelativeStatistics_h
41 #define vtkAutoCorrelativeStatistics_h
42 
43 #include "vtkFiltersStatisticsModule.h" // For export macro
44 #include "vtkStatisticsAlgorithm.h"
45 
47 class vtkStringArray;
48 class vtkTable;
49 class vtkVariant;
50 class vtkDoubleArray;
51 
52 class VTKFILTERSSTATISTICS_EXPORT vtkAutoCorrelativeStatistics : public vtkStatisticsAlgorithm
53 {
54 public:
56  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
58 
60 
68  vtkSetClampMacro(SliceCardinality,vtkIdType,0,VTK_ID_MAX);
69  vtkGetMacro(SliceCardinality,vtkIdType);
71 
76  vtkMultiBlockDataSet* ) VTK_OVERRIDE;
77 
78 protected:
80  ~vtkAutoCorrelativeStatistics() VTK_OVERRIDE;
81 
86  void Learn( vtkTable*,
87  vtkTable*,
88  vtkMultiBlockDataSet* ) VTK_OVERRIDE;
89 
93  void Derive( vtkMultiBlockDataSet* ) VTK_OVERRIDE;
94 
98  void Test( vtkTable*,
100  vtkTable* ) VTK_OVERRIDE { return; };
101 
105  void Assess( vtkTable* inData,
106  vtkMultiBlockDataSet* inMeta,
107  vtkTable* outData ) VTK_OVERRIDE
108  { this->Superclass::Assess( inData, inMeta, outData, 1 ); }
109 
114  virtual vtkDoubleArray* CalculatePValues(vtkDoubleArray*);
115 
119  void SelectAssessFunctor( vtkTable* outData,
120  vtkDataObject* inMeta,
121  vtkStringArray* rowNames,
122  AssessFunctor*& dfunc ) VTK_OVERRIDE;
123 
125 
126 private:
127  vtkAutoCorrelativeStatistics( const vtkAutoCorrelativeStatistics& ) VTK_DELETE_FUNCTION;
128  void operator = ( const vtkAutoCorrelativeStatistics& ) VTK_DELETE_FUNCTION;
129 };
130 
131 #endif
A base class for a functor that assesses data.
static vtkTableAlgorithm * New()
maintain an unordered list of data objects
Tests instantiations of the vtkNew class template.
a vtkAbstractArray subclass for strings
int vtkIdType
Definition: vtkType.h:345
void Assess(vtkTable *inData, vtkMultiBlockDataSet *inMeta, vtkTable *outData) override
Execute the calculations required by the Assess option.
A atomic type representing the union of many types.
Definition: vtkVariant.h:69
dynamic, self-adjusting array of double
Base class for statistics algorithms.
a simple class to control print indentation
Definition: vtkIndent.h:33
virtual void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *)=0
Given a collection of models, calculate aggregate model.
A class for univariate auto-correlative statistics.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
#define VTK_ID_MAX
Definition: vtkType.h:349
Composite dataset that organizes datasets into blocks.
virtual void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc)=0
A pure virtual method to select the appropriate assessment functor.
general representation of visualization data
Definition: vtkDataObject.h:58
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.