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  -------------------------------------------------------------------------*/
36 #ifndef vtkStreamingStatistics_h
37 #define vtkStreamingStatistics_h
38 
39 #include "vtkFiltersStatisticsModule.h" // For export macro
40 #include "vtkTableAlgorithm.h"
41 
45 class vtkTable;
46 
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
57  {
58  INPUT_DATA = 0,
59  LEARN_PARAMETERS = 1,
60  INPUT_MODEL = 2
61  };
63 
65 
67  {
68  OUTPUT_DATA = 0,
69  OUTPUT_MODEL = 1,
70  OUTPUT_TEST = 2
71  };
73 
75 
76 protected:
79 
82 
83  virtual int RequestData(
87 
88 private:
89  vtkStreamingStatistics( const vtkStreamingStatistics& ); // Not implemented
90  void operator = ( const vtkStreamingStatistics& ); // Not implemented
91 
92  // Internal statistics algorithm to care for and feed
93  vtkStatisticsAlgorithm* StatisticsAlgorithm;
94 
95  // Internal model that gets aggregated
96  vtkMultiBlockDataSet* InternalModel;
97 };
98 
99 #endif
vtkFiltersStatisticsModule.h
vtkDataObjectCollection
maintain an unordered list of data objects
Definition: vtkDataObjectCollection.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkStreamingStatistics::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkStreamingStatistics::SetStatisticsAlgorithm
virtual void SetStatisticsAlgorithm(vtkStatisticsAlgorithm *)
vtkStreamingStatistics::~vtkStreamingStatistics
~vtkStreamingStatistics()
vtkStreamingStatistics
A class for using the statistics filters in a streaming mode.
Definition: vtkStreamingStatistics.h:48
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:51
vtkStreamingStatistics::InputPorts
InputPorts
Definition: vtkStreamingStatistics.h:57
vtkStreamingStatistics::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
VTKFILTERSSTATISTICS_EXPORT
#define VTKFILTERSSTATISTICS_EXPORT
Definition: vtkFiltersStatisticsModule.h:15
vtkStreamingStatistics::OutputIndices
OutputIndices
Definition: vtkStreamingStatistics.h:67
vtkStreamingStatistics::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkStreamingStatistics::New
static vtkStreamingStatistics * New()
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkTableAlgorithm.h
vtkStreamingStatistics::vtkStreamingStatistics
vtkStreamingStatistics()
vtkStatisticsAlgorithm
Base class for statistics algorithms.
Definition: vtkStatisticsAlgorithm.h:76
vtkStreamingStatistics::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)