Class for drawing 2D primitives to a graphical context.
Class for drawing 3D primitives to a graphical context.
provides a vtkProp derived object.
static vtkContextActor * New()
vtkNew< vtkContext2D > Context
virtual void ReleaseGraphicsResources(vtkWindow *window)
Release any graphics resources that are being consumed by this actor.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGetNewMacro(Context, vtkContext2D)
Get the vtkContext2D for the actor.
virtual int RenderOverlay(vtkViewport *viewport)
We only render in the overlay for the context scene.
vtkContextScene * GetScene()
Get the chart object for the actor.
virtual void Initialize(vtkViewport *viewport)
Initialize the actor - right now we just decide which device to initialize.
void SetScene(vtkContextScene *scene)
Set the scene for the actor.
vtkNew< vtkContext3D > Context3D
vtkSmartPointer< vtkContextScene > Scene
Provides a 2D scene for vtkContextItem objects.