VTK: Imaging/OpenGL2/vtkOpenGLImageGradient.h Source File

| 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
18 class vtkOpenGLImageAlgorithmHelper;
19 class vtkRenderWindow;
20
21 class VTKIMAGINGOPENGL2_EXPORT vtkOpenGLImageGradient : public vtkImageGradient
22 {
23 public:
24 static vtkOpenGLImageGradient* New();
25 vtkTypeMacro(vtkOpenGLImageGradient, vtkImageGradient);
26
30 void SetRenderWindow(vtkRenderWindow*);
31
32 protected:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34 vtkOpenGLImageGradient();
35 ~vtkOpenGLImageGradient() override;
36
37 vtkOpenGLImageAlgorithmHelper* Helper;
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:
44 vtkOpenGLImageGradient(const vtkOpenGLImageGradient&) = delete;
45 void operator=(const vtkOpenGLImageGradient&) = delete;
46 };
47
48 VTK_ABI_NAMESPACE_END
49 #endif
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
vtkImageGradient
Computes the gradient vector.
Definition: vtkImageGradient.h:37
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkOpenGLImageAlgorithmHelper
Help image algorithms use the GPU.
Definition: vtkOpenGLImageAlgorithmHelper.h:39
vtkOpenGLImageGradient
Compute Gradient using the GPU.
Definition: vtkOpenGLImageGradient.h:22
vtkOpenGLImageGradient::~vtkOpenGLImageGradient
~vtkOpenGLImageGradient() override
vtkOpenGLImageGradient::Helper
vtkOpenGLImageAlgorithmHelper * Helper
Definition: vtkOpenGLImageGradient.h:37
vtkOpenGLImageGradient::New
static vtkOpenGLImageGradient * New()
vtkOpenGLImageGradient::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLImageGradient::vtkOpenGLImageGradient
vtkOpenGLImageGradient()
vtkOpenGLImageGradient::ThreadedRequestData
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,...
vtkOpenGLImageGradient::SetRenderWindow
void SetRenderWindow(vtkRenderWindow *)
Set the render window to get the OpenGL resources from.
vtkRenderWindow
create a window for renderers to draw into
Definition: vtkRenderWindow.h:95
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
vtkImageGradient.h