Changes between Version 11 and Version 12 of ChimeraAnimationTasks


Ignore:
Timestamp:
Dec 10, 2010, 10:24:59 AM (15 years ago)
Author:
Darren Weber
Comment:

Adding notes about color attributes

Legend:

Unmodified
Added
Removed
Modified
  • ChimeraAnimationTasks

    v11 v12  
    6464}}}
    6565
    66 Some tips in the [http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/faq.html programming FAQ] are useful (esp, items 4, 5, 7-10). 
     66Some tips in the [http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/faq.html programming FAQ] are useful (esp, items 4, 5, 7-10).
    6767
    6868
     
    8080
    8181Some Chimera objects returned as attributes are always copies, some are always references to the uncopied object. Objects that are always copied include {{{Xform, Vector, Point, Sphere, Element, MolResId, Coord,}}} .... Objects that are never copied include {{{Atom, Bond, PseudoBond, CoordSet, Molecule, Residue, RibbonStyle,}}} .... Object that can be copied have a {{{__copy__}}} method. In order to know if an object type is passed by value is to look at the Chimera C++ header files. Classes without a !WrapPy base class are always copied. This base class is part of the C++ to Python interface generation.
     82
     83
     84
     85==== Color Attributes ====
     86
     87See http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/Examples/Main_ColorWellUI.html
     88
     89Also need a function for color interpolations (linear may suffice).  This may be a simple function to interpolate each component of the RGBA tuple from stateA to stateB over N frames (the range of values is between 0-1, so it's a floating point interpolation).
    8290
    8391