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