VTK  9.3.20240423
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 "vtkDeprecation.h" // for deprecation
28#include "vtkFiltersGeneralModule.h" // For export macro
29
30VTK_ABI_NAMESPACE_BEGIN
31class vtkDataSet;
32class vtkPolyData;
34class vtkInformation;
36
37class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkDataSetAlgorithm
38{
39public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
43
44protected:
45 int FillOutputPortInformation(int port, vtkInformation* info) override;
47 vtkInformation* req, vtkInformationVector** input, vtkInformationVector* output) override;
48
50
53 int Generate(vtkDataSet* datasetIn, vtkDataArray* offsets, vtkPolyData* pdOut);
54 VTK_DEPRECATED_IN_9_4_0("Uses the vtkDataSet version instead.")
55 int Generate(vtkUnstructuredGrid* usgIn, vtkDataArray* offsets, vtkPolyData* pdOut);
57
58 int GenerateField(
59 vtkDataSet* datasetIn, vtkDataArray* data, vtkDataArray* offsets, vtkPolyData* pdOut);
60 VTK_DEPRECATED_IN_9_4_0("Uses the vtkDataSet version instead.")
61 int GenerateField(
62 vtkUnstructuredGrid* usgIn, vtkDataArray* data, vtkDataArray* offsets, vtkPolyData* pdOut);
63
66
67private:
69 void operator=(const vtkQuadraturePointsGenerator&) = delete;
70};
71
72VTK_ABI_NAMESPACE_END
73#endif
abstract superclass for arrays of numeric data
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Create a vtkPolyData on its output containing the vertices for the quadrature points for one of the v...
int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int Generate(vtkDataSet *datasetIn, vtkDataArray *offsets, vtkPolyData *pdOut)
Generate the point set .
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkQuadraturePointsGenerator * New()
dataset represents arbitrary combinations of all possible cell types
#define VTK_DEPRECATED_IN_9_4_0(reason)