abstract class BHNode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static byte |
BH_TYPE_INTERNAL |
(package private) static byte |
BH_TYPE_LEAF |
(package private) BoundingBox |
bHull |
(package private) static boolean |
debug |
(package private) static boolean |
debug2 |
(package private) boolean |
mark |
(package private) byte |
nodeType |
(package private) static int |
NUMBER_OF_PLANES |
(package private) BHNode |
parent |
| Constructor and Description |
|---|
BHNode() |
BHNode(BHNode parent) |
BHNode(BHNode parent,
BoundingBox bHull) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
combineBHull(BHNode node1,
BHNode node2) |
(package private) float |
computeAverageLeafDepth(int numberOfLeaves,
int currentDepth) |
(package private) abstract void |
computeBoundingHull() |
(package private) int |
computeMaxDepth(int currentDepth) |
(package private) int |
computeSumOfDepths(int currentDepth) |
(package private) int |
countNumberOfInternals() |
(package private) int |
countNumberOfLeaves() |
(package private) BHNode |
deleteAndUpdateMarkedNodes() |
(package private) void |
deleteFromParent() |
(package private) abstract void |
destroyTree(BHNode[] bhArr,
int[] index) |
(package private) BHNode |
findNode(BHNode node) |
(package private) BoundingBox |
getBoundingHull() |
(package private) BHNode |
getParent() |
(package private) boolean |
isInside(BoundingBox bHull) |
(package private) void |
setBoundingHull(BoundingBox bHull) |
(package private) void |
setParent(BHNode node) |
(package private) abstract void |
updateMarkedBoundingHull() |
static final byte BH_TYPE_INTERNAL
static final byte BH_TYPE_LEAF
static final int NUMBER_OF_PLANES
static final boolean debug
static final boolean debug2
BHNode parent
byte nodeType
BoundingBox bHull
boolean mark
BHNode()
BHNode(BHNode parent)
BHNode(BHNode parent, BoundingBox bHull)
BHNode getParent()
abstract void computeBoundingHull()
abstract void updateMarkedBoundingHull()
abstract void destroyTree(BHNode[] bhArr, int[] index)
void setParent(BHNode node)
BoundingBox getBoundingHull()
void setBoundingHull(BoundingBox bHull)
boolean isInside(BoundingBox bHull)
void deleteFromParent()
BHNode deleteAndUpdateMarkedNodes()
int countNumberOfInternals()
int countNumberOfLeaves()
int computeMaxDepth(int currentDepth)
float computeAverageLeafDepth(int numberOfLeaves,
int currentDepth)
int computeSumOfDepths(int currentDepth)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.