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 
42 
43 protected:
44  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
50  void ThreadedRequestData(vtkInformation *request,
51  vtkInformationVector **inputVector,
52  vtkInformationVector *outputVector,
53  vtkImageData ***inData, vtkImageData **outData,
54  int extent[6], int id);
55 
56 private:
57  vtkOpenGLImageGradient(const vtkOpenGLImageGradient&) VTK_DELETE_FUNCTION;
58  void operator=(const vtkOpenGLImageGradient&) VTK_DELETE_FUNCTION;
59 };
60 
61 #endif
Compute Gradient using the GPU.
Store vtkAlgorithm input/output information.
virtual void SetRenderWindow(vtkRenderWindow *renwin)
Help image algorithms use the GPU.
void ThreadedRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId)
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.
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
Computes the gradient vector.
create a window for renderers to draw into
static vtkImageGradient * New()
vtkOpenGLImageAlgorithmHelper * Helper
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.