VTK  9.0.1
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:
32  static vtkOpenGLImageGradient* New();
34 
38  void SetRenderWindow(vtkRenderWindow*);
39 
40 protected:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
43  ~vtkOpenGLImageGradient() override;
44 
46 
47  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
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
vtkOpenGLImageGradient
Compute Gradient using the GPU.
Definition: vtkOpenGLImageGradient.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkOpenGLImageGradient::Helper
vtkOpenGLImageAlgorithmHelper * Helper
Definition: vtkOpenGLImageGradient.h:45
vtkOpenGLImageAlgorithmHelper
Help image algorithms use the GPU.
Definition: vtkOpenGLImageAlgorithmHelper.h:49
vtkImageGradient.h
vtkImageGradient::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageGradient::New
static vtkImageGradient * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkImageGradient::ThreadedRequestData
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,...
vtkX3D::extent
@ extent
Definition: vtkX3D.h:351
vtkRenderWindow
create a window for renderers to draw into
Definition: vtkRenderWindow.h:93
vtkImageGradient
Computes the gradient vector.
Definition: vtkImageGradient.h:32