VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkStreamingStatistics.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkStreamingStatistics.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
-------------------------------------------------------------------------*/
36
#ifndef __vtkStreamingStatistics_h
37
#define __vtkStreamingStatistics_h
38
39
#include "
vtkTableAlgorithm.h
"
40
41
class
vtkDataObjectCollection
;
42
class
vtkMultiBlockDataSet
;
43
class
vtkStatisticsAlgorithm
;
44
class
vtkTable
;
45
46
class
VTK_INFOVIS_EXPORT
vtkStreamingStatistics
:
public
vtkTableAlgorithm
47
{
48
public
:
49
vtkTypeMacro(
vtkStreamingStatistics
,
vtkTableAlgorithm
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent);
51
static
vtkStreamingStatistics
*
New
();
52
54
55
enum
InputPorts
56
{
57
INPUT_DATA = 0,
58
LEARN_PARAMETERS = 1,
59
INPUT_MODEL = 2
60
};
62
64
65
enum
OutputIndices
66
{
67
OUTPUT_DATA = 0,
68
OUTPUT_MODEL = 1,
69
ASSESSMENT = 2,
70
OUTPUT_TEST = 2
71
};
73
74
virtual
void
SetStatisticsAlgorithm(
vtkStatisticsAlgorithm
*);
75
76
protected
:
77
vtkStreamingStatistics
();
78
~
vtkStreamingStatistics
();
79
80
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
81
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
82
83
virtual
int
RequestData
(
84
vtkInformation
*,
85
vtkInformationVector
**,
86
vtkInformationVector
* );
87
88
private
:
89
vtkStreamingStatistics
(
const
vtkStreamingStatistics
& );
// Not implemented
90
void
operator = (
const
vtkStreamingStatistics
& );
// Not implemented
91
92
// Internal statistics algorithm to care for and feed
93
vtkStatisticsAlgorithm
* StatisticsAlgorithm;
94
95
// Internal model that gets aggregated
96
vtkMultiBlockDataSet
* InternalModel;
97
};
98
99
#endif
Generated on Fri Aug 2 2013 12:19:59 for VTK by
1.8.4