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();
138 vtkSetMacro(MinTextureDimension,
int);
139 vtkGetMacro(MinTextureDimension,
int);
178 bool Upload(
int components=0,
179 int *componentList=
nullptr);
212 bool DownloadAsync1();
213 bool DownloadAsync2();
216 bool GetShaderSupportsTextureInt();
217 void SetShaderSupportsTextureInt(
bool value);
230 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