VTK
vtkDescriptiveStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkDescriptiveStatistics.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 =========================================================================*/
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  -------------------------------------------------------------------------*/
54 #ifndef vtkDescriptiveStatistics_h
55 #define vtkDescriptiveStatistics_h
56 
57 #include "vtkFiltersStatisticsModule.h" // For export macro
58 #include "vtkStatisticsAlgorithm.h"
59 
61 class vtkStringArray;
62 class vtkTable;
63 class vtkVariant;
64 class vtkDoubleArray;
65 
67 {
68 public:
70  void PrintSelf(ostream& os, vtkIndent indent);
71  static vtkDescriptiveStatistics* New();
72 
74 
77  vtkSetMacro(UnbiasedVariance,int);
78  vtkGetMacro(UnbiasedVariance,int);
79  vtkBooleanMacro(UnbiasedVariance,int);
81 
83 
86  vtkSetMacro(G1Skewness,int);
87  vtkGetMacro(G1Skewness,int);
88  vtkBooleanMacro(G1Skewness,int);
90 
92 
95  vtkSetMacro(G2Kurtosis,int);
96  vtkGetMacro(G2Kurtosis,int);
97  vtkBooleanMacro(G2Kurtosis,int);
99 
101 
104  vtkSetMacro(SignedDeviations,int);
105  vtkGetMacro(SignedDeviations,int);
106  vtkBooleanMacro(SignedDeviations,int);
108 
110 
111  virtual void Aggregate( vtkDataObjectCollection*,
114 
115 protected:
118 
120 
122  virtual void Learn( vtkTable*,
123  vtkTable*,
126 
128  virtual void Derive( vtkMultiBlockDataSet* );
129 
131 
132  virtual void Test( vtkTable*,
134  vtkTable* );
136 
138 
139  virtual void Assess( vtkTable* inData,
140  vtkMultiBlockDataSet* inMeta,
141  vtkTable* outData )
142  { this->Superclass::Assess( inData, inMeta, outData, 1 ); }
144 
145 //BTX
148  virtual vtkDoubleArray* CalculatePValues(vtkDoubleArray*);
149 
151 
152  virtual void SelectAssessFunctor( vtkTable* outData,
153  vtkDataObject* inMeta,
154  vtkStringArray* rowNames,
155  AssessFunctor*& dfunc );
156 //ETX
158 
163 
164 private:
165  vtkDescriptiveStatistics( const vtkDescriptiveStatistics& ); // Not implemented
166  void operator = ( const vtkDescriptiveStatistics& ); // Not implemented
167 };
168 
169 #endif
static vtkTableAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
maintain an unordered list of data objects
virtual void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)=0
a vtkAbstractArray subclass for strings
virtual void Assess(vtkTable *inData, vtkMultiBlockDataSet *inMeta, vtkTable *outData)
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
A class for univariate descriptive statistics.
virtual void Derive(vtkMultiBlockDataSet *)=0
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
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