Changes between Version 23 and Version 24 of GraphicsAPI


Ignore:
Timestamp:
Nov 13, 2014, 12:02:19 PM (11 years ago)
Author:
Tom Goddard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GraphicsAPI

    v23 v24  
    3131The first two functions are provided by the window toolkit and passed to the View constructor as arguments.  The last three functions are methods of View called by the GUI code.  The user interface mouse modes code uses additional member of the View class, namely the Camera (v.camera), the window size (v.window_size), the pixel size in Angstroms (v.pixel_size()), and the session (v.session) for accessing the list of opened models.
    3232
    33 == What Graphics is Useful to Outside Developers? ==
     33== What Graphics APIs are Useful to Outside Developers? ==
    3434
    3535Developing a new type of rendering is rare.  In Chimera 1 we have molecule, density map, surface, vrml models, and maybe 2d labels.  I don't know of any case where an outside developer tried to add a different type of rendering.  This seems a very advanced programming task.  So maybe the API for Drawing which is what all model types use for rendering does not need to be public.  Instead a much simpler single level (no hierarchy) Surface model could be made a public API.  The View and Camera classes control rendering and probably are of use to many outside developers.