|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object camera3d.XMLConverter
A class for saving/retrieving information about the working environment. Currently, only information about objects native to the Virtual Camera (e.g. lights, cameras, distance measurers, etc) and graphical components is supported. All information about content imported into the the application is lost.
Constructor Summary | |
XMLConverter()
|
|
XMLConverter(J3DBase base)
Creates new converter, setting the J3DBase object which will provide/receive scene graph information. |
Method Summary | |
J3DBase |
getBase()
Returns the J3DBase which provides/receives scene graph information. |
void |
load(java.lang.String filename,
GUIControl guiControl)
Loads the content of a file into the scene graph and configures graphical components. |
void |
setBase(J3DBase base)
Sets the J3DBase which will provide/receive scene graph information. |
void |
write(java.lang.String filename,
GUIControl guiControl)
Creates a new Document based on scene graph information and outputs it to a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLConverter()
public XMLConverter(J3DBase base)
Method Detail |
public void setBase(J3DBase base)
public J3DBase getBase()
public void write(java.lang.String filename, GUIControl guiControl)
public void load(java.lang.String filename, GUIControl guiControl)
filename
- complete path to configuration file.guiControl
- serves as access point to scene graph and graphical components.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |