Changes between Version 1 and Version 2 of MolGraphics


Ignore:
Timestamp:
Jan 6, 2015, 6:28:51 PM (11 years ago)
Author:
Tom Goddard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MolGraphics

    v1 v2  
    11= Molecule graphics attributes for Chimera 2, based on Chimera 1 =
     2
     3These 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.
     4
    25"*" indicates something we may change in Chimera 2.
    36
    47== Atom ==
    5 
     8{{{
    69 display (true/false)
    7 
    810 hide (true/false, is atom shown when ribbon style shown)
    911
     
    1214 color
    1315
    14 
    1516 label (text string for 3d label)
    16 
    1717 labelOffset (xyz position relative to atom)
    18 
    1918 labelColor
    20 
    21  minimumLabelRadius
    22 
     19 minimumLabelRadius (float)
    2320
    2421 *surfaceDisplay (drop this, visibility of surface per-atom)
    25 
    2622 *surfaceColor (drop this, used for color by atom, instead have surface remember this mapping)
    27 
    2823 *surfaceOpacity (drop this, used for color by atom)
    29 
    3024 *surfaceCategory (drop this? categories will be like other named selectors?)
    3125
    32 
    3326 *vdwPoints (drop this)
    34 
    3527 *vdwColor (drop this)
    3628
    3729 *Thermal ellipsoids for atoms -- in Python in Chimera 1
    38 
    3930 scaleFactor (float, scales size)
    40 
    4131 probabilityLevelForScaling (percentage)
    42 
    4332 smoothingLevel (level of detail for ellipsoid)
    44 
    4533 displayEllipsoid (true/false)
    46 
    4734 displayPrincipalAxes (true/false, show lines for ellipsoid axes)
    48 
    49  axesLengthFactor (flaot)
    50 
     35 axesLengthFactor (float)
    5136 axesThickness (float)
    52 
    5337 displayPrincipalEllipses (true/false, show orthogonal planes of ellipsoid)
    54 
    5538 ellipsesSizeFactor (float)
    56 
    5739 ellipsesThickness (float)
     40}}}
    5841
    5942== Bond ==
     43{{{
    6044 display (true/false)
    6145
     
    6953 labelColor
    7054 labelOffset (xyz position relative to bond center)
     55}}}
    7156
    72 == PseudoBond (same attributes as Bond) ==
     57== !PseudoBond (same attributes as Bond) ==
     58{{{
    7359 display (true/false)
    7460
     
    8268 labelColor
    8369 labelOffset (xyz position relative to bond center)
     70}}}
    8471
    8572== Residue ==
     73{{{
    8674 ribbonDisplay (true/False)
    8775 ribbonDrawMode (2D, edged, round, custom)
     
    9785 labelColor
    9886 labelOffset (xyz position relative to residue CA?)
     87}}}
    9988
    10089== Nucleotides - nucleic acid slab depictions in Python/VRML in Chimera 1 ==
     90{{{
    10191  *These attributes should probably be moved to Residue C++ object in Chimera 2
    10292
     
    118108 ladderRelaxHBondConstraints (true/false)
    119109 ladderHBondConstraints(angstroms and degrees, if relax enabled)
     110}}}
    120111
    121112== Chain ==
     113{{{
    122114  No graphical attributes, Chain class does not exist in Chimera 1
    123115
     
    147139  coilWidth (float)
    148140  coilThickness (float)
     141}}}
    149142 
    150143== Molecule, also inherits from Model ==
     144{{{
    151145 ballScale (float, scale ball size in ball and stick)
    152146 pointSize (pixels for dot display)
     
    173167 *surfaceOpacity (drop this, for molecular surface, use surface attribute)
    174168 *vdwDensity (drop this, density of surface vertices)
     169}}}
    175170
    176171== Model ==
     172{{{
    177173 display (true/false)
    178174
     
    185181
    186182 silhouette (true/false, silhouettes enabled for this model)
     183}}}
    187184
    188 == PseudoBondGroup (global bond settings like Molecule) ==
     185== !PseudoBondGroup (global bond settings like Molecule) ==
     186{{{
    189187 stickScale (float, scale factor for bond radius)
    190188 lineWidth (pixels, for wire display)
     
    192190 wireStipple (stipple pattern for wire bonds)
    193191 showStubBonds (true/false, show a bond if atom not shown?)
     192}}}
    194193
    195194== Other changes ==
    196195
    197 1. Make color objects immutable.  Chimera 1 allows redefining a color and having all graphics objects
    198 using that color automatically update.  Complexity of that is not worth it.
     1961. Make color objects immutable.  Chimera 1 allows redefining a color and having all graphics objects using that color automatically update.  Complexity of that is not worth it.
    199197
    2001982. Integrating Nucleotides, Thermal ellipsoid, and Pipes and Plank styles into core is a lot of work.