VTK  9.0.3
vtkOpenGLImageGradient.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLImageGradient.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 =========================================================================*/
20 #ifndef vtkOpenGLImageGradient_h
21 #define vtkOpenGLImageGradient_h
22 
23 #include "vtkImageGradient.h"
24 #include "vtkImagingOpenGL2Module.h" // For export macro
25 
27 class vtkRenderWindow;
28 
29 class VTKIMAGINGOPENGL2_EXPORT vtkOpenGLImageGradient : public vtkImageGradient
30 {
31 public:
34 
39 
40 protected:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
48  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
49  int extent[6], int id) override;
50 
51 private:
53  void operator=(const vtkOpenGLImageGradient&) = delete;
54 };
55 
56 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
Computes the gradient vector.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Help image algorithms use the GPU.
Compute Gradient using the GPU.
~vtkOpenGLImageGradient() override
vtkOpenGLImageAlgorithmHelper * Helper
static vtkOpenGLImageGradient * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
void SetRenderWindow(vtkRenderWindow *)
Set the render window to get the OpenGL resources from.
create a window for renderers to draw into
@ extent
Definition: vtkX3D.h:351