mamx.vrml
Class VRMLNode

Direct Known Subclasses:
VRMLAppearance, VRMLBox, VRMLColor, VRMLComment, VRMLCone, VRMLCoordinate, VRMLCylinder, VRMLFontStyle, VRMLGroupingNode, VRMLIndexedLineSet, VRMLIPShape, VRMLMaterial, VRMLShape, VRMLSphere, VRMLText, VRMLTextureTransform, VRMLViewpoint

public abstract class VRMLNode
implements VRMLSourceWriteable


Field Summary
 protected VRMLDefinitiondefinition
           
 protected static intINDENT_INCREASE
           
 protected booleanuseDef
           

Method Summary
 abstract voidcreateSource(PrintWriter out, int currIndent)
           
 voiddefine(VRMLDefinition def)
          Define as null in order to remove a definition from the object
 protected voidprintlnVector(float[] vector, PrintWriter out)
           
 voiduseDefinition(VRMLDefinition def)
           

Field Detail

definition

protected VRMLDefinition definition

INDENT_INCREASE

protected static int INDENT_INCREASE

useDef

protected boolean useDef
Method Detail

createSource

public abstract void createSource(PrintWriter out, int currIndent)
throws java.io.IOException

define

public void define(VRMLDefinition def)
Define as null in order to remove a definition from the object

printlnVector

protected void printlnVector(float[] vector, PrintWriter out)

useDefinition

public void useDefinition(VRMLDefinition def)