VTK
dox/Graphics/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 "vtkDataSetAlgorithm.h"
00037 
00038 class vtkUnstructuredGrid;
00039 class vtkInformation;
00040 class vtkInformationVector;
00041 
00042 class VTK_GRAPHICS_EXPORT vtkQuadraturePointInterpolator : public vtkDataSetAlgorithm
00043 {
00044 public:
00045   static vtkQuadraturePointInterpolator *New();
00046   vtkTypeMacro(vtkQuadraturePointInterpolator,vtkDataSetAlgorithm);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00049 protected:
00050   int FillInputPortInformation(int port, vtkInformation *info);
00051   int FillOutputPortInformation(int port, vtkInformation *info);
00052   int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output);
00053   vtkQuadraturePointInterpolator();
00054   ~vtkQuadraturePointInterpolator();
00055 
00056 private:
00057   vtkQuadraturePointInterpolator(const vtkQuadraturePointInterpolator &); // Not implemented
00058   void operator=(const vtkQuadraturePointInterpolator &); // Not implemented
00059   //
00060   void Clear();
00062 
00065   int InterpolateFields(vtkUnstructuredGrid *usgOut);
00066 };
00068 
00069 #endif