|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectshowIsosurface.Orbital
public class Orbital
The Orbital class creates a BranchGroup object and populates that object with children the describe the various regions of an atomic or molecular orbital. The children are Shape3D objects.
| Constructor Summary | |
|---|---|
Orbital()
Creates the Orbital object. |
|
Orbital(int n)
Creates the Orbital object. |
|
| Method Summary | |
|---|---|
void |
compile()
Compiles the orbital BranchGroup. |
void |
destroy()
Sets all isosurface objects to null and creates an empty BranchGroup |
javax.media.j3d.Group |
getBranchGroup()
Returns the BranchGroup object for the orbital |
java.lang.String |
getInfo()
Returns name, version, copyright, and author information about this class. |
Isosurface |
getIsosurface(int n)
Provides the requested Isosurface object |
java.lang.String |
getOrbitalName()
Returns the name of the orbital |
void |
loadIsosurface(java.net.URL url)
Loads an isosurface (a region of the orbital) from a VRML node file |
void |
loadIsosurfaces(java.net.URL burl,
int n)
Loads a set of isosurfaces (regions of the orbital) from a set of VRML node files. |
void |
setAllVisible(boolean s)
Sets the visibility state for all of the isosurfaces |
void |
setName(java.lang.String name)
Sets the name of the orbital |
void |
setTransparency(float t)
Sets the transparency of the orbital |
void |
setVisible(int n,
boolean s)
Sets the visibility state of a specific isosurface |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Orbital()
public Orbital(int n)
n - number of orbital regions (isosurfaces)| Method Detail |
|---|
public void compile()
public void destroy()
public javax.media.j3d.Group getBranchGroup()
public java.lang.String getInfo()
public Isosurface getIsosurface(int n)
n - index of the isosurface
public java.lang.String getOrbitalName()
public void loadIsosurface(java.net.URL url)
fname - filename of the VRML node file
public void loadIsosurfaces(java.net.URL burl,
int n)
bname - base URL for the VRML node filesn - number of isosurfaces to be loadedpublic void setAllVisible(boolean s)
s - visibility statepublic void setName(java.lang.String name)
name - orbital namepublic void setTransparency(float t)
t -
public void setVisible(int n,
boolean s)
n - number of the isosurfaces - visibility state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||