VTK  9.3.0
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 
24 VTK_ABI_NAMESPACE_BEGIN
28 class vtkTable;
29 
30 class VTKFILTERSSTATISTICS_EXPORT vtkStreamingStatistics : public vtkTableAlgorithm
31 {
32 public:
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 
59 protected:
62 
65 
67 
68 private:
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 
79 VTK_ABI_NAMESPACE_END
80 #endif
maintain an unordered list of data objects
a simple class to control print indentation
Definition: vtkIndent.h:29
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 *)
static vtkStreamingStatistics * New()
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.
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:59
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447