00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00033 #ifndef vtkQuadraturePointsGenerator_h
00034 #define vtkQuadraturePointsGenerator_h
00035
00036 #include "vtkPolyDataAlgorithm.h"
00037
00038 class vtkPolyData;
00039 class vtkUnstructuredGrid;
00040 class vtkInformation;
00041 class vtkInformationVector;
00042
00043 class VTK_GRAPHICS_EXPORT vtkQuadraturePointsGenerator : public vtkPolyDataAlgorithm
00044 {
00045 public:
00046 vtkTypeMacro(vtkQuadraturePointsGenerator,vtkPolyDataAlgorithm);
00047 void PrintSelf(ostream& os, vtkIndent indent);
00048 static vtkQuadraturePointsGenerator *New();
00049
00050 protected:
00051 int FillInputPortInformation(int port, vtkInformation *info);
00052
00053 int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output);
00054
00056
00057 int Generate(vtkUnstructuredGrid *usgIn,
00058 vtkIdTypeArray* offsets,
00059 vtkPolyData *pdOut);
00061
00062 int GenerateField(vtkUnstructuredGrid *usgIn,
00063 vtkDataArray* data,
00064 vtkIdTypeArray* offsets,
00065 vtkPolyData* pdOut);
00066
00067 vtkQuadraturePointsGenerator();
00068 virtual ~vtkQuadraturePointsGenerator();
00069 private:
00070 vtkQuadraturePointsGenerator(const vtkQuadraturePointsGenerator &);
00071 void operator=(const vtkQuadraturePointsGenerator &);
00072 };
00073
00074 #endif