VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
33 #ifndef vtkQuadraturePointsGenerator_h
34 #define vtkQuadraturePointsGenerator_h
35 
36 #include "vtkFiltersGeneralModule.h" // For export macro
37 #include "vtkPolyDataAlgorithm.h"
38 
39 class vtkPolyData;
40 class vtkUnstructuredGrid;
41 class vtkInformation;
42 class vtkInformationVector;
43 
44 class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkPolyDataAlgorithm
45 {
46 public:
47  vtkTypeMacro(vtkQuadraturePointsGenerator,vtkPolyDataAlgorithm);
48  void PrintSelf(ostream& os, vtkIndent indent);
49  static vtkQuadraturePointsGenerator *New();
50 
51 protected:
52  int FillInputPortInformation(int port, vtkInformation *info);
53 
54  int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output);
55 
57 
58  int Generate(vtkUnstructuredGrid *usgIn,
59  vtkDataArray* offsets,
60  vtkPolyData *pdOut);
62 
63  int GenerateField(vtkUnstructuredGrid *usgIn,
64  vtkDataArray* data,
65  vtkDataArray* offsets,
66  vtkPolyData* pdOut);
67 
70 private:
72  void operator=(const vtkQuadraturePointsGenerator &); // Not implemented
73 };
74 
75 #endif