Class VRMLState

java.lang.Object
au.edu.unsw.cse.VRMLState

public class VRMLState
extends java.lang.Object
This class stores state information needed to convert an Object3d to VRML.
  • Constructor Details

    • VRMLState

      public VRMLState​(Viewer viewer)
  • Method Details

    • getLastFrame

      public int getLastFrame()
    • getViewer

      public Viewer getViewer()
    • idVRML

      public java.lang.String idVRML​(int col)
    • getPROTO

      public java.lang.String getPROTO​(java.lang.String name)
    • putPROTO

      public void putPROTO​(java.lang.String name, java.lang.String body)
    • append

      public void append​(java.lang.String s)
    • appendToSuffix

      public void appendToSuffix​(java.lang.String s)
    • addAppear

      public void addAppear​(Object3d o)
    • getAppear

      public Object3dList getAppear()
    • getDisappear

      public Object3dList getDisappear()
    • getSelect

      public Object3dList getSelect()
    • addDisappear

      public void addDisappear​(Object3d o)
    • addSelect

      public void addSelect​(Object3d o)
    • setDefaultColor

      public int setDefaultColor​(int col)
    • getVRMLColor

      public java.lang.String getVRMLColor​(int col)
    • vrmlAllPROTOs

      public java.lang.String vrmlAllPROTOs()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object