VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkContingencyStatistics.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContingencyStatistics.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
-------------------------------------------------------------------------*/
43
#ifndef __vtkContingencyStatistics_h
44
#define __vtkContingencyStatistics_h
45
46
#include "
vtkBivariateStatisticsAlgorithm.h
"
47
48
class
vtkMultiBlockDataSet
;
49
class
vtkStringArray
;
50
class
vtkTable
;
51
class
vtkVariant
;
52
53
class
VTK_INFOVIS_EXPORT
vtkContingencyStatistics
:
public
vtkBivariateStatisticsAlgorithm
54
{
55
public
:
56
vtkTypeMacro(
vtkContingencyStatistics
,
vtkBivariateStatisticsAlgorithm
);
57
void
PrintSelf
(ostream& os,
vtkIndent
indent);
58
static
vtkContingencyStatistics
*
New
();
59
61
63
virtual
void
Aggregate
(
vtkDataObjectCollection
*,
64
vtkMultiBlockDataSet
* ) {
return
; };
66
67
protected
:
68
vtkContingencyStatistics
();
69
~
vtkContingencyStatistics
();
70
72
73
virtual
void
Learn
(
vtkTable
* inData,
74
vtkTable
* inParameters,
75
vtkMultiBlockDataSet
* outMeta );
77
79
virtual
void
Derive
(
vtkMultiBlockDataSet
* );
80
82
83
virtual
void
Test
(
vtkTable
* inData,
84
vtkMultiBlockDataSet
* inMeta,
85
vtkTable
* outMeta );
87
89
90
virtual
void
Assess
(
vtkTable
* inData,
91
vtkMultiBlockDataSet
* inMeta,
92
vtkTable
* outData );
94
95
//BTX
97
100
virtual
void
SelectAssessFunctor
(
vtkTable
* outData,
101
vtkDataObject
* inMeta,
102
vtkStringArray
* rowNames,
103
AssessFunctor*& dfunc );
104
// Description:
105
// Provide the appropriate assessment functor.
106
// This one is the one that is actually used.
107
virtual
void
SelectAssessFunctor
(
vtkTable
* outData,
108
vtkMultiBlockDataSet
* inMeta,
109
vtkIdType
pairKey,
110
vtkStringArray
* rowNames,
111
AssessFunctor*& dfunc );
112
//ETX
114
115
private
:
116
vtkContingencyStatistics
(
const
vtkContingencyStatistics
&);
// Not implemented
117
void
operator=(
const
vtkContingencyStatistics
&);
// Not implemented
118
};
119
120
#endif
121
Generated on Wed Nov 21 2012 21:33:57 for VTK by
1.8.2