VTK  9.1.0
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 =========================================================================*/
53 #ifndef vtkComputeQuartiles_h
54 #define vtkComputeQuartiles_h
55 
56 #include "vtkFiltersStatisticsModule.h" // For export macro
57 #include "vtkTableAlgorithm.h"
58 
59 class vtkDataSet;
60 class vtkDoubleArray;
61 class vtkFieldData;
62 class vtkTable;
63 
64 class VTKFILTERSSTATISTICS_EXPORT vtkComputeQuartiles : public vtkTableAlgorithm
65 {
66 public:
69  void PrintSelf(ostream& os, vtkIndent indent) override;
70 
71 protected:
74 
76 
77  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
78  vtkInformationVector* outputVector) override;
79 
81 
83 
84 private:
85  void operator=(const vtkComputeQuartiles&) = delete;
87 
88  int GetInputFieldAssociation();
89  vtkFieldData* GetInputFieldData(vtkDataObject* input);
90 };
91 
92 #endif
Extract quartiles and extremum values of all columns of a table or all fields of a dataset.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void ComputeTable(vtkDataObject *, vtkTable *, vtkIdType)
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
~vtkComputeQuartiles() override
static vtkComputeQuartiles * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
dynamic, self-adjusting array of double
represent and manipulate fields of data
Definition: vtkFieldData.h:164
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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
int vtkIdType
Definition: vtkType.h:332