VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
Statistics
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 "vtkFiltersStatisticsModule.h"
// For export macro
40
#include "
vtkTableAlgorithm.h
"
41
42
class
vtkDataObjectCollection
;
43
class
vtkMultiBlockDataSet
;
44
class
vtkStatisticsAlgorithm
;
45
class
vtkTable
;
46
47
class
VTKFILTERSSTATISTICS_EXPORT
vtkStreamingStatistics
:
public
vtkTableAlgorithm
48
{
49
public
:
50
vtkTypeMacro(
vtkStreamingStatistics
,
vtkTableAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
static
vtkStreamingStatistics
*
New
();
53
55
56
enum
InputPorts
57
{
58
INPUT_DATA = 0,
59
LEARN_PARAMETERS = 1,
60
INPUT_MODEL = 2
61
};
63
65
66
enum
OutputIndices
67
{
68
OUTPUT_DATA = 0,
69
OUTPUT_MODEL = 1,
70
ASSESSMENT = 2,
71
OUTPUT_TEST = 2
72
};
74
75
virtual
void
SetStatisticsAlgorithm(
vtkStatisticsAlgorithm
*);
76
77
protected
:
78
vtkStreamingStatistics
();
79
~
vtkStreamingStatistics
();
80
81
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
82
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
83
84
virtual
int
RequestData
(
85
vtkInformation
*,
86
vtkInformationVector
**,
87
vtkInformationVector
* );
88
89
private
:
90
vtkStreamingStatistics
(
const
vtkStreamingStatistics
& );
// Not implemented
91
void
operator = (
const
vtkStreamingStatistics
& );
// Not implemented
92
93
// Internal statistics algorithm to care for and feed
94
vtkStatisticsAlgorithm
* StatisticsAlgorithm;
95
96
// Internal model that gets aggregated
97
vtkMultiBlockDataSet
* InternalModel;
98
};
99
100
#endif
Generated on Thu May 24 2012 22:22:23 for VTK by
1.8.1