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 =========================================================================*/
37 #ifndef vtkComputeQuartiles_h
38 #define vtkComputeQuartiles_h
39 
40 #include "vtkFiltersStatisticsModule.h" // For export macro
41 #include "vtkTableAlgorithm.h"
42 
43 class vtkDataSet;
44 class vtkDoubleArray;
45 class vtkFieldData;
46 class vtkTable;
47 
48 
49 class VTKFILTERSSTATISTICS_EXPORT vtkComputeQuartiles : public vtkTableAlgorithm
50 {
51 public:
52  static vtkComputeQuartiles* New();
54  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
55 
56 protected:
58  ~vtkComputeQuartiles() VTK_OVERRIDE;
59 
60  int FillInputPortInformation (int port, vtkInformation *info) VTK_OVERRIDE;
61 
62  int RequestData(vtkInformation *request,
63  vtkInformationVector **inputVector,
64  vtkInformationVector *outputVector) VTK_OVERRIDE;
65 
66  void ComputeTable(vtkDataObject*, vtkTable*, vtkIdType);
67 
68  int FieldAssociation;
69 
70 private:
71  void operator=(const vtkComputeQuartiles&) VTK_DELETE_FUNCTION;
72  vtkComputeQuartiles(const vtkComputeQuartiles&) VTK_DELETE_FUNCTION;
73 
74  int GetInputFieldAssociation();
75  vtkFieldData* GetInputFieldData(vtkDataObject* input);
76 };
77 
78 #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:62
int vtkIdType
Definition: vtkType.h:287
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:39
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:64
represent and manipulate fields of data
Definition: vtkFieldData.h:56