00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkQuadraturePointStatistics.h,v $ 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 =========================================================================*/ 00030 #ifndef vtkQuadraturePointStatistics_h 00031 #define vtkQuadraturePointStatistics_h 00032 00033 #include "vtkTableAlgorithm.h" 00034 00035 class vtkInformation; 00036 class vtkInformationVector; 00037 class vtkTable; 00038 class vtkUnstructuredGrid; 00039 00040 class VTK_GRAPHICS_EXPORT vtkQuadraturePointStatistics : public vtkTableAlgorithm 00041 { 00042 public: 00043 static vtkQuadraturePointStatistics *New(); 00044 vtkTypeRevisionMacro(vtkQuadraturePointStatistics,vtkTableAlgorithm); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00047 protected: 00048 int FillInputPortInformation(int port, vtkInformation *info); 00049 int FillOutputPortInformation(int port, vtkInformation *info); 00050 int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output); 00051 vtkQuadraturePointStatistics(); 00052 ~vtkQuadraturePointStatistics(); 00053 00054 private: 00055 vtkQuadraturePointStatistics(const vtkQuadraturePointStatistics &); // Not implemented 00056 void operator=(const vtkQuadraturePointStatistics &); // Not implemented 00057 // 00058 void Clear(); 00061 int ComputeStatistics(vtkUnstructuredGrid *usgIn, vtkTable *results); 00062 }; 00063 00064 #endif