java.lang.Object
de.grogra.ext.x3d.exportation.BaseExport
- All Implemented Interfaces:
SceneGraphExport.NodeExport
- Direct Known Subclasses:
BackgroundExport,BoxExport,ConeExport,CylinderExport,IndexedFaceSetExport,LightExport,LineExport,ParallelogramExport,PlaneExport,PointExport,SphereExport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(SceneTree.Leaf node, SceneTree.InnerNode transform, SceneGraphExport sge) Exports the leafnodeto the destination.protected abstract voidexportImpl(SceneTree.Leaf node, X3DExport export, de.grogra.ext.x3d.xmlbeans.ShapeDocument.Shape shapeNode, de.grogra.ext.x3d.xmlbeans.TransformDocument.Transform transformNode)
-
Constructor Details
-
BaseExport
public BaseExport()
-
-
Method Details
-
export
public void export(SceneTree.Leaf node, SceneTree.InnerNode transform, SceneGraphExport sge) throws IOException Description copied from interface:SceneGraphExport.NodeExportExports the leafnodeto the destination. Iftransformis non-null, this means thatnodeis the only child oftransformand the transformation oftransformhas to be exported together with thenode.- Specified by:
exportin interfaceSceneGraphExport.NodeExport- Parameters:
node- a leaf of the scene treetransform- transformation of nodesge- invoking export instance- Throws:
IOException
-
exportImpl
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) throws IOException - Throws:
IOException
-