19 #ifndef vtkDataTransferHelper_h
20 #define vtkDataTransferHelper_h
23 #include "vtkRenderingOpenGL2Module.h"
27 VTK_ABI_NAMESPACE_BEGIN
63 vtkSetVector6Macro(CPUExtent,
int);
64 vtkGetVector6Macro(CPUExtent,
int);
75 vtkSetVector6Macro(GPUExtent,
int);
76 vtkGetVector6Macro(GPUExtent,
int);
87 vtkSetVector6Macro(TextureExtent,
int);
88 vtkGetVector6Macro(TextureExtent,
int);
96 bool GetExtentIsValid(
int*
extent);
101 bool GetCPUExtentIsValid();
106 bool GetGPUExtentIsValid();
111 bool GetTextureExtentIsValid();
127 vtkSetMacro(MinTextureDimension,
int);
128 vtkGetMacro(MinTextureDimension,
int);
172 bool Upload(
int components = 0,
int* componentList =
nullptr);
208 bool DownloadAsync1();
209 bool DownloadAsync2();
212 bool GetShaderSupportsTextureInt();
213 void SetShaderSupportsTextureInt(
bool value);
226 int TextureExtent[6];
246 VTK_ABI_NAMESPACE_END
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.
vtkWeakPointer< vtkRenderWindow > Context
vtkSmartPointer< vtkPixelBufferObject > AsyncDownloadPBO
a simple class to control print indentation
bool ShaderSupportsTextureInt
vtkSmartPointer< vtkPixelBufferObject > PBO
abstract superclass for arrays of numeric data
abstracts an OpenGL pixel buffer object.
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.
vtkTextureObject * Texture