VTK  9.1.0
vtkQuadraturePointInterpolator.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkQuadraturePointInterpolator.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
32#ifndef vtkQuadraturePointInterpolator_h
33#define vtkQuadraturePointInterpolator_h
34
35#include "vtkDataSetAlgorithm.h"
36#include "vtkFiltersGeneralModule.h" // For export macro
37
39class vtkInformation;
41
42class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointInterpolator : public vtkDataSetAlgorithm
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
49protected:
50 int FillInputPortInformation(int port, vtkInformation* info) override;
51 int FillOutputPortInformation(int port, vtkInformation* info) override;
53 vtkInformation* req, vtkInformationVector** input, vtkInformationVector* output) override;
56
57private:
59 void operator=(const vtkQuadraturePointInterpolator&) = delete;
60 //
61 void Clear();
63
69 int InterpolateFields(vtkUnstructuredGrid* usgOut);
71};
72
73#endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Interpolates each scalar/vector field in a vtkUnstrcturedGrid on its input to a specific set of quadr...
~vtkQuadraturePointInterpolator() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkQuadraturePointInterpolator * New()
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
dataset represents arbitrary combinations of all possible cell types