From: <ha...@us...> - 2007-10-15 17:39:25
|
Revision: 8424 http://jmol.svn.sourceforge.net/jmol/?rev=8424&view=rev Author: hansonr Date: 2007-10-15 10:39:23 -0700 (Mon, 15 Oct 2007) Log Message: ----------- version=11.3.33_dev # _PovrayExporter adds polyhedra, vectors, pmesh, backbone, cartoons, # meshRibbon, ribbon, rockets, trace, dots, geosurface, molecular orbitals, # LCAO cartoons, single-color isosurfaces Modified Paths: -------------- trunk/Jmol/src/org/jmol/shapespecial/VectorsRenderer.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Added Paths: ----------- trunk/Jmol/src/org/jmol/export/GeoSurfaceGenerator.java Added: trunk/Jmol/src/org/jmol/export/GeoSurfaceGenerator.java =================================================================== --- trunk/Jmol/src/org/jmol/export/GeoSurfaceGenerator.java (rev 0) +++ trunk/Jmol/src/org/jmol/export/GeoSurfaceGenerator.java 2007-10-15 17:39:23 UTC (rev 8424) @@ -0,0 +1,32 @@ +/* $RCSfile$ + * $Author: hansonr $ + * $Date: 2007-05-18 15:41:42 -0500 (Fri, 18 May 2007) $ + * $Revision: 7752 $ + + * + * Copyright (C) 2003-2005 The Jmol Development Team + * + * Contact: jmo...@li... + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +package org.jmol.export; + +import org.jmol.shapespecial.*; + +public class GeoSurfaceGenerator extends GeoSurfaceRenderer { + +} Modified: trunk/Jmol/src/org/jmol/shapespecial/VectorsRenderer.java =================================================================== --- trunk/Jmol/src/org/jmol/shapespecial/VectorsRenderer.java 2007-10-15 17:26:43 UTC (rev 8423) +++ trunk/Jmol/src/org/jmol/shapespecial/VectorsRenderer.java 2007-10-15 17:39:23 UTC (rev 8424) @@ -87,13 +87,12 @@ pointArrowHead.add(headOffsetVector); screenArrowHead.set(viewer.transformPoint(pointArrowHead, vibrationVector)); screenVectorEnd.set(viewer.transformPoint(pointVectorEnd, vibrationVector)); - if (isGenerator) - diameter = (mad < 1 ? 20 : mad); //may need tweaking - else - diameter = (mad < 1 ? 1 : mad <= 20 ? mad : viewer.scaleToScreen(screenVectorEnd.z, mad)); - headWidthPixels = (int)(diameter * 1.5f); + diameter = (mad < 1 ? 1 : mad <= 20 ? mad : viewer.scaleToScreen(screenVectorEnd.z, mad)); + headWidthPixels = (int)(diameter * 2.0f); if (headWidthPixels < diameter + 2) headWidthPixels = diameter + 2; + if (isGenerator) + diameter = (mad < 1 ? 1 : mad); //may need tweaking return true; } Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2007-10-15 17:26:43 UTC (rev 8423) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2007-10-15 17:39:23 UTC (rev 8424) @@ -1,6 +1,6 @@ version=11.3.33_dev -# _PovrayExporter adds polyhedra, pmesh, backbone, cartoons, +# _PovrayExporter adds polyhedra, vectors, pmesh, backbone, cartoons, # meshRibbon, ribbon, rockets, trace, dots, geosurface, molecular orbitals, # LCAO cartoons, single-color isosurfaces This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |