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
vtkComputeQuartiles::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:332
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:172
vtkComputeQuartiles::vtkComputeQuartiles
vtkComputeQuartiles()
vtkComputeQuartiles::~vtkComputeQuartiles
~vtkComputeQuartiles() override
vtkComputeQuartiles::FieldAssociation
int FieldAssociation
Definition: vtkComputeQuartiles.h:82
vtkFieldData
represent and manipulate fields of data
Definition: vtkFieldData.h:164
vtkComputeQuartiles
Extract quartiles and extremum values of all columns of a table or all fields of a dataset.
Definition: vtkComputeQuartiles.h:65
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkComputeQuartiles::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:49
vtkComputeQuartiles::ComputeTable
void ComputeTable(vtkDataObject *, vtkTable *, vtkIdType)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkComputeQuartiles::New
static vtkComputeQuartiles * New()
vtkTableAlgorithm.h
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:145
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:169
vtkComputeQuartiles::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.