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