VTK
dox/Filters/General/vtkQuadraturePointInterpolator.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkQuadraturePointInterpolator.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 =========================================================================*/
00033 #ifndef vtkQuadraturePointInterpolator_h
00034 #define vtkQuadraturePointInterpolator_h
00035 
00036 #include "vtkFiltersGeneralModule.h" // For export macro
00037 #include "vtkDataSetAlgorithm.h"
00038 
00039 class vtkUnstructuredGrid;
00040 class vtkInformation;
00041 class vtkInformationVector;
00042 
00043 class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointInterpolator : public vtkDataSetAlgorithm
00044 {
00045 public:
00046   static vtkQuadraturePointInterpolator *New();
00047   vtkTypeMacro(vtkQuadraturePointInterpolator,vtkDataSetAlgorithm);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00050 protected:
00051   int FillInputPortInformation(int port, vtkInformation *info);
00052   int FillOutputPortInformation(int port, vtkInformation *info);
00053   int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output);
00054   vtkQuadraturePointInterpolator();
00055   ~vtkQuadraturePointInterpolator();
00056 
00057 private:
00058   vtkQuadraturePointInterpolator(const vtkQuadraturePointInterpolator &); // Not implemented
00059   void operator=(const vtkQuadraturePointInterpolator &); // Not implemented
00060   //
00061   void Clear();
00063 
00066   int InterpolateFields(vtkUnstructuredGrid *usgOut);
00067 };
00069 
00070 #endif