All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.GroupingNode
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.ChildrenNode
|
+----vlc.vrml.external.geometry.GroupingNode
- public abstract class GroupingNode
- extends ChildrenNode
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
For definition of the Anchor node please see the
VRML 97 Anchor specification
GroupingNode abstract class. Base class for all the Grouping Nodes and
SpecialGroups
- Author:
- Justin Couch justin@vlc.com.au
-
_addChildren
-
-
_bboxCenter
-
-
_bboxSize
-
-
_children
-
-
_removeChildren
-
-
_set_children
-
-
num_children
-
-
GroupingNode()
- Default constructor implementation
-
GroupingNode(Browser)
- Constructor to pass the browser reference down to the base class
-
addChildren(ChildrenNode[])
- Add the list of children to this node.
-
get_bboxCenter()
- Get the bounding box center position.
-
get_bboxSize()
- Get the bounding box size position.
-
get_children()
- Get the current children
-
removeChildren(ChildrenNode[])
- Remove the list of children to this node.
-
set_children(ChildrenNode[])
- Set the children field.
-
writeReset()
- Used for maintaining the reference counting when trying to do DEF/USE in
the write to stream method.
_addChildren
protected EventInMFNode _addChildren
_removeChildren
protected EventInMFNode _removeChildren
_set_children
protected EventInMFNode _set_children
num_children
protected int num_children
_children
protected Vector _children
_bboxCenter
protected float _bboxCenter[]
_bboxSize
protected float _bboxSize[]
GroupingNode
protected GroupingNode()
- Default constructor implementation
GroupingNode
protected GroupingNode(Browser b)
- Constructor to pass the browser reference down to the base class
- Parameters:
- b - The browser reference to be passed on
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
addChildren
public void addChildren(ChildrenNode child_list[])
- Add the list of children to this node.
- Parameters:
- child_list - The children to add.
removeChildren
public void removeChildren(ChildrenNode child_list[])
- Remove the list of children to this node.
- Parameters:
- child_list - The children to remove.
set_children
public void set_children(ChildrenNode child_list[])
- Set the children field. This automatically deletes the previously
set children and makes sure they are cleaned up properly.
- Parameters:
- child_list - The new children to set.
get_children
public ChildrenNode[] get_children()
- Get the current children
- Returns:
- The list of currently set children.
get_bboxCenter
public float[] get_bboxCenter()
- Get the bounding box center position.
- Returns:
- The center postion where
return[0] = x, return[1] = y, return[2] = z
get_bboxSize
public float[] get_bboxSize()
- Get the bounding box size position.
- Returns:
- The size where
return[0] = x, return[1] = y, return[2] = z
All Packages Class Hierarchy This Package Previous Next Index