VTK  9.3.20240424
vtkStreamingStatistics.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2010 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
18#ifndef vtkStreamingStatistics_h
19#define vtkStreamingStatistics_h
20
21#include "vtkFiltersStatisticsModule.h" // For export macro
22#include "vtkTableAlgorithm.h"
23
24VTK_ABI_NAMESPACE_BEGIN
28class vtkTable;
29
30class VTKFILTERSSTATISTICS_EXPORT vtkStreamingStatistics : public vtkTableAlgorithm
31{
32public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
36
41 {
42 INPUT_DATA = 0,
43 LEARN_PARAMETERS = 1,
44 INPUT_MODEL = 2
45 };
46
51 {
52 OUTPUT_DATA = 0,
53 OUTPUT_MODEL = 1,
54 OUTPUT_TEST = 2
55 };
56
58
59protected:
62
63 int FillInputPortInformation(int port, vtkInformation* info) override;
64 int FillOutputPortInformation(int port, vtkInformation* info) override;
65
67
68private:
70 void operator=(const vtkStreamingStatistics&) = delete;
71
72 // Internal statistics algorithm to care for and feed
73 vtkStatisticsAlgorithm* StatisticsAlgorithm;
74
75 // Internal model that gets aggregated
76 vtkMultiBlockDataSet* InternalModel;
77};
78
79VTK_ABI_NAMESPACE_END
80#endif
maintain an unordered list of data objects
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Composite dataset that organizes datasets into blocks.
Base class for statistics algorithms.
A class for using the statistics filters in a streaming mode.
InputPorts
enumeration values to specify input port types
~vtkStreamingStatistics() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
virtual void SetStatisticsAlgorithm(vtkStatisticsAlgorithm *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkStreamingStatistics * New()
OutputIndices
enumeration values to specify output port types
Superclass for algorithms that produce only vtkTables as output.
A table, which contains similar-typed columns of data.
Definition vtkTable.h:168