Changes between Version 1 and Version 2 of MolGraphics
- Timestamp:
- Jan 6, 2015, 6:28:51 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MolGraphics
v1 v2 1 1 = Molecule graphics attributes for Chimera 2, based on Chimera 1 = 2 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. 4 2 5 "*" indicates something we may change in Chimera 2. 3 6 4 7 == Atom == 5 8 {{{ 6 9 display (true/false) 7 8 10 hide (true/false, is atom shown when ribbon style shown) 9 11 … … 12 14 color 13 15 14 15 16 label (text string for 3d label) 16 17 17 labelOffset (xyz position relative to atom) 18 19 18 labelColor 20 21 minimumLabelRadius 22 19 minimumLabelRadius (float) 23 20 24 21 *surfaceDisplay (drop this, visibility of surface per-atom) 25 26 22 *surfaceColor (drop this, used for color by atom, instead have surface remember this mapping) 27 28 23 *surfaceOpacity (drop this, used for color by atom) 29 30 24 *surfaceCategory (drop this? categories will be like other named selectors?) 31 25 32 33 26 *vdwPoints (drop this) 34 35 27 *vdwColor (drop this) 36 28 37 29 *Thermal ellipsoids for atoms -- in Python in Chimera 1 38 39 30 scaleFactor (float, scales size) 40 41 31 probabilityLevelForScaling (percentage) 42 43 32 smoothingLevel (level of detail for ellipsoid) 44 45 33 displayEllipsoid (true/false) 46 47 34 displayPrincipalAxes (true/false, show lines for ellipsoid axes) 48 49 axesLengthFactor (flaot) 50 35 axesLengthFactor (float) 51 36 axesThickness (float) 52 53 37 displayPrincipalEllipses (true/false, show orthogonal planes of ellipsoid) 54 55 38 ellipsesSizeFactor (float) 56 57 39 ellipsesThickness (float) 40 }}} 58 41 59 42 == Bond == 43 {{{ 60 44 display (true/false) 61 45 … … 69 53 labelColor 70 54 labelOffset (xyz position relative to bond center) 55 }}} 71 56 72 == PseudoBond (same attributes as Bond) == 57 == !PseudoBond (same attributes as Bond) == 58 {{{ 73 59 display (true/false) 74 60 … … 82 68 labelColor 83 69 labelOffset (xyz position relative to bond center) 70 }}} 84 71 85 72 == Residue == 73 {{{ 86 74 ribbonDisplay (true/False) 87 75 ribbonDrawMode (2D, edged, round, custom) … … 97 85 labelColor 98 86 labelOffset (xyz position relative to residue CA?) 87 }}} 99 88 100 89 == Nucleotides - nucleic acid slab depictions in Python/VRML in Chimera 1 == 90 {{{ 101 91 *These attributes should probably be moved to Residue C++ object in Chimera 2 102 92 … … 118 108 ladderRelaxHBondConstraints (true/false) 119 109 ladderHBondConstraints(angstroms and degrees, if relax enabled) 110 }}} 120 111 121 112 == Chain == 113 {{{ 122 114 No graphical attributes, Chain class does not exist in Chimera 1 123 115 … … 147 139 coilWidth (float) 148 140 coilThickness (float) 141 }}} 149 142 150 143 == Molecule, also inherits from Model == 144 {{{ 151 145 ballScale (float, scale ball size in ball and stick) 152 146 pointSize (pixels for dot display) … … 173 167 *surfaceOpacity (drop this, for molecular surface, use surface attribute) 174 168 *vdwDensity (drop this, density of surface vertices) 169 }}} 175 170 176 171 == Model == 172 {{{ 177 173 display (true/false) 178 174 … … 185 181 186 182 silhouette (true/false, silhouettes enabled for this model) 183 }}} 187 184 188 == PseudoBondGroup (global bond settings like Molecule) == 185 == !PseudoBondGroup (global bond settings like Molecule) == 186 {{{ 189 187 stickScale (float, scale factor for bond radius) 190 188 lineWidth (pixels, for wire display) … … 192 190 wireStipple (stipple pattern for wire bonds) 193 191 showStubBonds (true/false, show a bond if atom not shown?) 192 }}} 194 193 195 194 == Other changes == 196 195 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. 196 1. 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. 199 197 200 198 2. Integrating Nucleotides, Thermal ellipsoid, and Pipes and Plank styles into core is a lot of work.