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
39 #include "vtkPolyDataAlgorithm.h"
40 
41 class vtkPolyData;
43 class vtkInformation;
45 
46 class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkPolyDataAlgorithm
47 {
48 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
53 protected:
55 
56  int RequestData(
57  vtkInformation* req, vtkInformationVector** input, vtkInformationVector* output) override;
58 
62  int Generate(vtkUnstructuredGrid* usgIn, vtkDataArray* offsets, vtkPolyData* pdOut);
63 
64  int GenerateField(
65  vtkUnstructuredGrid* usgIn, vtkDataArray* data, vtkDataArray* offsets, vtkPolyData* pdOut);
66 
68  ~vtkQuadraturePointsGenerator() override;
69 
70 private:
72  void operator=(const vtkQuadraturePointsGenerator&) = delete;
73 };
74 
75 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:90
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
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.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.