VTK
vtkComputeQuartiles.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkComputeQuartiles.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 =========================================================================*/
34 #ifndef vtkComputeQuartiles_h
35 #define vtkComputeQuartiles_h
36 
37 #include "vtkFiltersStatisticsModule.h" // For export macro
38 #include "vtkTableAlgorithm.h"
39 
40 class vtkDataSet;
41 class vtkDoubleArray;
42 class vtkFieldData;
43 class vtkTable;
44 
45 
46 class VTKFILTERSSTATISTICS_EXPORT vtkComputeQuartiles : public vtkTableAlgorithm
47 {
48 public:
49  static vtkComputeQuartiles* New();
51  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
52 
53 protected:
55  ~vtkComputeQuartiles() VTK_OVERRIDE;
56 
57  int FillInputPortInformation (int port, vtkInformation *info) VTK_OVERRIDE;
58 
59  int RequestData(vtkInformation *request,
60  vtkInformationVector **inputVector,
61  vtkInformationVector *outputVector) VTK_OVERRIDE;
62 
63  void ComputeTable(vtkDataObject*, vtkTable*, vtkIdType);
64 
65  int FieldAssociation;
66 
67 private:
68  void operator=(const vtkComputeQuartiles&) VTK_DELETE_FUNCTION;
69  vtkComputeQuartiles(const vtkComputeQuartiles&) VTK_DELETE_FUNCTION;
70 
71  int GetInputFieldAssociation();
72  vtkFieldData* GetInputFieldData(vtkDataObject* input);
73 };
74 
75 #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.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
int vtkIdType
Definition: vtkType.h:345
Extract quartiles and extremum values of all columns of a table or all fields of a dataset...
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:33
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:58
represent and manipulate fields of data
Definition: vtkFieldData.h:53