[vtkusers] Easy Rendering

David Doria daviddoria+vtk at gmail.com
Wed Nov 18 09:39:33 EST 2009


For times when all the user wants to do is display an object, there
should be an interface like this:
http://www.rpi.edu/~doriad/VTK_List/EasyRendering/

  EasyRenderer MyEasyRenderer;
  MyEasyRenderer.AddObject(Sphere1);
  MyEasyRenderer.AddObject(Sphere2);
  MyEasyRenderer.Render();

You can see that I've replaced 50 lines of things that most users
don't care about/are very confusing with something highly intuitive.

What do you think about something like this?

Thanks,

David



More information about the vtkusers mailing list