Class for drawing 2D primitives to a graphical context.
Provides a 2D scene for vtkContextItem objects.
provides a view of the vtkContextScene.
virtual void SetContext(vtkContext2D *context)
Set the vtkContext2D for the view.
~vtkContextView() override
virtual vtkContext2D * GetContext()
Get the vtkContext2D for the view.
vtkSmartPointer< vtkContextScene > Scene
virtual void SetScene(vtkContextScene *scene)
Set the scene object for the view.
virtual vtkContextScene * GetScene()
Get the scene of the view.
vtkSmartPointer< vtkContext2D > Context
static vtkContextView * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.