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