javax.media.j3d
Class BHInternalNode

java.lang.Object
  extended by javax.media.j3d.BHNode
      extended by javax.media.j3d.BHInternalNode

 class BHInternalNode
extends BHNode


Field Summary
(package private) static boolean debug2
           
(package private)  BHNode lChild
           
(package private)  BHNode rChild
           
 
Fields inherited from class javax.media.j3d.BHNode
BH_TYPE_INTERNAL, BH_TYPE_LEAF, bHull, debug, mark, nodeType, NUMBER_OF_PLANES, parent
 
Constructor Summary
BHInternalNode()
           
BHInternalNode(BHNode parent)
           
BHInternalNode(BHNode parent, BHNode rChild, BHNode lChild)
           
BHInternalNode(BHNode parent, BHNode rChild, BHNode lChild, BoundingBox bHull)
           
BHInternalNode(BHNode parent, BoundingBox bHull)
           
 
Method Summary
(package private)  void computeBoundingHull()
           
(package private)  void computeBoundingHull(BoundingBox bHull)
           
(package private)  void destroyTree(BHNode[] bhArr, int[] index)
           
(package private)  BHNode getLeftChild()
           
(package private)  BHNode getRightChild()
           
(package private)  void insert(BHNode node, BHInsertStructure insertStructure)
           
(package private)  void setLeftChild(BHNode child)
           
(package private)  void setRightChild(BHNode child)
           
(package private)  void updateMarkedBoundingHull()
           
 
Methods inherited from class javax.media.j3d.BHNode
combineBHull, computeAverageLeafDepth, computeMaxDepth, computeSumOfDepths, countNumberOfInternals, countNumberOfLeaves, deleteAndUpdateMarkedNodes, deleteFromParent, findNode, getBoundingHull, getParent, isInside, setBoundingHull, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug2

static boolean debug2

rChild

BHNode rChild

lChild

BHNode lChild
Constructor Detail

BHInternalNode

BHInternalNode()

BHInternalNode

BHInternalNode(BHNode parent)

BHInternalNode

BHInternalNode(BHNode parent,
               BHNode rChild,
               BHNode lChild)

BHInternalNode

BHInternalNode(BHNode parent,
               BoundingBox bHull)

BHInternalNode

BHInternalNode(BHNode parent,
               BHNode rChild,
               BHNode lChild,
               BoundingBox bHull)
Method Detail

getLeftChild

BHNode getLeftChild()

getRightChild

BHNode getRightChild()

setLeftChild

void setLeftChild(BHNode child)

setRightChild

void setRightChild(BHNode child)

computeBoundingHull

void computeBoundingHull(BoundingBox bHull)

computeBoundingHull

void computeBoundingHull()
Specified by:
computeBoundingHull in class BHNode

updateMarkedBoundingHull

void updateMarkedBoundingHull()
Specified by:
updateMarkedBoundingHull in class BHNode

insert

void insert(BHNode node,
            BHInsertStructure insertStructure)

destroyTree

void destroyTree(BHNode[] bhArr,
                 int[] index)
Specified by:
destroyTree in class BHNode


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.