|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.lang.AbstractScene
org.web3d.vrml.nodes.proto.ProtoScene
public class ProtoScene
Implementation of the BasicScene interface that
is used withing protos.
| Field Summary |
|---|
| Fields inherited from class org.web3d.vrml.lang.AbstractScene |
|---|
allNodes, loadedURI, majorVersion, metaData, minorVersion, nodeFactory, rootNode, routeList, templateList, templateMap, worldURL |
| Constructor Summary | |
|---|---|
ProtoScene(int major,
int minor)
Create an empty scene for the given spec version. |
|
| Method Summary | |
|---|---|
void |
addRoute(ROUTE node)
Add a new ROUTE instance to the internal list. |
void |
mergeScene(BasicScene sc)
Import the contents of the given scene into this scene. |
void |
removeRoute(ROUTE node)
Remove a route instance from the internal list. |
| Methods inherited from class org.web3d.vrml.lang.AbstractScene |
|---|
addDEFNode, addImportedNode, addNode, addTemplate, getByPrimaryType, getBySecondaryType, getDEFNodes, getImports, getLayerId, getLoadedURI, getMetaData, getNodeFactory, getNodeTemplate, getNodeTemplates, getRootNode, getRoutes, getSpecificationMajorVersion, getSpecificationMinorVersion, getWorldRootURL, removeDEFNode, removeImportedNode, removeNode, removeTemplate, setLayerId, setLoadedURI, setNodeFactory, setRootNode, setWorldRootURL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtoScene(int major,
int minor)
major - The major version number of this sceneminor - The minor version number of this scene| Method Detail |
|---|
public void mergeScene(BasicScene sc)
sc - The scene to importpublic void addRoute(ROUTE node)
node - The new ROUTE instance to be addedpublic void removeRoute(ROUTE node)
node - The ROUTE to remove
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||