wiki:Feb2015MolGraphics

Version 4 (modified by Tom Goddard, 11 years ago) ( diff )

--

Simple molecular graphics attributes for Feb 2015 Chimera 2

These are graphical molecular attributes that should be part of the C++ molecule classes or their base classes.

Atom

 none

BaseSphere (base class for Atom)

 drawMode (Dot, Sphere, EndCap, Ball)

Connectible (base class for BaseSphere)

 display (true/false)
 color

Connection (base class for Bond/PseudoBond)

 display (true/false)
 drawMode (wire, stick)
 radius
 color
 halfbond (color each half of bond to match near atom)

Residue

 none

Chain

 none

Molecule

 none

Model

 display (true/false)
 color

PseudoBondGroup (global bond settings like Molecule)

 none

Notes

  1. No ribbons.
  1. No wire and dot mode.
  1. Should color objects be immutable? Chimera 1 allows redefining a color and having all graphics objects using that color automatically update. Complex code.
  1. How to handle different materials in addition to colors?
  1. Keep color hierarchy (model->atom, model->ribbon)? What about surface colors?
Note: See TracWiki for help on using the wiki.