de.grogra.stl
public abstract class ObjectBase extends java.lang.Object implements SceneGraphExport.NodeExport
| Constructor and Description |
|---|
ObjectBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(SceneTree.Leaf node,
SceneTree.InnerNode transform,
SceneGraphExport sge)
Exports the leaf
node to the destination. |
protected void |
writeFace(Vector3d a,
Vector3d b,
Vector3d c) |
public void export(SceneTree.Leaf node, SceneTree.InnerNode transform, SceneGraphExport sge) throws java.io.IOException
SceneGraphExport.NodeExportnode 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.export in interface SceneGraphExport.NodeExportnode - a leaf of the scene treetransform - transformation of nodesge - invoking export instancejava.io.IOException