virtual vtkIdType GetPickedItem(int x, int y)=0
Return item under abscissa x and ordinate y.
virtual void SetContext(vtkRenderWindow *context)=0
Set/Get the OpenGL context owning the texture object resource.
2D array of ids stored in VRAM.
vtkOpenGLRenderWindow * Context
virtual void Allocate()=0
Allocate the memory for at least Width*Height elements.
static vtkAbstractContextBufferId * New()
vtkTextureObject * Texture
virtual void ReleaseGraphicsResources()
Release any graphics resources that are being consumed by this object.
virtual void SetValues(int srcXmin, int srcYmin)=0
Copy the contents of the current read buffer to the internal structure starting at lower left corner ...
2D array of ids, used for picking.
abstracts an OpenGL texture object.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual bool IsAllocated() const =0
Tell if the buffer has been allocated.
virtual bool IsSupported()=0
Returns if the context supports the required extensions.
virtual vtkRenderWindow * GetContext()=0
Set/Get the OpenGL context owning the texture object resource.