de.jreality.io
Class JrScene

java.lang.Object
  extended by de.jreality.io.JrScene

public class JrScene
extends Object


Constructor Summary
JrScene()
           
JrScene(SceneGraphComponent root)
           
 
Method Summary
 void addAttribute(String name, Object attribute)
           
 void addPath(String name, SceneGraphPath path)
           
 Object getAttribute(String name)
           
 SceneGraphPath getPath(String name)
          currently used:
"cameraPath" "emptyPickPath" "avatarPath" "microphonePath" (not yet...) "contentPath" (not yet...)
 Map<String,Object> getSceneAttributes()
           
 Map<String,SceneGraphPath> getScenePaths()
           
 SceneGraphComponent getSceneRoot()
           
 void setSceneRoot(SceneGraphComponent root)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JrScene

public JrScene()

JrScene

public JrScene(SceneGraphComponent root)
Method Detail

addPath

public void addPath(String name,
                    SceneGraphPath path)

addAttribute

public void addAttribute(String name,
                         Object attribute)

getSceneRoot

public SceneGraphComponent getSceneRoot()

setSceneRoot

public void setSceneRoot(SceneGraphComponent root)

getPath

public SceneGraphPath getPath(String name)
currently used:

Parameters:
name - the name of the SceneGraphPath
Returns:
the corresponding SceneGraphPath

getAttribute

public Object getAttribute(String name)

getScenePaths

public Map<String,SceneGraphPath> getScenePaths()

getSceneAttributes

public Map<String,Object> getSceneAttributes()