VTK
dox/Infovis/vtkPMultiCorrelativeStatistics.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPMultiCorrelativeStatistics.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 =========================================================================*/
00029 #ifndef __vtkPMultiCorrelativeStatistics_h
00030 #define __vtkPMultiCorrelativeStatistics_h
00031 
00032 #include "vtkMultiCorrelativeStatistics.h"
00033 
00034 class vtkMultiProcessController;
00035 
00036 class VTK_INFOVIS_EXPORT vtkPMultiCorrelativeStatistics : public vtkMultiCorrelativeStatistics
00037 {
00038 public:
00039   static vtkPMultiCorrelativeStatistics* New();
00040   vtkTypeMacro(vtkPMultiCorrelativeStatistics, vtkMultiCorrelativeStatistics);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00046   virtual void SetController(vtkMultiProcessController*);
00047   vtkGetObjectMacro(Controller, vtkMultiProcessController);
00049 
00051 
00052   static void GatherStatistics( vtkMultiProcessController *curController,
00053                                 vtkTable *sparseCov );
00055 
00056 protected:
00057   vtkPMultiCorrelativeStatistics();
00058   ~vtkPMultiCorrelativeStatistics();
00059 
00060   vtkMultiProcessController* Controller;
00061 
00062   // Execute the parallel calculations required by the Learn option.
00063   virtual void Learn( vtkTable* inData,
00064                       vtkTable* inParameters,
00065                       vtkMultiBlockDataSet* outMeta );
00066 
00067 
00068 private:
00069   vtkPMultiCorrelativeStatistics(const vtkPMultiCorrelativeStatistics&); // Not implemented.
00070   void operator=(const vtkPMultiCorrelativeStatistics&); // Not implemented.
00071 };
00072 
00073 #endif
00074