- All Known Implementing Classes:
BackgroundExport
,BaseExport
,BaseExportEdge
,BaseExportNode
,Box
,Box
,Box
,Box
,Box
,Box
,Box
,BoxExport
,Cone
,Cone
,Cone
,Cone
,Cone
,Cone
,Cone
,ConeExport
,Cylinder
,Cylinder
,Cylinder
,Cylinder
,Cylinder
,Cylinder
,Cylinder
,CylinderExport
,Frustum
,Frustum
,Frustum
,Frustum
,Frustum
,Frustum
,Frustum
,IndexedFaceSetExport
,IndexedFaceSetExport
,InstantiatedExportNode
,LightExport
,LightExport
,Line
,LineExport
,ObjectBase
,ObjectBase
,ObjectBase
,ObjectBase
,ObjectBase
,ObjectBase
,Parallelogram
,Parallelogram
,Parallelogram
,Parallelogram
,Parallelogram
,Parallelogram
,ParallelogramExport
,Plane
,Plane
,Plane
,Plane
,Plane
,Plane
,PlaneExport
,Point
,PointExport
,Polygonizable
,Polygonizable
,Polygonizable
,Polygonizable
,Polygonizable
,Polygonizable
,POVNode
,Sphere
,Sphere
,Sphere
,Sphere
,Sphere
,Sphere
,Sphere
,SphereExport
,Text
- 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(SceneTree.Leaf node, SceneTree.InnerNode transform, SceneGraphExport sge) Exports the leafnode
to the destination.
-
Method Details
-
export
void export(SceneTree.Leaf node, SceneTree.InnerNode transform, SceneGraphExport sge) throws IOException Exports the leafnode
to the destination. Iftransform
is non-null
, this means thatnode
is the only child oftransform
and the transformation oftransform
has to be exported together with thenode
.- Parameters:
node
- a leaf of the scene treetransform
- transformation of nodesge
- invoking export instance- Throws:
IOException
-