VTK
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 "vtkImagingOpenGL2Module.h" // For export macro
24 #include "vtkImageGradient.h"
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;
44 
46 
47  void ThreadedRequestData(vtkInformation *request,
48  vtkInformationVector **inputVector,
49  vtkInformationVector *outputVector,
50  vtkImageData ***inData, vtkImageData **outData,
51  int extent[6], int id) override;
52 
53 private:
55  void operator=(const vtkOpenGLImageGradient&) = delete;
56 };
57 
58 #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:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
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,...
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.