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 =========================================================================*/
31 #ifndef vtkQuadraturePointsGenerator_h
32 #define vtkQuadraturePointsGenerator_h
33 
34 #include "vtkFiltersGeneralModule.h" // For export macro
35 #include "vtkPolyDataAlgorithm.h"
36 
37 class vtkPolyData;
39 class vtkInformation;
41 
42 class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkPolyDataAlgorithm
43 {
44 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
49 protected:
51 
52  int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output) override;
53 
57  int Generate(vtkUnstructuredGrid *usgIn,
58  vtkDataArray* offsets,
59  vtkPolyData *pdOut);
60 
61  int GenerateField(vtkUnstructuredGrid *usgIn,
63  vtkDataArray* offsets,
64  vtkPolyData* pdOut);
65 
67  ~vtkQuadraturePointsGenerator() override;
68 private:
70  void operator=(const vtkQuadraturePointsGenerator &) = delete;
71 };
72 
73 #endif
vtkQuadraturePointsGenerator
Definition: vtkQuadraturePointsGenerator.h:42
vtkX3D::data
Definition: vtkX3D.h:315
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:48
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkX3D::port
Definition: vtkX3D.h:447
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkPolyDataAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkX3D::info
Definition: vtkX3D.h:376
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:81
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41