VTK  9.0.1
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 class VTKFILTERSSTATISTICS_EXPORT vtkComputeQuartiles : public vtkTableAlgorithm
46 {
47 public:
48  static vtkComputeQuartiles* New();
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
52 protected:
54  ~vtkComputeQuartiles() override;
55 
57 
58  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
59  vtkInformationVector* outputVector) override;
60 
61  void ComputeTable(vtkDataObject*, vtkTable*, vtkIdType);
62 
64 
65 private:
66  void operator=(const vtkComputeQuartiles&) = delete;
68 
69  int GetInputFieldAssociation();
70  vtkFieldData* GetInputFieldData(vtkDataObject* input);
71 };
72 
73 #endif
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType
int vtkIdType
Definition: vtkType.h:338
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
vtkComputeQuartiles::FieldAssociation
int FieldAssociation
Definition: vtkComputeQuartiles.h:63
vtkFieldData
represent and manipulate fields of data
Definition: vtkFieldData.h:53
vtkComputeQuartiles
Extract quartiles and extremum values of all columns of a table or all fields of a dataset.
Definition: vtkComputeQuartiles.h:45
vtkX3D::port
@ port
Definition: vtkX3D.h:453
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:33
vtkTableAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkTableAlgorithm.h
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:35
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:59
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()