Module: SrfReader | DelphiViewer/SrfReader.py | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File: SrfReader.py Date: 06.21.2000 Description: Converts a DelPhi/GRASP *.srf file to a VRML file. Imports: - chimera - _cubes - * from struct - * from array - * from string Classes: - SrfReader Caveats: Much time is spent in colorVerticesByPhiValue, PhiReaders.parsePhiFile and writeVRMLMesh/Surface. Last modified: 06.21.2000 - Added. 06.23.2000 - Fiddled around and got the scaling correct. Took out some stuff that really slowed down the writeVRML* routines. Added a few more detailed comments. 07.05.2000 - Modified the line parser for reading the number of vertices, the number of triangles and the grid size. 07.09.2000 - Modified coloring of GRASP surface to a 2D-texture. NOTE: SrfReader colors the GRASP surface, where MSMSTexturer textures the MSMS surface.
|