VTK  9.7.1
vtkPPCAStatistics.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2011 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
20 #ifndef vtkPPCAStatistics_h
21 #define vtkPPCAStatistics_h
22 
23 #include "vtkFiltersParallelStatisticsModule.h" // For export macro
24 #include "vtkPCAStatistics.h"
25 
26 VTK_ABI_NAMESPACE_BEGIN
28 
29 class VTKFILTERSPARALLELSTATISTICS_EXPORT vtkPPCAStatistics : public vtkPCAStatistics
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34  static vtkPPCAStatistics* New();
35 
37 
41  virtual void SetController(vtkMultiProcessController*);
42  vtkGetObjectMacro(Controller, vtkMultiProcessController);
44 
45 protected:
47  ~vtkPPCAStatistics() override;
48 
50 
51  // Execute the parallel calculations required by the Learn option.
52  void Learn(vtkTable* inData, vtkTable* inParameters, vtkStatisticalModel* outMeta) override;
53 
58  void Test(vtkTable*, vtkStatisticalModel*, vtkTable*) override;
59 
61 
62 private:
63  vtkPPCAStatistics(const vtkPPCAStatistics&) = delete;
64  void operator=(const vtkPPCAStatistics&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
a base class for statistical modeling of other data
virtual vtkOrderStatistics * CreateOrderStatisticsInstance()
Return a new vtkOrderStatistics instance.
A class for parallel principal component analysis.
A class for univariate order statistics.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPCAStatistics * New()
void Test(vtkTable *, vtkStatisticalModel *, vtkTable *) override
Execute the calculations required by the Test option.
vtkMultiProcessController * Controller
a simple class to control print indentation
Definition: vtkIndent.h:28
A class for multivariate principal component analysis.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:59
void Learn(vtkTable *, vtkTable *, vtkStatisticalModel *) override
Execute the calculations required by the Learn option.
Multiprocessing communication superclass.