de.grogra.imp3d.ray
| Constructor and Description |
|---|
GroIMPSceneGraph(Tree tree) |
| 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.
|
public GroIMPSceneGraph(Tree tree)
public int getLightsCount()
RTScenegetLightsCount in interface RTScenepublic int getShadeablesCount()
RTScenegetShadeablesCount in interface RTScenepublic int getStamp()
RTScenepublic void traversSceneLights(RTSceneVisitor visitor)
RTScenetraversSceneLights in interface RTScenevisitor - a visitor object that can perform a proccessing with
a concrete scene light.RTSceneVisitorpublic void traversSceneObjects(RTSceneVisitor visitor)
RTScenetraversSceneObjects in interface RTScenevisitor - a visitor object that can perform a proccessing with
a concrete scene object.RTSceneVisitor