VTK  9.0.1
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  -------------------------------------------------------------------------*/
34 #ifndef vtkStreamingStatistics_h
35 #define vtkStreamingStatistics_h
36 
37 #include "vtkFiltersStatisticsModule.h" // For export macro
38 #include "vtkTableAlgorithm.h"
39 
43 class vtkTable;
44 
45 class VTKFILTERSSTATISTICS_EXPORT vtkStreamingStatistics : public vtkTableAlgorithm
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
56  {
57  INPUT_DATA = 0,
58  LEARN_PARAMETERS = 1,
59  INPUT_MODEL = 2
60  };
61 
66  {
67  OUTPUT_DATA = 0,
68  OUTPUT_MODEL = 1,
69  OUTPUT_TEST = 2
70  };
71 
73 
74 protected:
77 
80 
82 
83 private:
85  void operator=(const vtkStreamingStatistics&) = delete;
86 
87  // Internal statistics algorithm to care for and feed
88  vtkStatisticsAlgorithm* StatisticsAlgorithm;
89 
90  // Internal model that gets aggregated
91  vtkMultiBlockDataSet* InternalModel;
92 };
93 
94 #endif
maintain an unordered list of data objects
a simple class to control print indentation
Definition: vtkIndent.h:34
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:63
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453