31 #ifndef vtkDataTransferHelper_h
32 #define vtkDataTransferHelper_h
34 #include "vtkRenderingOpenGL2Module.h"
74 vtkSetVector6Macro(CPUExtent,
int);
75 vtkGetVector6Macro(CPUExtent,
int);
86 vtkSetVector6Macro(GPUExtent,
int);
87 vtkGetVector6Macro(GPUExtent,
int);
98 vtkSetVector6Macro(TextureExtent,
int);
99 vtkGetVector6Macro(TextureExtent,
int);
107 bool GetExtentIsValid(
int *
extent);
112 bool GetCPUExtentIsValid();
117 bool GetGPUExtentIsValid();
122 bool GetTextureExtentIsValid();
139 vtkGetMacro(MinTextureDimension,
int);
178 bool Upload(
int components=0,
179 int *componentList=NULL);
212 bool DownloadAsync1();
213 bool DownloadAsync2();
216 bool GetShaderSupportsTextureInt();
217 void SetShaderSupportsTextureInt(
bool value);
230 int TextureExtent[6];
235 bool ShaderSupportsTextureInt;
236 int MinTextureDimension;
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract superclass for arrays of numeric data
abstracts an OpenGL pixel buffer object.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
abstracts an OpenGL texture object.
create a window for renderers to draw into
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
is a helper class that aids in transferring data between CPU memory and GPU memory.