VTK: Filters/General/vtkQuadraturePointsGenerator.h Source File

| VTK 9.3.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 "vtkFiltersGeneralModule.h" // For export macro
27 #include "vtkPolyDataAlgorithm.h"
28
29 VTK_ABI_NAMESPACE_BEGIN
30 class vtkPolyData;
31 class vtkUnstructuredGrid;
32 class vtkInformation;
33 class vtkInformationVector;
34
35 class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkPolyDataAlgorithm
36 {
37 public:
38 vtkTypeMacro(vtkQuadraturePointsGenerator, vtkPolyDataAlgorithm);
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40 static vtkQuadraturePointsGenerator* New();
41
42 protected:
43 int FillInputPortInformation(int port, vtkInformation* info) override;
44
45 int RequestData(
46 vtkInformation* req, vtkInformationVector** input, vtkInformationVector* output) override;
47
51 int Generate(vtkUnstructuredGrid* usgIn, vtkDataArray* offsets, vtkPolyData* pdOut);
52
53 int GenerateField(
54 vtkUnstructuredGrid* usgIn, vtkDataArray* data, vtkDataArray* offsets, vtkPolyData* pdOut);
55
56 vtkQuadraturePointsGenerator();
57 ~vtkQuadraturePointsGenerator() override;
58
59 private:
60 vtkQuadraturePointsGenerator(const vtkQuadraturePointsGenerator&) = delete;
61 void operator=(const vtkQuadraturePointsGenerator&) = delete;
62 };
63
64 VTK_ABI_NAMESPACE_END
65 #endif
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:43
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:89
vtkQuadraturePointsGenerator
Create a vtkPolyData on its output containing the vertices for the quadrature points for one of the v...
Definition: vtkQuadraturePointsGenerator.h:36
vtkQuadraturePointsGenerator::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkQuadraturePointsGenerator::RequestData
int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output) override
This is called by the superclass.
vtkQuadraturePointsGenerator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkQuadraturePointsGenerator::Generate
int Generate(vtkUnstructuredGrid *usgIn, vtkDataArray *offsets, vtkPolyData *pdOut)
Generate the point set .
vtkQuadraturePointsGenerator::~vtkQuadraturePointsGenerator
~vtkQuadraturePointsGenerator() override
vtkQuadraturePointsGenerator::vtkQuadraturePointsGenerator
vtkQuadraturePointsGenerator()
vtkQuadraturePointsGenerator::New
static vtkQuadraturePointsGenerator * New()
vtkQuadraturePointsGenerator::GenerateField
int GenerateField(vtkUnstructuredGrid *usgIn, vtkDataArray *data, vtkDataArray *offsets, vtkPolyData *pdOut)
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:99
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkX3D::data
@ data
Definition: vtkX3D.h:315
vtkPolyDataAlgorithm.h