vtkPSciVizPCAStats.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
34 #ifndef vtkPSciVizPCAStats_h
35 #define vtkPSciVizPCAStats_h
36 
37 #include "vtkPVVTKExtensionsFiltersStatisticsModule.h" //needed for exports
38 #include "vtkSciVizStatistics.h"
39 
41 {
42 public:
43  static vtkPSciVizPCAStats* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
47  vtkSetMacro(NormalizationScheme, int);
48  vtkGetMacro(NormalizationScheme, int);
49 
50  vtkSetMacro(BasisScheme, int);
51  vtkGetMacro(BasisScheme, int);
52 
53  vtkSetMacro(FixedBasisSize, int);
54  vtkGetMacro(FixedBasisSize, int);
55 
56  vtkSetClampMacro(FixedBasisEnergy, double, 0., 1.);
57  vtkGetMacro(FixedBasisEnergy, double);
58 
59  vtkSetMacro(RobustPCA, bool);
60  vtkGetMacro(RobustPCA, bool);
61  vtkBooleanMacro(RobustPCA, bool);
62 
63 protected:
65  ~vtkPSciVizPCAStats() override;
66 
67  bool PrepareAlgorithm(vtkGenerateStatistics* filter) override;
68 
73  bool RobustPCA;
74 
75 private:
76  vtkPSciVizPCAStats(const vtkPSciVizPCAStats&) = delete;
77  void operator=(const vtkPSciVizPCAStats&) = delete;
78 };
79 
80 #endif // vtkPSciVizPCAStats_h
#define VTKPVVTKEXTENSIONSFILTERSSTATISTICS_EXPORT
virtual bool PrepareAlgorithm(vtkGenerateStatistics *filter)=0
Subclasses must override this method and configure filter by calling filter->SetStatisticsAlgorithm()...
Abstract base class for computing statistics with vtkStatistics.
Perform PCA on data and/or project data into a subspace defined by the PCA.
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkPassInputTypeAlgorithm * New()