VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkMultiCorrelativeStatisticsAssessFunctor.h
Go to the documentation of this file.
1
#ifndef __vtkMultiCorrelativeStatisticsAssessFunctor_h
2
#define __vtkMultiCorrelativeStatisticsAssessFunctor_h
3
4
#include "
vtkStatisticsAlgorithm.h
"
5
6
#include <vtkstd/vector>
7
8
class
vtkDataArray
;
9
class
vtkTable
;
10
11
#define VTK_MULTICORRELATIVE_KEYCOLUMN1 "Column1"
12
#define VTK_MULTICORRELATIVE_KEYCOLUMN2 "Column2"
13
#define VTK_MULTICORRELATIVE_ENTRIESCOL "Entries"
14
#define VTK_MULTICORRELATIVE_AVERAGECOL "Mean"
15
#define VTK_MULTICORRELATIVE_COLUMNAMES "Column"
16
17
class
vtkMultiCorrelativeAssessFunctor
:
public
vtkStatisticsAlgorithm::AssessFunctor
18
{
19
public
:
20
static
vtkMultiCorrelativeAssessFunctor
*
New
();
21
22
vtkMultiCorrelativeAssessFunctor
() { }
23
virtual
~vtkMultiCorrelativeAssessFunctor
() { }
24
virtual
bool
Initialize
(
vtkTable
* inData,
vtkTable
* reqModel,
bool
cholesky =
true
);
25
26
virtual
void
operator ()
(
vtkVariantArray
* result,
vtkIdType
row );
27
28
vtkIdType
GetNumberOfColumns
() {
return
static_cast<
vtkIdType
>
( this->
Columns
.size() ); }
29
vtkDataArray
*
GetColumn
(
vtkIdType
colIdx ) {
return
this->
Columns
[colIdx]; }
30
31
vtkstd::vector<vtkDataArray*>
Columns
;
// Source of data
32
double
*
Center
;
// Offset per column (usu. to re-center the data about the mean)
33
vtkstd::vector<double>
Factor
;
// Weights per column
34
//double Normalization; // Scale factor for the volume under a multivariate Gaussian used to normalize the CDF
35
vtkstd::vector<double>
Tuple
;
// Place to store product of detrended input tuple and Cholesky inverse
36
vtkstd::vector<double>
EmptyTuple
;
// Used to quickly initialize Tuple for each datum
37
};
38
39
#endif // __vtkMultiCorrelativeStatisticsAssessFunctor_h
Generated on Sun Sep 9 2012 13:03:41 for VTK by
1.8.1.2