VTK
dox/Filters/ParallelStatistics/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 "vtkFiltersParallelStatisticsModule.h" // For export macro
00038 #include "vtkMultiCorrelativeStatistics.h"
00039 
00040 class vtkMultiProcessController;
00041 
00042 class VTKFILTERSPARALLELSTATISTICS_EXPORT vtkPMultiCorrelativeStatistics : public vtkMultiCorrelativeStatistics
00043 {
00044 public:
00045   static vtkPMultiCorrelativeStatistics* New();
00046   vtkTypeMacro(vtkPMultiCorrelativeStatistics, vtkMultiCorrelativeStatistics);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00050 
00052   virtual void SetController(vtkMultiProcessController*);
00053   vtkGetObjectMacro(Controller, vtkMultiProcessController);
00055 
00057 
00058   static void GatherStatistics( vtkMultiProcessController *curController,
00059                                 vtkTable *sparseCov );
00061 
00062 protected:
00063   vtkPMultiCorrelativeStatistics();
00064   ~vtkPMultiCorrelativeStatistics();
00065 
00066   vtkMultiProcessController* Controller;
00067 
00068   // Execute the parallel calculations required by the Learn option.
00069   virtual void Learn( vtkTable* inData,
00070                       vtkTable* inParameters,
00071                       vtkMultiBlockDataSet* outMeta );
00072 
00073 
00074 private:
00075   vtkPMultiCorrelativeStatistics(const vtkPMultiCorrelativeStatistics&); // Not implemented.
00076   void operator=(const vtkPMultiCorrelativeStatistics&); // Not implemented.
00077 };
00078 
00079 #endif