showHybrid
Class OrbitalSet
java.lang.Object
showHybrid.OrbitalSet
public class OrbitalSet
- extends java.lang.Object
|
Field Summary |
static int |
D
|
static int |
S
|
static int |
SP
|
static int |
SP2
|
static int |
SP3
|
|
Constructor Summary |
OrbitalSet()
|
OrbitalSet(java.lang.String path,
int orb)
Creates a set of orbitals |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
S
public static int S
SP
public static int SP
SP2
public static int SP2
SP3
public static int SP3
D
public static int D
OrbitalSet
public OrbitalSet()
OrbitalSet
public OrbitalSet(java.lang.String path,
int orb)
- Creates a set of orbitals
- Parameters:
path - path from current directory to orbital VRML filesorb - index indicating which orbitals are to be loaded
destroy
public void destroy()
- Destroys Java3D objects and releases memory.
getSwitch
public javax.media.j3d.Switch getSwitch()
- Returns the Switch group for this orbital set. Element 0 is the atom
TransformGroup. Remaining elements are arrows.
- Returns:
- Switch object
setChildMask
public void setChildMask(java.util.BitSet b)
setOrbital
public void setOrbital(int n)
- Determines which orbital or atom is displayed.
Orbitals and atoms are numbered 0 to n-1.
If n < 0, no orbital is displayed.
- Parameters:
n - number of arrow or orbital
setShowArrow
public void setShowArrow(java.lang.Boolean s)
setShowOverlay
public void setShowOverlay(java.lang.Boolean s)
setWhichChild
public void setWhichChild(int n)