|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.lightrays.raytracer.scene.SceneObject
public abstract class SceneObject
The Class SceneObject.
Constructor Summary | |
---|---|
SceneObject()
Instantiates a new scene object. |
Method Summary | |
---|---|
abstract Shader |
createShader(Ray r)
Creates the shader. |
abstract Vector |
getNormal(Point intersect)
Gets the normal. |
OpticalProperties |
getOpticProperties()
Gets the optic properties. |
abstract RayHitInfo |
intersect(Ray r)
Intersect. |
void |
setOpticProperties(OpticalProperties optic_properties)
Sets the optic properties. |
void |
setScene(Scene scene)
Sets the scene. |
abstract java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SceneObject()
Method Detail |
---|
public abstract Shader createShader(Ray r)
r
- the r
public abstract Vector getNormal(Point intersect)
intersect
- the intersect
public OpticalProperties getOpticProperties()
public abstract RayHitInfo intersect(Ray r)
r
- the r
public void setOpticProperties(OpticalProperties optic_properties)
optic_properties
- the new optic propertiespublic void setScene(Scene scene)
scene
- the new scenepublic abstract java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |