All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.VrmlObject
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
- public abstract class VrmlObject
- extends VrmlObject
- implements Cloneable
JVerge
- Version:
- 0.8 (beta 4)
Copyright 1997
The Virtual Light Company
under the
GNU LGPL
The latest information and bugs in JVerge can be found at
http://www.vlc.com.au/JVerge
VRML base object definition for EAI based nodes
This class is subclassed from the Generic VrmlObject allowing complete
portability of code. This class extends the core functionality by adding
support for a Browser object reference.
- Author:
- Justin Couch justin@vlc.com.au
-
browser
- Static Browser reference that allows calling of default constructors
without the need to carry around separate references
-
have_browser
- If we have a browser reference (either static or dynamically set
this is true.
-
local_browser
- A copy of the reference to the browser that this class used when it
was created.
-
node
- The internal reference to the VRML representation of the node.
-
write_count
- this is limited in access only to classes of this package.
-
VrmlObject()
- The Basic protected constructor.
-
VrmlObject(Browser)
- Constructor to copy the nominated Browser reference into the local copy.
-
set_browser(Browser)
- Used to set the internal browser reference once.
-
writeReset()
- Used for maintaining the reference counting when trying to do DEF/USE in
the write to stream method.
have_browser
protected boolean have_browser
- If we have a browser reference (either static or dynamically set
this is true. Used by all get and set methods to determine if they
should also reference the in scene version or just local copies
browser
protected static Browser browser
- Static Browser reference that allows calling of default constructors
without the need to carry around separate references
- See Also:
- html
node
public Node node
- The internal reference to the VRML representation of the node. Left
public so you can use it to add your own ROUTEs between nodes.
write_count
public int write_count
- this is limited in access only to classes of this package. It is used
for maintaining the reference counting when trying to do DEF/USE in the
write to stream method.
Overrides the one provided in the base class
local_browser
protected Browser local_browser
- A copy of the reference to the browser that this class used when it
was created. This is needed for cloning so that the cloned object creates
the clone in the same browser environment that the original was created
in.
VrmlObject
protected VrmlObject()
- The Basic protected constructor. This is used to copy the static global
browser reference into the local one.
VrmlObject
protected VrmlObject(Browser browserUsed)
- Constructor to copy the nominated Browser reference into the local copy.
This should be called when the derived class constructor that takes a
Browser reference is called.
- Parameters:
- browserUsed - The browser to be used.
writeReset
public void writeReset()
- Used for maintaining the reference counting when trying to do DEF/USE in
the write to stream method.
- Overrides:
- writeReset in class VrmlObject
set_browser
public static void set_browser(Browser b)
- Used to set the internal browser reference once. Then allows you to call
the standard constructors without carrying around Browser references all
through your application
All Packages Class Hierarchy This Package Previous Next Index