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 =========================================================================*/ 00030 #ifndef __vtkPPCAStatistics_h 00031 #define __vtkPPCAStatistics_h 00032 00033 #include "vtkPCAStatistics.h" 00034 00035 class vtkMultiProcessController; 00036 00037 class VTK_INFOVIS_EXPORT vtkPPCAStatistics : public vtkPCAStatistics 00038 { 00039 public: 00040 vtkTypeMacro(vtkPPCAStatistics, vtkPCAStatistics); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 static vtkPPCAStatistics* New(); 00043 00045 00047 virtual void SetController(vtkMultiProcessController*); 00048 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00050 00051 00052 protected: 00053 vtkPPCAStatistics(); 00054 ~vtkPPCAStatistics(); 00055 00056 vtkMultiProcessController* Controller; 00057 00058 // Execute the parallel calculations required by the Learn option. 00059 virtual void Learn( vtkTable* inData, 00060 vtkTable* inParameters, 00061 vtkDataObject* outMeta ); 00062 private: 00063 vtkPPCAStatistics(const vtkPPCAStatistics&); // Not implemented. 00064 void operator=(const vtkPPCAStatistics&); // Not implemented. 00065 }; 00066 00067 #endif 00068