00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPPCAStatistics.h,v $ 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 vtkTypeRevisionMacro(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 ExecuteLearn( vtkTable* inData, 00060 vtkDataObject* outMeta ); 00061 private: 00062 vtkPPCAStatistics(const vtkPPCAStatistics&); // Not implemented. 00063 void operator=(const vtkPPCAStatistics&); // Not implemented. 00064 }; 00065 00066 #endif 00067