31 #ifndef vtkDataTransferHelper_h 32 #define vtkDataTransferHelper_h 35 #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();
138 vtkSetMacro(MinTextureDimension,
int);
139 vtkGetMacro(MinTextureDimension,
int);
183 bool Upload(
int components = 0,
int* componentList =
nullptr);
219 bool DownloadAsync1();
220 bool DownloadAsync2();
223 bool GetShaderSupportsTextureInt();
224 void SetShaderSupportsTextureInt(
bool value);
237 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.
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