class BHTree
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
DEPTH_UPPER_BOUND |
(package private) int |
depthUpperBound |
(package private) int |
estMaxDepth |
(package private) static int |
INCR_DEPTH_BOUND |
private BHInsertStructure |
insertStructure |
(package private) Locale |
locale |
(package private) static double |
LOG_OF_2 |
private BHNode |
root |
private boolean |
stable |
(package private) Point4d |
tPoint4d |
| Constructor and Description |
|---|
BHTree() |
BHTree(BHNode[] bhArr) |
BHTree(Locale loc) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static boolean |
aEncompassB(BoundingBox aBox,
BoundingBox bBox) |
(package private) void |
boundsChanged(BHNode[] bhArr,
int size) |
(package private) void |
cluster(BHInternalNode root,
BHNode[] bhArr) |
(package private) float[][] |
computeCenterValues(BHNode[] bhArr,
int[] cIndex) |
(package private) void |
computeMeansAndSumSquares(float[][] centerValues,
int[] centerValuesIndex,
float[] means,
float[] ss) |
(package private) void |
constructTree(BHInternalNode parent,
BHNode[] bhArr,
float[][] centerValues,
int[] centerValuesIndex) |
private void |
create(BHNode[] bhArr) |
(package private) void |
delete(BHNode[] bhArr,
int size) |
private void |
doSelect(PickShape pickShape,
UnorderList hitArrList,
BHNode bh,
Point4d pickPos) |
private BHNode |
doSelectAny(Bounds bound,
BHNode bh,
int accurancyMode,
GroupRetained armingGroup) |
private BHNode |
doSelectAny(Bounds bound,
BHNode bh,
int accurancyMode,
NodeRetained armingNode) |
private BHNode |
doSelectAny(GeometryAtom[] atoms,
int atomSize,
BHNode bh,
int accurancyMode) |
private BHNode |
doSelectAny(GeometryAtom atom,
BHNode bh,
int accurancyMode) |
private BHNode |
doSelectAny(PickShape pickShape,
BHNode bh,
Point4d pickPos) |
(package private) int |
findSplitAxis(float[] ss) |
(package private) void |
gatherTreeStatistics() |
(package private) Locale |
getLocale() |
(package private) boolean |
getVisibleBHTrees(RenderBin rBin,
java.util.ArrayList bhTrees,
BoundingBox frustumBBox,
long referenceTime,
boolean stateChanged,
int visibilityPolicy,
boolean singleLocale) |
(package private) void |
insert(BHNode[] bhArr,
int size) |
private boolean |
isDescendent(NodeRetained node,
GroupRetained group,
HashKey key) |
private void |
markParentChain(BHNode node) |
private void |
markParentChain(BHNode[] nArr,
int size) |
(package private) void |
printTree(BHNode bh) |
(package private) void |
reConstructTree(int numOfLeaf) |
(package private) void |
select(PickShape pickShape,
UnorderList hitArrList) |
private void |
select(RenderBin rBin,
java.util.ArrayList bhTrees,
BoundingBox frustumBBox,
BHNode bh,
long referenceTime,
int visibilityPolicy,
boolean inSide) |
(package private) BHLeafInterface |
selectAny(Bounds bound,
int accurancyMode,
GroupRetained armingGroup) |
(package private) BHLeafInterface |
selectAny(Bounds bound,
int accurancyMode,
NodeRetained armingNode) |
(package private) BHLeafInterface |
selectAny(GeometryAtom[] atoms,
int size,
int accurancyMode) |
(package private) BHLeafInterface |
selectAny(GeometryAtom atom,
int accurancyMode) |
(package private) BHNode |
selectAny(PickShape pickShape) |
(package private) void |
setLocale(Locale loc) |
Locale locale
private BHNode root
private BHInsertStructure insertStructure
Point4d tPoint4d
private boolean stable
int estMaxDepth
static final double LOG_OF_2
static final int DEPTH_UPPER_BOUND
static final int INCR_DEPTH_BOUND
int depthUpperBound
void setLocale(Locale loc)
Locale getLocale()
void cluster(BHInternalNode root, BHNode[] bhArr)
void boundsChanged(BHNode[] bhArr, int size)
boolean getVisibleBHTrees(RenderBin rBin, java.util.ArrayList bhTrees, BoundingBox frustumBBox, long referenceTime, boolean stateChanged, int visibilityPolicy, boolean singleLocale)
private void select(RenderBin rBin, java.util.ArrayList bhTrees, BoundingBox frustumBBox, BHNode bh, long referenceTime, int visibilityPolicy, boolean inSide)
static boolean aEncompassB(BoundingBox aBox, BoundingBox bBox)
BHLeafInterface selectAny(GeometryAtom atom, int accurancyMode)
BHLeafInterface selectAny(GeometryAtom[] atoms, int size, int accurancyMode)
private BHNode doSelectAny(GeometryAtom[] atoms, int atomSize, BHNode bh, int accurancyMode)
private BHNode doSelectAny(GeometryAtom atom, BHNode bh, int accurancyMode)
BHLeafInterface selectAny(Bounds bound, int accurancyMode, NodeRetained armingNode)
private BHNode doSelectAny(Bounds bound, BHNode bh, int accurancyMode, NodeRetained armingNode)
BHLeafInterface selectAny(Bounds bound, int accurancyMode, GroupRetained armingGroup)
private BHNode doSelectAny(Bounds bound, BHNode bh, int accurancyMode, GroupRetained armingGroup)
private boolean isDescendent(NodeRetained node, GroupRetained group, HashKey key)
void select(PickShape pickShape, UnorderList hitArrList)
private void doSelect(PickShape pickShape, UnorderList hitArrList, BHNode bh, Point4d pickPos)
private void create(BHNode[] bhArr)
void insert(BHNode[] bhArr, int size)
private void markParentChain(BHNode[] nArr, int size)
private void markParentChain(BHNode node)
void delete(BHNode[] bhArr, int size)
float[][] computeCenterValues(BHNode[] bhArr, int[] cIndex)
void computeMeansAndSumSquares(float[][] centerValues,
int[] centerValuesIndex,
float[] means,
float[] ss)
int findSplitAxis(float[] ss)
void constructTree(BHInternalNode parent, BHNode[] bhArr, float[][] centerValues, int[] centerValuesIndex)
void reConstructTree(int numOfLeaf)
void gatherTreeStatistics()
void printTree(BHNode bh)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.