de.grogra.imp3d.io
Interface SceneGraphExport.NodeExport
- All Known Implementing Classes:
- BackgroundExport, BaseExport, BoxExport, ConeExport, CylinderExport, IndexedFaceSetExport, LightExport, LineExport, ParallelogramExport, PlaneExport, PointExport, SphereExport
- Enclosing class:
- SceneGraphExport
public static interface SceneGraphExport.NodeExport
This interface is used to export a leaf of the
SceneTree
to the destination.
- Author:
- Ole Kniemeyer
export
void export(SceneTree.Leaf node,
SceneTree.InnerNode transform,
SceneGraphExport sge)
throws java.io.IOException
- Exports the leaf
node
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
.
- Parameters:
node
- a leaf of the scene treetransform
- transformation of nodesge
- invoking export instance
- Throws:
java.io.IOException