VTK  9.7.1
vtkQuadraturePointsGenerator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
23 #ifndef vtkQuadraturePointsGenerator_h
24 #define vtkQuadraturePointsGenerator_h
25 
26 #include "vtkDataSetAlgorithm.h"
27 #include "vtkFiltersGeneralModule.h" // For export macro
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class vtkDataSet;
31 class vtkPolyData;
33 class vtkInformation;
35 
36 class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkDataSetAlgorithm
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
43 protected:
45  int RequestData(
46  vtkInformation* req, vtkInformationVector** input, vtkInformationVector* output) override;
47 
51  int Generate(vtkDataSet* datasetIn, vtkDataArray* offsets, vtkPolyData* pdOut);
52 
53  int GenerateField(
54  vtkDataSet* datasetIn, vtkDataArray* data, vtkDataArray* offsets, vtkPolyData* pdOut);
55 
57  ~vtkQuadraturePointsGenerator() override;
58 
59 private:
61  void operator=(const vtkQuadraturePointsGenerator&) = delete;
62 };
63 
64 VTK_ABI_NAMESPACE_END
65 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:71
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:44
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Create a vtkPolyData on its output containing the vertices for the quadrature points for one of the v...
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()