VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPPCAStatistics.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2011 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00035 #ifndef vtkPPCAStatistics_h 00036 #define vtkPPCAStatistics_h 00037 00038 #include "vtkFiltersParallelStatisticsModule.h" // For export macro 00039 #include "vtkPCAStatistics.h" 00040 00041 class vtkMultiProcessController; 00042 00043 class VTKFILTERSPARALLELSTATISTICS_EXPORT vtkPPCAStatistics : public vtkPCAStatistics 00044 { 00045 public: 00046 vtkTypeMacro(vtkPPCAStatistics, vtkPCAStatistics); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 static vtkPPCAStatistics* New(); 00049 00051 00053 virtual void SetController(vtkMultiProcessController*); 00054 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00056 00057 00058 protected: 00059 vtkPPCAStatistics(); 00060 ~vtkPPCAStatistics(); 00061 00062 vtkMultiProcessController* Controller; 00063 00064 // Execute the parallel calculations required by the Learn option. 00065 virtual void Learn( vtkTable* inData, 00066 vtkTable* inParameters, 00067 vtkMultiBlockDataSet* outMeta ); 00068 00070 00072 virtual void Test( vtkTable*, 00073 vtkMultiBlockDataSet*, 00074 vtkTable* ); 00076 00077 virtual vtkOrderStatistics* CreateOrderStatisticsInstance(); 00078 00079 private: 00080 vtkPPCAStatistics(const vtkPPCAStatistics&); // Not implemented. 00081 void operator=(const vtkPPCAStatistics&); // Not implemented. 00082 }; 00083 00084 #endif