VTK  9.3.1
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;
35  static vtkStreamingStatistics* New();
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 
57  virtual void SetStatisticsAlgorithm(vtkStatisticsAlgorithm*);
58 
59 protected:
61  ~vtkStreamingStatistics() override;
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
maintain an unordered list of data objects
InputPorts
enumeration values to specify input port types
A class for using the statistics filters in a streaming mode.
Base class for statistics algorithms.
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:58
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
OutputIndices
enumeration values to specify output port types
Composite dataset that organizes datasets into blocks.
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.