30 #ifndef __vtkDataTransferHelper_h
31 #define __vtkDataTransferHelper_h
67 vtkSetVector6Macro(CPUExtent,
int);
68 vtkGetVector6Macro(CPUExtent,
int);
77 vtkSetVector6Macro(GPUExtent,
int);
78 vtkGetVector6Macro(GPUExtent,
int);
86 vtkSetVector6Macro(TextureExtent,
int);
87 vtkGetVector6Macro(TextureExtent,
int);
92 bool GetExtentIsValid(
int *
extent);
95 bool GetCPUExtentIsValid();
98 bool GetGPUExtentIsValid();
101 bool GetTextureExtentIsValid();
114 vtkSetMacro(MinTextureDimension,
int);
115 vtkGetMacro(MinTextureDimension,
int);
156 bool Upload(
int components=0,
157 int *componentList=NULL);
191 bool DownloadAsync1();
192 bool DownloadAsync2();
195 bool GetShaderSupportsTextureInt();
196 void SetShaderSupportsTextureInt(
bool value);
212 int TextureExtent[6];
abstract base class for most VTK objects
vtkWeakPointer< vtkRenderWindow > Context
vtkSmartPointer< vtkPixelBufferObject > AsyncDownloadPBO
virtual void PrintSelf(ostream &os, vtkIndent indent)
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.
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.
vtkTextureObject * Texture