~vtkContextClip() override
void Update() override
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.
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool Paint(vtkContext2D *painter) override
Paint event for the item, called whenever the item needs to be drawn.