VTK
vtkPPCAStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPPCAStatistics.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2011 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19  -------------------------------------------------------------------------*/
36 #ifndef vtkPPCAStatistics_h
37 #define vtkPPCAStatistics_h
38 
39 #include "vtkFiltersParallelStatisticsModule.h" // For export macro
40 #include "vtkPCAStatistics.h"
41 
43 
44 class VTKFILTERSPARALLELSTATISTICS_EXPORT vtkPPCAStatistics : public vtkPCAStatistics
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49  static vtkPPCAStatistics* New();
50 
52 
56  virtual void SetController(vtkMultiProcessController*);
57  vtkGetObjectMacro(Controller, vtkMultiProcessController);
59 
60 
61 protected:
63  ~vtkPPCAStatistics() override;
64 
66 
67  // Execute the parallel calculations required by the Learn option.
68  void Learn( vtkTable* inData,
69  vtkTable* inParameters,
70  vtkMultiBlockDataSet* outMeta ) override;
71 
76  void Test( vtkTable*,
78  vtkTable* ) override;
79 
81 
82 private:
83  vtkPPCAStatistics(const vtkPPCAStatistics&) = delete;
84  void operator=(const vtkPPCAStatistics&) = delete;
85 };
86 
87 #endif
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()
vtkMultiProcessController * Controller
a simple class to control print indentation
Definition: vtkIndent.h:39
void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *) override
Execute the calculations required by the Learn option.
A class for multivariate principal component analysis.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
Composite dataset that organizes datasets into blocks.
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
Multiprocessing communication superclass.