|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.lightrays.raytracer.shaders.Shader
public abstract class Shader
The Class Shader.
| Constructor Summary | |
|---|---|
Shader(Scene scene,
Ray incident_ray,
SceneObject obj)
Instantiates a new shader. |
|
| Method Summary | |
|---|---|
abstract void |
getColour(Colour c)
Gets the colour. |
int |
getDepth()
Gets the depth. |
Ray |
getIncident_ray()
Gets the incident_ray. |
OpticalProperties |
getOptical_properties()
Gets the optical_properties. |
void |
setDepth(int depth)
Sets the depth. |
void |
setIncident_ray(Ray incident_ray)
Sets the incident_ray. |
void |
setOptical_properties(OpticalProperties optical_properties)
Sets the optical_properties. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Shader(Scene scene,
Ray incident_ray,
SceneObject obj)
scene - the sceneincident_ray - the incident_rayobj - the obj| Method Detail |
|---|
public abstract void getColour(Colour c)
c - the cpublic int getDepth()
public Ray getIncident_ray()
public OpticalProperties getOptical_properties()
public void setDepth(int depth)
depth - the new depthpublic void setIncident_ray(Ray incident_ray)
incident_ray - the new incident_raypublic void setOptical_properties(OpticalProperties optical_properties)
optical_properties - the new optical_properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||