VTK  9.1.0
vtkStreamingStatistics.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkStreamingStatistics.h
5
6Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7All rights reserved.
8See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10This software is distributed WITHOUT ANY WARRANTY; without even
11the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12PURPOSE. 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
43class vtkTable;
44
45class VTKFILTERSSTATISTICS_EXPORT vtkStreamingStatistics : public vtkTableAlgorithm
46{
47public:
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
74protected:
77
80
82
83private:
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:113
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:172
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453