VTK  9.2.6
vtkQuadraturePointsGenerator.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkQuadraturePointsGenerator.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=========================================================================*/
35#ifndef vtkQuadraturePointsGenerator_h
36#define vtkQuadraturePointsGenerator_h
37
38#include "vtkFiltersGeneralModule.h" // For export macro
40
41class vtkPolyData;
43class vtkInformation;
45
46class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkPolyDataAlgorithm
47{
48public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
52
53protected:
54 int FillInputPortInformation(int port, vtkInformation* info) override;
55
57 vtkInformation* req, vtkInformationVector** input, vtkInformationVector* output) override;
58
63
65 vtkUnstructuredGrid* usgIn, vtkDataArray* data, vtkDataArray* offsets, vtkPolyData* pdOut);
66
69
70private:
72 void operator=(const vtkQuadraturePointsGenerator&) = delete;
73};
74
75#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:56
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:91
Create a vtkPolyData on its output containing the vertices for the quadrature points for one of the v...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int Generate(vtkUnstructuredGrid *usgIn, vtkDataArray *offsets, vtkPolyData *pdOut)
Generate the point set .
~vtkQuadraturePointsGenerator() override
int GenerateField(vtkUnstructuredGrid *usgIn, vtkDataArray *data, vtkDataArray *offsets, vtkPolyData *pdOut)
static vtkQuadraturePointsGenerator * New()
dataset represents arbitrary combinations of all possible cell types