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