java.lang.Object
de.grogra.stl.ObjectBase
- All Implemented Interfaces:
SceneGraphExport.NodeExport
- Direct Known Subclasses:
Box,Cone,Cylinder,Frustum,IndexedFaceSetExport,Parallelogram,Plane,Polygonizable,Sphere
Wrapper class. Part of STLExport
http://en.wikipedia.org/wiki/STL_(file_format)
MH 2015-04-28
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(SceneTree.Leaf node, SceneTree.InnerNode transform, SceneGraphExport sge) Exports the leafnodeto the destination.protected void
-
Constructor Details
-
ObjectBase
public ObjectBase()
-
-
Method Details
-
writeFace
-
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
-