javax.media.j3d
Class BHNode
java.lang.Object
javax.media.j3d.BHNode
- Direct Known Subclasses:
- BHInternalNode, BHLeafNode
abstract class BHNode
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BH_TYPE_INTERNAL
static final byte BH_TYPE_INTERNAL
- See Also:
- Constant Field Values
BH_TYPE_LEAF
static final byte BH_TYPE_LEAF
- See Also:
- Constant Field Values
NUMBER_OF_PLANES
static final int NUMBER_OF_PLANES
- See Also:
- Constant Field Values
debug
static final boolean debug
- See Also:
- Constant Field Values
debug2
static final boolean debug2
- See Also:
- Constant Field Values
parent
BHNode parent
nodeType
byte nodeType
bHull
BoundingBox bHull
mark
boolean mark
BHNode
BHNode()
BHNode
BHNode(BHNode parent)
BHNode
BHNode(BHNode parent,
BoundingBox bHull)
getParent
BHNode getParent()
computeBoundingHull
abstract void computeBoundingHull()
updateMarkedBoundingHull
abstract void updateMarkedBoundingHull()
destroyTree
abstract void destroyTree(BHNode[] bhArr,
int[] index)
setParent
void setParent(BHNode node)
getBoundingHull
BoundingBox getBoundingHull()
setBoundingHull
void setBoundingHull(BoundingBox bHull)
combineBHull
void combineBHull(BHNode node1,
BHNode node2)
isInside
boolean isInside(BoundingBox bHull)
findNode
BHNode findNode(BHNode node)
deleteFromParent
void deleteFromParent()
deleteAndUpdateMarkedNodes
BHNode deleteAndUpdateMarkedNodes()
countNumberOfInternals
int countNumberOfInternals()
countNumberOfLeaves
int countNumberOfLeaves()
computeMaxDepth
int computeMaxDepth(int currentDepth)
computeAverageLeafDepth
float computeAverageLeafDepth(int numberOfLeaves,
int currentDepth)
computeSumOfDepths
int computeSumOfDepths(int currentDepth)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.