1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
// SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
// SPDX-License-Identifier: BSD-3-Clause
/**
* @class vtkExtractFunctionalBagPlot
*
*
* From an input table containing series on port 0 and another table
* describing densities on port 1 (for instance obtained by applying
* filter vtkHighestDensityRegionsStatistics, this filter generates
* a table containing all the columns of the input port 0 plus two 2
* components columns containing the bag series to be used by
* vtkFunctionalBagPlot.
*
* @sa
* vtkFunctionalBagPlot vtkHighestDensityRegionsStatistics
*/
#ifndef vtkExtractFunctionalBagPlot_h
#define vtkExtractFunctionalBagPlot_h
#include "vtkFiltersStatisticsModule.h" // For export macro
#include "vtkTableAlgorithm.h"
VTK_ABI_NAMESPACE_BEGIN
class VTKFILTERSSTATISTICS_EXPORT vtkExtractFunctionalBagPlot : public vtkTableAlgorithm
{
public:
static vtkExtractFunctionalBagPlot* New();
vtkTypeMacro(vtkExtractFunctionalBagPlot, vtkTableAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
// Density value for the median quartile.
vtkSetMacro(DensityForP50, double);
///@{
/**
* Density value for the user defined quartile.
*/
vtkSetMacro(DensityForPUser, double);
vtkSetMacro(PUser, int);
///@}
protected:
vtkExtractFunctionalBagPlot();
~vtkExtractFunctionalBagPlot() override;
int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
char* P50String;
char* PUserString;
double DensityForP50;
double DensityForPUser;
int PUser;
private:
vtkExtractFunctionalBagPlot(const vtkExtractFunctionalBagPlot&) = delete;
void operator=(const vtkExtractFunctionalBagPlot&) = delete;
};
VTK_ABI_NAMESPACE_END
#endif // vtkExtractFunctionalBagPlot_h
|