VTK
dox/Filters/ParallelStatistics/vtkPDescriptiveStatistics.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPDescriptiveStatistics.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 __vtkPDescriptiveStatistics_h
00035 #define __vtkPDescriptiveStatistics_h
00036 
00037 #include "vtkFiltersParallelStatisticsModule.h" // For export macro
00038 #include "vtkDescriptiveStatistics.h"
00039 
00040 class vtkMultiBlockDataSet;
00041 class vtkMultiProcessController;
00042 
00043 class VTKFILTERSPARALLELSTATISTICS_EXPORT vtkPDescriptiveStatistics : public vtkDescriptiveStatistics
00044 {
00045 public:
00046   static vtkPDescriptiveStatistics* New();
00047   vtkTypeMacro(vtkPDescriptiveStatistics, vtkDescriptiveStatistics);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00053   virtual void SetController(vtkMultiProcessController*);
00054   vtkGetObjectMacro(Controller, vtkMultiProcessController);
00056 
00058 
00059   virtual void Learn( vtkTable* inData,
00060                       vtkTable* inParameters,
00061                       vtkMultiBlockDataSet* outMeta );
00063 
00064 protected:
00065   vtkPDescriptiveStatistics();
00066   ~vtkPDescriptiveStatistics();
00067 
00068   vtkMultiProcessController* Controller;
00069 private:
00070   vtkPDescriptiveStatistics(const vtkPDescriptiveStatistics&); // Not implemented.
00071   void operator=(const vtkPDescriptiveStatistics&); // Not implemented.
00072 };
00073 
00074 #endif