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 =========================================================================*/
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   -------------------------------------------------------------------------*/
00034 #ifndef __vtkPMultiCorrelativeStatistics_h
00035 #define __vtkPMultiCorrelativeStatistics_h
00036 
00037 #include "vtkMultiCorrelativeStatistics.h"
00038 
00039 class vtkMultiProcessController;
00040 
00041 class VTK_INFOVIS_EXPORT vtkPMultiCorrelativeStatistics : public vtkMultiCorrelativeStatistics
00042 {
00043 public:
00044   static vtkPMultiCorrelativeStatistics* New();
00045   vtkTypeMacro(vtkPMultiCorrelativeStatistics, vtkMultiCorrelativeStatistics);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00049 
00051   virtual void SetController(vtkMultiProcessController*);
00052   vtkGetObjectMacro(Controller, vtkMultiProcessController);
00054 
00056 
00057   static void GatherStatistics( vtkMultiProcessController *curController,
00058                                 vtkTable *sparseCov );
00060 
00061 protected:
00062   vtkPMultiCorrelativeStatistics();
00063   ~vtkPMultiCorrelativeStatistics();
00064 
00065   vtkMultiProcessController* Controller;
00066 
00067   // Execute the parallel calculations required by the Learn option.
00068   virtual void Learn( vtkTable* inData,
00069                       vtkTable* inParameters,
00070                       vtkMultiBlockDataSet* outMeta );
00071 
00072 
00073 private:
00074   vtkPMultiCorrelativeStatistics(const vtkPMultiCorrelativeStatistics&); // Not implemented.
00075   void operator=(const vtkPMultiCorrelativeStatistics&); // Not implemented.
00076 };
00077 
00078 #endif
00079