IsoSurface()

Plots an optionally semi transparent, iso-surface through a unit-cell of density inside a three dimensional window

IsoSurface/DRAW lattice=Realarray density=Realarray dsurf=Real table=Colourtable [transparency=Integer] [eye=Realarray] [light=Realarray] Plots an iso-surface, in a 3d window.
IsoSurface/ALTER [lattice=Realarray] [dsurf=Real] [table=Colourtable] [transparency=Integer] [eye=Realarray] [light=Realarray] object=Gobject Alters a previously plotted iso-surface.

example:

	#Plot an iso-surface
	>> is=IsoSurface:draw(lattice,density,5.0,table)
	#Alter the transparency of the iso-surface
	>> IsoSurface/alter transparency=25 object=is

IsoSurface/Draw

Plots an optionally semi transparent, iso-surface through a unit-cell of density inside a 3d window. All (x,y,z) values are taken to be given in world coordinates. The z component of all lattice vertices should be negative.

Parameters:

lattice (Realarray)

(x,y,z) coordinates of the origin and the a, b, & c lattice vertices. The array should be allocated by DIMENSIONS(4,3).

density (Realarray)

The density at regular points within the unit cell. The array is of size (N1+1)x(N2+1)x(N3+1), where N1, N2, N3 are the dimensions of the unit cell grid. It should be allocated by DIMENSIONS(N3+1,N2+1,N1+1). The density is wrapped around so that DENSITY(0,J,K)=DENSITY(N1,J,K) etc.

dsurf (Real)

The density for the iso-surface.

table (Colourtable)

The colour table to be used, see ColourTable for details.

transparency (Integer)

The level of transparency expressed as a percentage. By default this is zero.

eye (Realarray)

(x,y,z) coordinate of the eye position, see Win_ThreeD for details.

light (Realarray)

(x,y,z) direction of the flood-light, see Win_ThreeD for details.

RESULT = (Gobject)

Returns the properties of the newly created iso-surface.

IsoSurface/Alter

Alters an iso-surface plotted inside a 3d window.

Parameters:

lattice (Realarray)

(x,y,z) coordinates of the origin and the a, b, & c lattice vertices. The array should be allocated by DIMENSIONS(4,3).

dsurf (Real)

The density for the iso-surface.

table (Colourtable)

The colour table to be used, see ColourTable for details.

transparency (Integer)

The level of transparency expressed as a percentage.

eye (Realarray)

(x,y,z) coordinate of the eye position, see Win_ThreeD for details.

light (Realarray)

(x,y,z) direction of the flood-light, see Win_ThreeD for details.

object (Gobject)

The IsoSurface object to be altered.

RESULT = (Gobject)

Returns the properties of the altered iso-surface.