VMTK
vtkvmtkUnstructuredGridGradientFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkUnstructuredGridGradientFilter.h,v $
5  Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
28 #ifndef __vtkvmtkUnstructuredGridGradientFilter_h
29 #define __vtkvmtkUnstructuredGridGradientFilter_h
30 
31 #include "vtkvmtkWin32Header.h"
32 #include "vtkUnstructuredGridAlgorithm.h"
33 
34 class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkUnstructuredGridGradientFilter : public vtkUnstructuredGridAlgorithm
35 {
36 public:
38  vtkTypeMacro(vtkvmtkUnstructuredGridGradientFilter,vtkUnstructuredGridAlgorithm);
39 
40  vtkSetStringMacro(InputArrayName);
41  vtkGetStringMacro(InputArrayName);
42 
43  vtkSetStringMacro(GradientArrayName);
44  vtkGetStringMacro(GradientArrayName);
45 
46  vtkSetMacro(ConvergenceTolerance,double);
47  vtkGetMacro(ConvergenceTolerance,double);
48 
49  vtkSetMacro(QuadratureOrder,int);
50  vtkGetMacro(QuadratureOrder,int);
51 
52  vtkSetMacro(ComputeIndividualPartialDerivatives,int);
53  vtkGetMacro(ComputeIndividualPartialDerivatives,int);
54  vtkBooleanMacro(ComputeIndividualPartialDerivatives,int);
55 
56 protected:
59 
60  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
61 
67 
68 private:
70  void operator=(const vtkvmtkUnstructuredGridGradientFilter&); // Not implemented.
71 };
72 
73 #endif
74 
Compute the gradient of data stored within an unstructured grid mesh.