Package au.edu.unsw.cse
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 Summary
-
Method Summary
Modifier and Type Method Description void
addAppear(Object3d o)
void
addDisappear(Object3d o)
void
addSelect(Object3d o)
void
append(java.lang.String s)
void
appendToSuffix(java.lang.String s)
Object3dList
getAppear()
Object3dList
getDisappear()
int
getLastFrame()
java.lang.String
getPROTO(java.lang.String name)
Object3dList
getSelect()
Viewer
getViewer()
java.lang.String
getVRMLColor(int col)
java.lang.String
idVRML(int col)
void
putPROTO(java.lang.String name, java.lang.String body)
int
setDefaultColor(int col)
java.lang.String
toString()
java.lang.String
vrmlAllPROTOs()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
VRMLState
-
-
Method Details
-
getLastFrame
public int getLastFrame() -
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
-
getAppear
-
getDisappear
-
getSelect
-
addDisappear
-
addSelect
-
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 classjava.lang.Object
-