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 "vtkStatisticsAlgorithm.h"
58 
60 class vtkStringArray;
61 class vtkTable;
62 class vtkVariant;
63 
65 {
66 public:
68  void PrintSelf(ostream& os, vtkIndent indent);
69  static vtkDescriptiveStatistics* New();
70 
72 
75  vtkSetMacro(UnbiasedVariance,int);
76  vtkGetMacro(UnbiasedVariance,int);
77  vtkBooleanMacro(UnbiasedVariance,int);
79 
81 
84  vtkSetMacro(G1Skewness,int);
85  vtkGetMacro(G1Skewness,int);
86  vtkBooleanMacro(G1Skewness,int);
88 
90 
93  vtkSetMacro(G2Kurtosis,int);
94  vtkGetMacro(G2Kurtosis,int);
95  vtkBooleanMacro(G2Kurtosis,int);
97 
99 
102  vtkSetMacro(SignedDeviations,int);
103  vtkGetMacro(SignedDeviations,int);
104  vtkBooleanMacro(SignedDeviations,int);
106 
108 
109  virtual void Aggregate( vtkDataObjectCollection*,
112 
113 protected:
116 
118 
120  virtual void Learn( vtkTable*,
121  vtkTable*,
124 
126  virtual void Derive( vtkMultiBlockDataSet* );
127 
129 
130  virtual void Test( vtkTable*,
132  vtkTable* );
134 
136 
137  virtual void Assess( vtkTable* inData,
138  vtkMultiBlockDataSet* inMeta,
139  vtkTable* outData )
140  { this->Superclass::Assess( inData, inMeta, outData, 1 ); }
142 
143 //BTX
145 
146  virtual void SelectAssessFunctor( vtkTable* outData,
147  vtkDataObject* inMeta,
148  vtkStringArray* rowNames,
149  AssessFunctor*& dfunc );
150 //ETX
152 
157 
158 private:
159  vtkDescriptiveStatistics( const vtkDescriptiveStatistics& ); // Not implemented
160  void operator = ( const vtkDescriptiveStatistics& ); // Not implemented
161 };
162 
163 #endif