home *** CD-ROM | disk | FTP | other *** search
/ Late Night VRML 2.0 with Java CD-ROM / code.zip / Ch12 / geometry / VrmlObject.bak < prev    next >
Text File  |  1997-01-04  |  494b  |  29 lines

  1. // VRML Generator
  2. // Copyright Justin Couch 1996
  3. //
  4. // From Chapter 13 Late Night VRML 2.0 and Java
  5. //
  6. // VRML base object definition
  7.  
  8. package geometry;
  9.  
  10. import java.lang.Cloneable;
  11. import java.io.PrintStream;
  12. import vrml.external.Node;
  13.  
  14. public abstract class VrmlObject implements Cloneable
  15. {
  16.     protected boolean have_browser = false;
  17.  
  18.     public String name;
  19.     public Node   node;
  20.  
  21.     public abstract void writeToFile(PrintStream fp, int indent);
  22.  
  23.     public String toString()
  24.     {
  25.         return(name);
  26.     }
  27. }
  28.  
  29.