VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkQuadraturePointsGenerator.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00033 #ifndef vtkQuadraturePointsGenerator_h 00034 #define vtkQuadraturePointsGenerator_h 00035 00036 #include "vtkFiltersGeneralModule.h" // For export macro 00037 #include "vtkPolyDataAlgorithm.h" 00038 00039 class vtkPolyData; 00040 class vtkUnstructuredGrid; 00041 class vtkInformation; 00042 class vtkInformationVector; 00043 00044 class VTKFILTERSGENERAL_EXPORT vtkQuadraturePointsGenerator : public vtkPolyDataAlgorithm 00045 { 00046 public: 00047 vtkTypeMacro(vtkQuadraturePointsGenerator,vtkPolyDataAlgorithm); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 static vtkQuadraturePointsGenerator *New(); 00050 00051 protected: 00052 int FillInputPortInformation(int port, vtkInformation *info); 00053 00054 int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output); 00055 00057 00058 int Generate(vtkUnstructuredGrid *usgIn, 00059 vtkDataArray* offsets, 00060 vtkPolyData *pdOut); 00062 00063 int GenerateField(vtkUnstructuredGrid *usgIn, 00064 vtkDataArray* data, 00065 vtkDataArray* offsets, 00066 vtkPolyData* pdOut); 00067 00068 vtkQuadraturePointsGenerator(); 00069 virtual ~vtkQuadraturePointsGenerator(); 00070 private: 00071 vtkQuadraturePointsGenerator(const vtkQuadraturePointsGenerator &); // Not implemented 00072 void operator=(const vtkQuadraturePointsGenerator &); // Not implemented 00073 }; 00074 00075 #endif