de.grogra.mtg
public class MTGExport extends SceneGraphExport implements FileWriterSource
SceneGraphExport.NodeExport, SceneGraphExport.ObjectExportFilterSource.MetaDataKey<V>filesitem, sourceAUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URLDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
MTGExport(FilterItem item,
FilterSource source) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beginGroup(SceneTree.InnerNode group)
This method is invoked at the beginning of every inner node
group which has more than one child. |
protected SceneTree |
createSceneTree(View3D scene)
The implementation of this method creates the scene tree which is
to be exported by this export.
|
protected void |
endGroup(SceneTree.InnerNode group)
This method is invoked at the end of every inner node
group which has more than one child. |
void |
write(java.io.File out)
This method writes the data to
out. |
export, export, getDirectory, getExportFor, getExportForObject, getFile, getFiles, getFileSystem, getGraphState, getOutputStream, getPath, getPath, getView, initDirectory, initFileSystem, visit, visitEnter, visitLeave, writeget, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgressgetRegistrypublic MTGExport(FilterItem item, FilterSource source)
protected void beginGroup(SceneTree.InnerNode group) throws java.io.IOException
SceneGraphExportgroup which has more than one child. Its children
will be processed until the corresponding method
SceneGraphExport.endGroup(de.grogra.imp3d.objects.SceneTree.InnerNode) is invoked. The export should write
the hierarchy and transformation information of the group.beginGroup in class SceneGraphExportgroup - the groupjava.io.IOExceptionprotected SceneTree createSceneTree(View3D scene)
SceneGraphExportcreateSceneTree in class SceneGraphExportscene - the view which defines the scene to exportprotected void endGroup(SceneTree.InnerNode group) throws java.io.IOException
SceneGraphExportgroup which has more than one child. Its children
have been processed completely.endGroup in class SceneGraphExportgroup - the groupjava.io.IOExceptionSceneGraphExport.beginGroup(de.grogra.imp3d.objects.SceneTree.InnerNode)public void write(java.io.File out)
throws java.io.IOException
FileWriterSourceout.write in interface FileWriterSourceout - the file to which data is writtenjava.io.IOException