Rick, another thought....

rspinney wrote:


A slice through a cube would have one value defined by the user (i.e. a
slice at X=0). The surface could then be color coded by the value of the
grid point from the cube file.


Alternatively, one could see "x=0" as defining that surface onto which the desired cube file is mapped. In that case, any plane -- diagonal or not -- could be defined. All you would need is a linear expression in x, y, and z, and test for > or < 0. So:

x     the yz plane
y     the xz plane
z     the xy plane

x-3    the plane parallel to the yz plane, though (3,0,0)
x-y    the plane perpendicular to the xy plane going through x = y.
x+y    the plane perpendicular to the xy plane going through x = -y.
x+y+z  the oblique plane through (0,0,0), (1,-1,0), (1,0,-1)

That is, the plane would be defined by a set of four numbers:

{x,y,z,w}

{1,0,0,0}   the yz plane
{0,1,0,0}   the xz plane
{0,0,1,0}   the xy plane

(1,0,0,-3}  the plane parallel to the yz plane, though (3,0,0)
{-1,1,0,0}  the plane perpendicular to the xy plane going through x=y
{-1,-1,0,0) the plane perpendicular to the xy plane going through x=-y
{-1,-1,-1,0}the oblique plane through (0,0,0), (1,-1,0), (1,0,-1)

Is there some standard notation for this sort of generic plane that we should be using?

The easy construction of a simple data set along these lines, where each point is measured relative to its distance from this plane and having the same dimensions as the designated cube file would do the job. The JVXL format would allow for any number of predefined planes; one would still have to use the cube file for generating the JVXL data, though.

So I propose that this be part of the mapping business. We get that going, then implement this as a simple addition to the JVXL format.


 Bob

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to