|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface which must implemented by a Core Viewer.
Method Summary | |
Clock |
getClock()
Gets this viewer's Clock |
Bindable |
getCurrentBindableNode(java.lang.String typeName)
Returns a reference to the currently bound node of the given type. |
DeviceListener |
getDeviceListener()
Gets this viewer's DeviceListener |
Picker |
getNewPicker()
Gets a new Picker |
Searcher |
getNewSearcher()
Gets a new Searcher |
Node |
getNodeByName(java.lang.String nodeName)
Gets a Node by it's DEF Name Returns null if no node is found with the given name |
java.lang.String |
getProfile()
Gets a string denoting the profile of the current scene. |
Renderer |
getRenderer()
Gets this viewer's Renderer |
ResourceListener |
getResourceListener()
Gets this viewer's ResourceListener |
Group |
getScene()
Gets the scene in the Viewer |
java.lang.String |
getVersion()
Gets a string denoting the version of this viewer. |
void |
loadURL(java.lang.String[] url,
Node root)
Reads the the file referred to by the given URL and sets the passed root parameter to be the root of the scene in that file. |
void |
setScene(Group root)
Replaces the scene in the Viewer |
void |
setSceneFromURL(java.lang.String[] url)
Loads the scene from the file referred to by the given URL. |
Method Detail |
public Renderer getRenderer()
public Clock getClock()
public Picker getNewPicker()
public Searcher getNewSearcher()
public DeviceListener getDeviceListener()
public ResourceListener getResourceListener()
public Node getNodeByName(java.lang.String nodeName)
public void loadURL(java.lang.String[] url, Node root) throws Shout3DException
url
- the URL to loadroot
- the node in which to place the scene once loadedpublic void setSceneFromURL(java.lang.String[] url) throws Shout3DException
url
- the URL to loadpublic void setScene(Group root)
root
- the root of the new scenepublic Group getScene()
public java.lang.String getProfile()
public java.lang.String getVersion()
public Bindable getCurrentBindableNode(java.lang.String typeName) throws Shout3DException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |