VTK
dox/Infovis/vtkCorrelativeStatistics.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003 Program:   Visualization Toolkit
00004 Module:    vtkCorrelativeStatistics.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 2010 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   -------------------------------------------------------------------------*/
00048 #ifndef __vtkCorrelativeStatistics_h
00049 #define __vtkCorrelativeStatistics_h
00050 
00051 #include "vtkBivariateStatisticsAlgorithm.h"
00052 
00053 class vtkMultiBlockDataSet;
00054 class vtkStringArray;
00055 class vtkTable;
00056 class vtkVariant;
00057 
00058 class VTK_INFOVIS_EXPORT vtkCorrelativeStatistics : public vtkBivariateStatisticsAlgorithm
00059 {
00060 public:
00061   vtkTypeMacro(vtkCorrelativeStatistics, vtkBivariateStatisticsAlgorithm);
00062   void PrintSelf(ostream& os, vtkIndent indent);
00063   static vtkCorrelativeStatistics* New();
00064 
00066 
00067   virtual void Aggregate( vtkDataObjectCollection*,
00068                           vtkMultiBlockDataSet* );
00070 
00071 protected:
00072   vtkCorrelativeStatistics();
00073   ~vtkCorrelativeStatistics();
00074 
00076 
00077   virtual void Learn( vtkTable* inData,
00078                       vtkTable* inParameters,
00079                       vtkMultiBlockDataSet* outMeta );
00081 
00083   virtual void Derive( vtkMultiBlockDataSet* );
00084 
00086 
00087   virtual void Test( vtkTable*,
00088                      vtkMultiBlockDataSet*,
00089                      vtkTable* );
00091 
00092 //BTX  
00094 
00095   virtual void SelectAssessFunctor( vtkTable* outData, 
00096                                     vtkDataObject* inMeta,
00097                                     vtkStringArray* rowNames,
00098                                     AssessFunctor*& dfunc );
00099 //ETX
00101 
00102 private:
00103   vtkCorrelativeStatistics(const vtkCorrelativeStatistics&); // Not implemented
00104   void operator=(const vtkCorrelativeStatistics&);   // Not implemented
00105 };
00106 
00107 #endif
00108