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.
virtual void Allocate()=0
Allocate the memory for at least Width*Height elements.
vtkOpenGLRenderWindow * Context
static vtkAbstractContextBufferId * New()
virtual void ReleaseGraphicsResources()
Release any graphics resources that are being consumed by this object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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 bool IsAllocated() const =0
Tell if the buffer has been allocated.
vtkTextureObject * Texture
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.