de.grogra.ext.x3d.exportation
public abstract class BaseExport extends java.lang.Object implements SceneGraphExport.NodeExport
| Constructor and Description |
|---|
BaseExport() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(SceneTree.Leaf node,
SceneTree.InnerNode transform,
SceneGraphExport sge)
Exports the leaf
node to the destination. |
protected abstract void |
exportImpl(SceneTree.Leaf node,
X3DExport export,
de.grogra.ext.x3d.xmlbeans.ShapeDocument.Shape shapeNode,
de.grogra.ext.x3d.xmlbeans.TransformDocument.Transform transformNode) |
public void export(SceneTree.Leaf node, SceneTree.InnerNode transform, SceneGraphExport sge) throws java.io.IOException
SceneGraphExport.NodeExportnode to the destination. If
transform is non-null, this means that
node is the only child of transform
and the transformation of transform has to be
exported together with the node.export in interface SceneGraphExport.NodeExportnode - a leaf of the scene treetransform - transformation of nodesge - invoking export instancejava.io.IOExceptionprotected abstract void exportImpl(SceneTree.Leaf node, X3DExport export, de.grogra.ext.x3d.xmlbeans.ShapeDocument.Shape shapeNode, de.grogra.ext.x3d.xmlbeans.TransformDocument.Transform transformNode) throws java.io.IOException
java.io.IOException