de.grogra.ray
public interface RTScene
de.grogra.ray.Raytracer.getShadeables,
de.grogra.ray.Raytracer.getLights| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getGraph() |
int |
getLightsCount()
Returns the number of light in this scene.
|
int |
getShadeablesCount()
Returns the number of shadeable (visible) objects in the scene.
|
int |
getStamp()
Returns a modification stamp for the scene graph.
|
void |
traversSceneLights(RTSceneVisitor visitor)
Provides an access to all light objects in this scene.
|
void |
traversSceneObjects(RTSceneVisitor visitor)
Provides an access to all objects in this scene.
|
java.lang.Object getGraph()
int getLightsCount()
int getShadeablesCount()
int getStamp()
void traversSceneLights(RTSceneVisitor visitor)
visitor - a visitor object that can perform a proccessing with
a concrete scene light.RTSceneVisitorvoid traversSceneObjects(RTSceneVisitor visitor)
visitor - a visitor object that can perform a proccessing with
a concrete scene object.RTSceneVisitor