Module imp3d

Interface SceneGraphExport.NodeExport

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 Details

    • export

      void export(SceneTree.Leaf node, SceneTree.InnerNode transform, SceneGraphExport sge) throws 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 tree
      transform - transformation of node
      sge - invoking export instance
      Throws:
      IOException