30 #ifndef vtkDataTransferHelper_h
31 #define vtkDataTransferHelper_h
68 vtkSetVector6Macro(CPUExtent,
int);
69 vtkGetVector6Macro(CPUExtent,
int);
78 vtkSetVector6Macro(GPUExtent,
int);
79 vtkGetVector6Macro(GPUExtent,
int);
87 vtkSetVector6Macro(TextureExtent,
int);
88 vtkGetVector6Macro(TextureExtent,
int);
93 bool GetExtentIsValid(
int *
extent);
96 bool GetCPUExtentIsValid();
99 bool GetGPUExtentIsValid();
102 bool GetTextureExtentIsValid();
115 vtkSetMacro(MinTextureDimension,
int);
116 vtkGetMacro(MinTextureDimension,
int);
154 bool Upload(
int components=0,
155 int *componentList=NULL);
186 bool DownloadAsync1();
187 bool DownloadAsync2();
190 bool GetShaderSupportsTextureInt();
191 void SetShaderSupportsTextureInt(
bool value);
207 int TextureExtent[6];
abstract base class for most VTK objects
vtkSmartPointer< vtkPixelBufferObject > AsyncDownloadPBO
vtkSmartPointer< vtkPixelBufferObject > PBO
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkTextureObject * Texture
a simple class to control print indentation
bool ShaderSupportsTextureInt
#define VTKRENDERINGOPENGL_EXPORT
vtkWeakPointer< vtkRenderWindow > Context
abstract superclass for arrays of numeric data
abstracts an OpenGL pixel buffer object.
Interface class for querying and using OpenGL extensions.
abstracts an OpenGL texture object.
create a window for renderers to draw into
is a helper class that aids in transferring data between CPU memory and GPU memory.