VTK
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  -------------------------------------------------------------------------*/
37 #ifndef vtkStreamingStatistics_h
38 #define vtkStreamingStatistics_h
39 
40 #include "vtkFiltersStatisticsModule.h" // For export macro
41 #include "vtkTableAlgorithm.h"
42 
46 class vtkTable;
47 
48 class VTKFILTERSSTATISTICS_EXPORT vtkStreamingStatistics : public vtkTableAlgorithm
49 {
50 public:
52  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
54 
59  {
60  INPUT_DATA = 0,
61  LEARN_PARAMETERS = 1,
62  INPUT_MODEL = 2
63  };
64 
69  {
70  OUTPUT_DATA = 0,
71  OUTPUT_MODEL = 1,
72  OUTPUT_TEST = 2
73  };
74 
76 
77 protected:
79  ~vtkStreamingStatistics() VTK_OVERRIDE;
80 
81  int FillInputPortInformation( int port, vtkInformation* info ) VTK_OVERRIDE;
82  int FillOutputPortInformation( int port, vtkInformation* info ) VTK_OVERRIDE;
83 
84  int RequestData(
87  vtkInformationVector* ) VTK_OVERRIDE;
88 
89 private:
90  vtkStreamingStatistics( const vtkStreamingStatistics& ) VTK_DELETE_FUNCTION;
91  void operator = ( const vtkStreamingStatistics& ) VTK_DELETE_FUNCTION;
92 
93  // Internal statistics algorithm to care for and feed
94  vtkStatisticsAlgorithm* StatisticsAlgorithm;
95 
96  // Internal model that gets aggregated
97  vtkMultiBlockDataSet* InternalModel;
98 };
99 
100 #endif
vtkDataObjectCollection
maintain an unordered list of data objects
Definition: vtkDataObjectCollection.h:35
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:69
vtkStreamingStatistics::SetStatisticsAlgorithm
virtual void SetStatisticsAlgorithm(vtkStatisticsAlgorithm *)
vtkStreamingStatistics
A class for using the statistics filters in a streaming mode.
Definition: vtkStreamingStatistics.h:49
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:52
vtkStreamingStatistics::InputPorts
InputPorts
enumeration values to specify input port types
Definition: vtkStreamingStatistics.h:59
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:49
vtkStreamingStatistics::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkStreamingStatistics::OutputIndices
OutputIndices
enumeration values to specify output port types
Definition: vtkStreamingStatistics.h:69
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkStreamingStatistics::New
static vtkStreamingStatistics * New()
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkStreamingStatistics::~vtkStreamingStatistics
~vtkStreamingStatistics() override
vtkTableAlgorithm.h
vtkStreamingStatistics::vtkStreamingStatistics
vtkStreamingStatistics()
vtkStatisticsAlgorithm
Base class for statistics algorithms.
Definition: vtkStatisticsAlgorithm.h:78