/*========================================================================= Program: Visualization Toolkit Module: vtkQuadratureSchemeDictionaryGenerator.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ /** * @class vtkQuadratureSchemeDictionaryGenerator * * * Given an unstructured grid on its input this filter generates * for each data array in point data dictionary (ie an instance of * vtkInformationQuadratureSchemeDefinitionVectorKey). This filter * has been introduced to facilitate testing of the vtkQuadrature* * classes as these cannot operate with the dictionary. This class * is for testing and should not be used for application development. * * @sa * vtkQuadraturePointInterpolator, vtkQuadraturePointsGenerator, vtkQuadratureSchemeDefinition */ #ifndef vtkQuadratureSchemeDictionaryGenerator_h #define vtkQuadratureSchemeDictionaryGenerator_h #include "vtkFiltersGeneralModule.h" // For export macro #include "vtkDataSetAlgorithm.h" class vtkPolyData; class vtkUnstructuredGrid; class vtkInformation; class vtkInformationVector; class VTKFILTERSGENERAL_EXPORT vtkQuadratureSchemeDictionaryGenerator : public vtkDataSetAlgorithm { public: vtkTypeMacro(vtkQuadratureSchemeDictionaryGenerator,vtkDataSetAlgorithm); void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE; static vtkQuadratureSchemeDictionaryGenerator *New(); protected: int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE; int FillOutputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE; int RequestData(vtkInformation *req, vtkInformationVector **input, vtkInformationVector *output) VTK_OVERRIDE; vtkQuadratureSchemeDictionaryGenerator(); ~vtkQuadratureSchemeDictionaryGenerator() VTK_OVERRIDE; private: vtkQuadratureSchemeDictionaryGenerator(const vtkQuadratureSchemeDictionaryGenerator &) VTK_DELETE_FUNCTION; void operator=(const vtkQuadratureSchemeDictionaryGenerator &) VTK_DELETE_FUNCTION; //@{ /** * Generate definitions for each cell type found on the * input data set. The same definition will be used * for all point data arrays. */ int Generate(vtkUnstructuredGrid *usgOut); }; //@} #endif