VTK
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 =========================================================================*/
34 #ifndef vtkQuadraturePointsGenerator_h
35 #define vtkQuadraturePointsGenerator_h
36 
37 #include "vtkFiltersGeneralModule.h" // For export macro
38 #include "vtkPolyDataAlgorithm.h"
39 
40 class vtkPolyData;
42 class vtkInformation;
44 
45 class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkPolyDataAlgorithm
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
52 protected:
54 
55  int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output) override;
56 
60  int Generate(vtkUnstructuredGrid *usgIn,
61  vtkDataArray* offsets,
62  vtkPolyData *pdOut);
63 
64  int GenerateField(vtkUnstructuredGrid *usgIn,
66  vtkDataArray* offsets,
67  vtkPolyData* pdOut);
68 
70  ~vtkQuadraturePointsGenerator() override;
71 private:
73  void operator=(const vtkQuadraturePointsGenerator &) = delete;
74 };
75 
76 #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:85
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:54
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.