VTK
dox/Filters/Statistics/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 "vtkFiltersStatisticsModule.h" // For export macro
00053 #include "vtkStatisticsAlgorithm.h"
00054 
00055 class vtkMultiBlockDataSet;
00056 class vtkStringArray;
00057 class vtkTable;
00058 class vtkVariant;
00059 class vtkDoubleArray;
00060 
00061 class VTKFILTERSSTATISTICS_EXPORT vtkCorrelativeStatistics : public vtkStatisticsAlgorithm
00062 {
00063 public:
00064   vtkTypeMacro(vtkCorrelativeStatistics, vtkStatisticsAlgorithm);
00065   void PrintSelf(ostream& os, vtkIndent indent);
00066   static vtkCorrelativeStatistics* New();
00067 
00069 
00070   virtual void Aggregate( vtkDataObjectCollection*,
00071                           vtkMultiBlockDataSet* );
00073 
00074 protected:
00075   vtkCorrelativeStatistics();
00076   ~vtkCorrelativeStatistics();
00077 
00079 
00080   virtual void Learn( vtkTable*,
00081                       vtkTable*,
00082                       vtkMultiBlockDataSet* );
00084 
00086   virtual void Derive( vtkMultiBlockDataSet* );
00087 
00089 
00090   virtual void Test( vtkTable*,
00091                      vtkMultiBlockDataSet*,
00092                      vtkTable* );
00094 
00096 
00097   virtual void Assess( vtkTable* inData,
00098                        vtkMultiBlockDataSet* inMeta,
00099                        vtkTable* outData )
00100   { this->Superclass::Assess( inData, inMeta, outData, 2 ); }
00102 
00103 //BTX
00106   virtual vtkDoubleArray* CalculatePValues(vtkDoubleArray*);
00107 
00109 
00110   virtual void SelectAssessFunctor( vtkTable* outData,
00111                                     vtkDataObject* inMeta,
00112                                     vtkStringArray* rowNames,
00113                                     AssessFunctor*& dfunc );
00114 //ETX
00116 
00117 private:
00118   vtkCorrelativeStatistics(const vtkCorrelativeStatistics&); // Not implemented
00119   void operator=(const vtkCorrelativeStatistics&);   // Not implemented
00120 };
00121 
00122 #endif