|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAir
public class Air
A class representing the medium through which a traced ray travels when not inside an object.
Constructor Summary | |
---|---|
Air()
Constructs an Air object with electric permittivity of 1.0,
magnetic permeability of 1.0, and attenuation (1.0, 1.0, 1.0). |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
javax.vecmath.Color3f |
getAttenuation()
Returns the attenuation of the medium. |
double |
getElectricPermittivity()
Returns the electric permittivity of the medium. |
double |
getMagneticPermeability()
Returns the magnetic permeability of the medium. |
void |
load(DataParser dataParser)
Loads data using the DataParser object. |
void |
setAttenuation(javax.vecmath.Color3f attenuation)
Sets the attentuation of the medium. |
void |
setElectricPermittivity(double electricPermittivity)
Sets the electric permittivity of the medium. |
void |
setMagneticPermeability(double magneticPermeability)
Sets the magnetic permeability of the medium. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Air()
Air
object with electric permittivity of 1.0,
magnetic permeability of 1.0, and attenuation (1.0, 1.0, 1.0).
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public void load(DataParser dataParser)
Persistent
DataParser
object.
A class overrides this function to load data that has been parsed.
load
in interface Persistent
dataParser
- The DataParser
to load data from.public void setElectricPermittivity(double electricPermittivity)
electricPermittivity
- The electric permittivity to set.public double getElectricPermittivity()
public void setMagneticPermeability(double magneticPermeability)
magneticPermeability
- The magnetic permeability to set.public double getMagneticPermeability()
public void setAttenuation(javax.vecmath.Color3f attenuation)
attenuation
- The attenuation to set.public javax.vecmath.Color3f getAttenuation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |