virtual void Update()
Perform any updates to the item that may be necessary before rendering.
base class for items that are part of a vtkContextScene.
virtual void SetClip(float x, float y, float width, float height)
Set the origin, width and height of the clipping rectangle.
Class for drawing 2D primitives to a graphical context.
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
all children of this item are clipped by the specified area.
virtual void GetRect(float rect[4])
Get the clipping rectangle parameters in pixel coordinates:
virtual float GetHeight()
static vtkContextClip * New()
Creates a vtkContextClip object.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.