VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkAutoCorrelativeStatistics.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 =========================================================================*/ 00042 #ifndef vtkAutoCorrelativeStatistics_h 00043 #define vtkAutoCorrelativeStatistics_h 00044 00045 #include "vtkFiltersStatisticsModule.h" // For export macro 00046 #include "vtkStatisticsAlgorithm.h" 00047 00048 class vtkMultiBlockDataSet; 00049 class vtkStringArray; 00050 class vtkTable; 00051 class vtkVariant; 00052 class vtkDoubleArray; 00053 00054 class VTKFILTERSSTATISTICS_EXPORT vtkAutoCorrelativeStatistics : public vtkStatisticsAlgorithm 00055 { 00056 public: 00057 vtkTypeMacro(vtkAutoCorrelativeStatistics, vtkStatisticsAlgorithm); 00058 void PrintSelf(ostream& os, vtkIndent indent); 00059 static vtkAutoCorrelativeStatistics* New(); 00060 00062 00067 vtkSetClampMacro(SliceCardinality,vtkIdType,0,VTK_ID_MAX); 00068 vtkGetMacro(SliceCardinality,vtkIdType); 00070 00072 00073 virtual void Aggregate( vtkDataObjectCollection*, 00074 vtkMultiBlockDataSet* ); 00076 00077 protected: 00078 vtkAutoCorrelativeStatistics(); 00079 ~vtkAutoCorrelativeStatistics(); 00080 00082 00084 virtual void Learn( vtkTable*, 00085 vtkTable*, 00086 vtkMultiBlockDataSet* ); 00088 00090 virtual void Derive( vtkMultiBlockDataSet* ); 00091 00093 00094 virtual void Test( vtkTable*, 00095 vtkMultiBlockDataSet*, 00096 vtkTable* ) { return; }; 00098 00100 00101 virtual void Assess( vtkTable* inData, 00102 vtkMultiBlockDataSet* inMeta, 00103 vtkTable* outData ) 00104 { this->Superclass::Assess( inData, inMeta, outData, 1 ); } 00106 00107 //BTX 00110 virtual vtkDoubleArray* CalculatePValues(vtkDoubleArray*); 00111 00113 00114 virtual void SelectAssessFunctor( vtkTable* outData, 00115 vtkDataObject* inMeta, 00116 vtkStringArray* rowNames, 00117 AssessFunctor*& dfunc ); 00118 //ETX 00120 00121 vtkIdType SliceCardinality; 00122 00123 private: 00124 vtkAutoCorrelativeStatistics( const vtkAutoCorrelativeStatistics& ); // Not implemented 00125 void operator = ( const vtkAutoCorrelativeStatistics& ); // Not implemented 00126 }; 00127 00128 #endif