VTK  9.3.1
vtkOpenGLImageGradient.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkOpenGLImageGradient_h
12 #define vtkOpenGLImageGradient_h
13 
14 #include "vtkImageGradient.h"
15 #include "vtkImagingOpenGL2Module.h" // For export macro
16 
17 VTK_ABI_NAMESPACE_BEGIN
19 class vtkRenderWindow;
20 
21 class VTKIMAGINGOPENGL2_EXPORT vtkOpenGLImageGradient : public vtkImageGradient
22 {
23 public:
24  static vtkOpenGLImageGradient* New();
26 
30  void SetRenderWindow(vtkRenderWindow*);
31 
32 protected:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
35  ~vtkOpenGLImageGradient() override;
36 
38 
39  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
40  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
41  int extent[6], int id) override;
42 
43 private:
45  void operator=(const vtkOpenGLImageGradient&) = delete;
46 };
47 
48 VTK_ABI_NAMESPACE_END
49 #endif
Compute Gradient using the GPU.
Store vtkAlgorithm input/output information.
Help image algorithms use the GPU.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
Computes the gradient vector.
void ThreadedRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId) override
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
create a window for renderers to draw into
static vtkImageGradient * New()
vtkOpenGLImageAlgorithmHelper * Helper
Store zero or more vtkInformation instances.