31 #ifndef vtkDataTransferHelper_h
32 #define vtkDataTransferHelper_h
34 #include "vtkRenderingOpenGLModule.h"
75 vtkSetVector6Macro(CPUExtent,
int);
76 vtkGetVector6Macro(CPUExtent,
int);
87 vtkSetVector6Macro(GPUExtent,
int);
88 vtkGetVector6Macro(GPUExtent,
int);
99 vtkSetVector6Macro(TextureExtent,
int);
100 vtkGetVector6Macro(TextureExtent,
int);
108 bool GetExtentIsValid(
int *
extent);
113 bool GetCPUExtentIsValid();
118 bool GetGPUExtentIsValid();
123 bool GetTextureExtentIsValid();
140 vtkGetMacro(MinTextureDimension,
int);
179 bool Upload(
int components=0,
180 int *componentList=NULL);
213 bool DownloadAsync1();
214 bool DownloadAsync2();
217 bool GetShaderSupportsTextureInt();
218 void SetShaderSupportsTextureInt(
bool value);
236 int TextureExtent[6];
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.
vtkSmartPointer< vtkPixelBufferObject > AsyncDownloadPBO
vtkSmartPointer< vtkPixelBufferObject > PBO
vtkTextureObject * Texture
a simple class to control print indentation
bool ShaderSupportsTextureInt
vtkWeakPointer< vtkRenderWindow > Context
abstract superclass for arrays of numeric data
abstracts an OpenGL pixel buffer object.
Interface class for querying and using OpenGL extensions.
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.