VTKFIG  0.20.20181114
Easy VTK based in situ visualization
virtual bool MyDrawing::Paint ( vtkContext2D *  painter)
inlinevirtual

Definition at line 27 of file example-context2d.cxx.

28  {
29  painter->GetBrush()->SetColor(255, 0, 0);
30  painter->DrawRect(20+delta,20+delta,40,40);
31  auto p3d=painter->GetContext3D();
32  p3d->DrawLine(vtkVector3f{0,0,0},vtkVector3f{delta,delta,delta} );
33  return true;
34  }

+ Here is the call graph for this function: