|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.NISTMonte.TrajectoryVRML.RenderContext
public class TrajectoryVRML.RenderContext
A set of functions that provide contextual information for rendering an object as VRML.
| Method Summary | |
|---|---|
java.awt.Color |
getCurrentColor()
getCurrentColor - Get the color associated with the current Material (setCurrentMaterial). |
Material |
getCurrentMaterial()
|
double |
getTransparency()
getTransparency - Get a number 0.0 to 1.0 to represent the transparency (1.0 is transparent, 0.0 is opaque) |
void |
setCurrentMaterial(Material mat)
setCurrentMaterial - Sets the current material. |
void |
setTransparency(double tr)
setTransparency - Set a number 0.0 to 1.0 to represent the transparency |
void |
specifyColorForMaterial(Material mat,
java.awt.Color col)
specifyColorForMaterial - Allows the user to specify a specific color for a specific material rather than permitting the default assignment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setCurrentMaterial(Material mat)
mat - public Material getCurrentMaterial()
public void specifyColorForMaterial(Material mat,
java.awt.Color col)
mat - col - public double getTransparency()
public void setTransparency(double tr)
tr - 1.0 is transparent, 0.0 is opaquepublic java.awt.Color getCurrentColor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||