VTK
vtkDescriptiveStatistics.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkDescriptiveStatistics.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=========================================================================*/
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 -------------------------------------------------------------------------*/
55#ifndef vtkDescriptiveStatistics_h
56#define vtkDescriptiveStatistics_h
57
58#include "vtkFiltersStatisticsModule.h" // For export macro
60
62class vtkStringArray;
63class vtkTable;
64class vtkVariant;
65class vtkDoubleArray;
66
67class VTKFILTERSSTATISTICS_EXPORT vtkDescriptiveStatistics : public vtkStatisticsAlgorithm
68{
69public:
71 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
73
75
80 vtkSetMacro(UnbiasedVariance,int);
81 vtkGetMacro(UnbiasedVariance,int);
82 vtkBooleanMacro(UnbiasedVariance,int);
84
86
91 vtkSetMacro(G1Skewness,int);
92 vtkGetMacro(G1Skewness,int);
93 vtkBooleanMacro(G1Skewness,int);
95
97
102 vtkSetMacro(G2Kurtosis,int);
103 vtkGetMacro(G2Kurtosis,int);
104 vtkBooleanMacro(G2Kurtosis,int);
106
108
113 vtkSetMacro(SignedDeviations,int);
114 vtkGetMacro(SignedDeviations,int);
115 vtkBooleanMacro(SignedDeviations,int);
117
122 vtkMultiBlockDataSet* ) VTK_OVERRIDE;
123
124protected:
127
132 void Learn( vtkTable*,
133 vtkTable*,
134 vtkMultiBlockDataSet* ) VTK_OVERRIDE;
135
139 void Derive( vtkMultiBlockDataSet* ) VTK_OVERRIDE;
140
146 vtkTable* ) VTK_OVERRIDE;
147
151 void Assess( vtkTable* inData,
152 vtkMultiBlockDataSet* inMeta,
153 vtkTable* outData ) VTK_OVERRIDE
154 { this->Superclass::Assess( inData, inMeta, outData, 1 ); }
155
161
166 vtkDataObject* inMeta,
167 vtkStringArray* rowNames,
168 AssessFunctor*& dfunc ) VTK_OVERRIDE;
169
174
175private:
176 vtkDescriptiveStatistics( const vtkDescriptiveStatistics& ) VTK_DELETE_FUNCTION;
177 void operator = ( const vtkDescriptiveStatistics& ) VTK_DELETE_FUNCTION;
178};
179
180#endif
Tests instantiations of the vtkNew class template.
maintain an unordered list of data objects
general representation of visualization data
Definition: vtkDataObject.h:65
A class for univariate descriptive statistics.
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
virtual vtkDoubleArray * CalculatePValues(vtkDoubleArray *)
Calculate p-value.
static vtkDescriptiveStatistics * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkDescriptiveStatistics() override
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model.
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.