Hi Steve,
You can make colormapped surfaces from Python.
You can use TextureColors (see TextureColor.h) with MSMS surfaces. The chimera/share/DelphiViewer/MSMSTexturer.py code uses this to map electrostatic potential onto a molecular surface.
You can also use the _surface Surface_Group.set_vertex_colors() to color a Surface_Model however you like. This doesn't use a colormap. You would just iterate over the surface vertices and calculate colors for each one. This was not in Chimera 1700, but is in the Chimera snapshot I gave you and will be in the next release.
Tom
Date: Fri, 23 May 2003 23:50:13 -0500 (CDT) From: Steve Ludtke stevel@blake.3dem.bioch.bcm.tmc.edu Reply-To: sludtke@bcm.tmc.edu To: Thomas Goddard goddard@cgl.ucsf.edu
Hi. When I was looking through some of the includes you sent, I noticed some links for applying a colormap to a molecular surface. I realize there's nothing in the GUI that lets you use this yet, but is this capability now supported at the python level ? One of the things I'm really missing right now is the ability to apply a cylindrical color-map to the surface of our isosurfaces. I'm not shy about implementing this myself in python if the underlying support is there now. cheers...
--
Steven Ludtke, PhD | Baylor College of Medicine sludtke@bcm.tmc.edu | Co-Director stevel@alumni.caltech.edu | National Center For Macromolecular Imaging V: (713)798-6989 | Dept of Biochemistry and Mol. Biol. instant messenger: sludtke42 | * Those who do ARE * http://ncmi.bcm.tmc.edu/~stevel | The converse also holds
participants (1)
-
Thomas Goddard