Go to the documentation of this file.
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);
139 vtkGetMacro(MinTextureDimension,
int);
179 int *componentList=NULL);
230 int TextureExtent[6];
235 bool ShaderSupportsTextureInt;
236 int MinTextureDimension;
void SetTexture(vtkTextureObject *texture)
void SetShaderSupportsTextureInt(bool value)
is a helper class that aids in transferring data between CPU memory and GPU memory.
void SetContext(vtkRenderWindow *context)
Get/Set the context.
bool Download()
old comment: Download Extent from GPU data buffer to CPU.
abstract base class for most VTK objects
bool GetExtentIsValid(int *extent)
Tells if the given extent (6 int) is valid.
abstract superclass for arrays of numeric data
bool GetCPUExtentIsValid()
Tells if CPUExtent is valid.
bool DownloadAsync1()
Splits the download in two operations.
static bool IsSupported(vtkRenderWindow *renWin)
Returns if the context supports the required extensions.
bool Upload(int components=0, int *componentList=NULL)
Old comment.
void SetArray(vtkDataArray *array)
bool GetGPUExtentIsValid()
Tells if GPUExtent is valid.
bool GetTextureExtentIsValid()
Tells if TextureExtent is valid.
bool GetShaderSupportsTextureInt()
vtkPixelBufferObject * GetPBO()
static vtkDataTransferHelper * New()
a simple class to control print indentation
abstracts an OpenGL texture object.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
create a window for renderers to draw into
abstracts an OpenGL pixel buffer object.
vtkRenderWindow * GetContext()