VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkPContingencyStatistics.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPContingencyStatistics.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 2011 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
-------------------------------------------------------------------------*/
42
#ifndef __vtkPContingencyStatistics_h
43
#define __vtkPContingencyStatistics_h
44
45
#include "
vtkContingencyStatistics.h
"
46
47
//BTX
48
#include <vector>
// STL Header
49
//ETX
50
51
class
vtkMultiBlockDataSet
;
52
class
vtkMultiProcessController
;
53
54
class
VTK_INFOVIS_EXPORT
vtkPContingencyStatistics
:
public
vtkContingencyStatistics
55
{
56
public
:
57
static
vtkPContingencyStatistics
*
New
();
58
vtkTypeMacro(
vtkPContingencyStatistics
,
vtkContingencyStatistics
);
59
void
PrintSelf
(ostream& os,
vtkIndent
indent);
60
62
64
virtual
void
SetController(
vtkMultiProcessController
*);
65
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
67
69
70
virtual
void
Learn
(
vtkTable
*,
71
vtkTable
*,
72
vtkMultiBlockDataSet
* );
74
75
protected
:
76
vtkPContingencyStatistics
();
77
~
vtkPContingencyStatistics
();
78
79
//BTX
81
82
bool
Reduce(
vtkIdType
&,
83
char
*,
84
vtkStdString
&,
85
vtkIdType
&,
86
vtkIdType
*,
87
std::vector<vtkIdType>& );
89
91
92
bool
Broadcast(
vtkIdType
,
93
vtkStdString
&,
94
std::vector<vtkStdString>&,
95
vtkIdType
,
96
std::vector<vtkIdType>&,
97
vtkIdType
);
98
//ETX
100
101
vtkMultiProcessController
*
Controller
;
102
private
:
103
vtkPContingencyStatistics
(
const
vtkPContingencyStatistics
&);
// Not implemented.
104
void
operator=(
const
vtkPContingencyStatistics
&);
// Not implemented.
105
};
106
107
#endif
108
Generated on Tue Jan 8 2013 05:45:35 for VTK by
1.8.1.2