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 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   -------------------------------------------------------------------------*/
00049 #ifndef __vtkCorrelativeStatistics_h
00050 #define __vtkCorrelativeStatistics_h
00051 
00052 #include "vtkStatisticsAlgorithm.h"
00053 
00054 class vtkMultiBlockDataSet;
00055 class vtkStringArray;
00056 class vtkTable;
00057 class vtkVariant;
00058 
00059 class VTK_INFOVIS_EXPORT vtkCorrelativeStatistics : public vtkStatisticsAlgorithm
00060 {
00061 public:
00062   vtkTypeMacro(vtkCorrelativeStatistics, vtkStatisticsAlgorithm);
00063   void PrintSelf(ostream& os, vtkIndent indent);
00064   static vtkCorrelativeStatistics* New();
00065 
00067 
00068   virtual void Aggregate( vtkDataObjectCollection*,
00069                           vtkMultiBlockDataSet* );
00071 
00072 protected:
00073   vtkCorrelativeStatistics();
00074   ~vtkCorrelativeStatistics();
00075 
00077 
00078   virtual void Learn( vtkTable*,
00079                       vtkTable*,
00080                       vtkMultiBlockDataSet* );
00082 
00084   virtual void Derive( vtkMultiBlockDataSet* );
00085 
00087 
00088   virtual void Test( vtkTable*,
00089                      vtkMultiBlockDataSet*,
00090                      vtkTable* );
00092 
00094 
00095   virtual void Assess( vtkTable* inData,
00096                        vtkMultiBlockDataSet* inMeta,
00097                        vtkTable* outData ) 
00098   { this->Superclass::Assess( inData, inMeta, outData, 2 ); }
00100 
00101 //BTX  
00103 
00104   virtual void SelectAssessFunctor( vtkTable* outData, 
00105                                     vtkDataObject* inMeta,
00106                                     vtkStringArray* rowNames,
00107                                     AssessFunctor*& dfunc );
00108 //ETX
00110 
00111 private:
00112   vtkCorrelativeStatistics(const vtkCorrelativeStatistics&); // Not implemented
00113   void operator=(const vtkCorrelativeStatistics&);   // Not implemented
00114 };
00115 
00116 #endif