Changes between Version 3 and Version 4 of MolGraphics


Ignore:
Timestamp:
Jan 7, 2015, 1:56:09 PM (11 years ago)
Author:
pett
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MolGraphics

    v3 v4  
    11= Molecule graphics attributes for Chimera 2, based on Chimera 1 =
    22
    3 These are graphical molecular attributes that should be part of the C++ molecule classes.  This list is based on Chimera 1 and is meant as a starting point for discussing possible changes in Chimera 2.
     3These are graphical molecular attributes that should be part of the C++ molecule classes or their base classes.  This list is based on Chimera 1 and is meant as a starting point for discussing possible changes in Chimera 2.
    44
    55"*" indicates something we may change in Chimera 2.
     
    77== Atom ==
    88{{{
    9  display (true/false)
    109 hide (true/false, is atom shown when ribbon style shown)
    11 
    12  drawMode (Dot, Sphere, EndCap, Ball)
    13 
    14  color
    15 
    16  label (text string for 3d label)
    17  labelOffset (xyz position relative to atom)
    18  labelColor
    19  minimumLabelRadius (float)
    2010
    2111 *surfaceDisplay (drop this, visibility of surface per-atom)
     
    2313 *surfaceOpacity (drop this, used for color by atom)
    2414 *surfaceCategory (drop this? categories will be like other named selectors?)
    25 
    26  *vdwPoints (drop this)
    27  *vdwColor (drop this)
    2815
    2916 *Thermal ellipsoids for atoms -- in Python in Chimera 1, maybe should be Molecule attributes
     
    4027}}}
    4128
    42 == Bond ==
     29== !BaseSphere (base class for Atom) ==
     30{{{
     31 drawMode (Dot, Sphere, EndCap, Ball)
     32
     33 *vdwPoints (drop this)
     34 *vdwColor (drop this)
     35}}}
     36
     37== Connectible (base class for !BaseSphere) ==
     38{{{
     39 display (true/false)
     40
     41 color
     42
     43 label (text string for 3d label)
     44 labelOffset (xyz position relative to atom)
     45 labelColor
     46 minimumLabelRadius (float)
     47
     48}}}
     49
     50== Connection (base class for Bond/!PseudoBond) ==
    4351{{{
    4452 display (true/false)
     
    4957 color
    5058 halfbond (color each half of bond to match near atom)
    51 
    52  label (text)
    53  labelColor
    54  labelOffset (xyz position relative to bond center)
    55 }}}
    56 
    57 == !PseudoBond (same attributes as Bond) ==
    58 {{{
    59  display (true/false)
    60 
    61  drawMode (wire, stick, spring)
    62  radius
    63 
    64  color
    65  halfBond (color each half of bond to match near atom)
    6659
    6760 label (text)