All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.generic.geometry.GroupingNode
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.generic.geometry.ChildrenNode
|
+----vlc.vrml.generic.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
-
_bboxCenter
-
-
_bboxSize
-
-
_children
-
-
num_children
-
-
GroupingNode()
-
-
addChildren(ChildrenNode[])
- Add the list of children to this node.
-
clone()
- Return a deep clone of this object
-
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.
num_children
protected int num_children
_children
protected DeepCloneVector _children
_bboxCenter
protected float _bboxCenter[]
_bboxSize
protected float _bboxSize[]
GroupingNode
public GroupingNode()
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
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
clone
public Object clone()
- Return a deep clone of this object
- Returns:
- A clone of this object and its children
- Overrides:
- clone in class VrmlObject
All Packages Class Hierarchy This Package Previous Next Index