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 =========================================================================*/
23 #ifndef vtkOpenGLImageGradient_h
24 #define vtkOpenGLImageGradient_h
25 
26 #include "vtkImagingOpenGL2Module.h" // For export macro
27 #include "vtkImageGradient.h"
28 
30 class vtkRenderWindow;
31 
32 class VTKIMAGINGOPENGL2_EXPORT vtkOpenGLImageGradient : public vtkImageGradient
33 {
34 public:
35  static vtkOpenGLImageGradient *New();
37 
41  void SetRenderWindow(vtkRenderWindow *);
42 
43 protected:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
50  void ThreadedRequestData(vtkInformation *request,
51  vtkInformationVector **inputVector,
52  vtkInformationVector *outputVector,
53  vtkImageData ***inData, vtkImageData **outData,
54  int extent[6], int id) override;
55 
56 private:
58  void operator=(const vtkOpenGLImageGradient&) = delete;
59 };
60 
61 #endif
vtkOpenGLImageGradient
Compute Gradient using the GPU.
Definition: vtkOpenGLImageGradient.h:32
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkOpenGLImageGradient::Helper
vtkOpenGLImageAlgorithmHelper * Helper
Definition: vtkOpenGLImageGradient.h:48
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:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImageGradient::New
static vtkImageGradient * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
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
Definition: vtkX3D.h:345
vtkRenderWindow
create a window for renderers to draw into
Definition: vtkRenderWindow.h:87
vtkImageGradient
Computes the gradient vector.
Definition: vtkImageGradient.h:38