de.jreality.util
Class PickUtility

java.lang.Object
  extended by de.jreality.util.PickUtility

public class PickUtility
extends java.lang.Object


Field Summary
static java.lang.String AABB_TREE
           
 
Method Summary
static void assignFaceAABBTree(IndexedFaceSet ifs)
           
static void assignFaceAABBTree(IndexedFaceSet ifs, int maxTrianglesPerBox)
           
static void assignFaceAABBTrees(SceneGraphComponent comp)
           
static void assignFaceAABBTrees(SceneGraphComponent comp, int maxTrianglesPerBox)
           
static void clearPickableAttributes(SceneGraphComponent cmp)
          recursively clears all pickable appearance attributes
static void setPickable(Geometry g, boolean pickable)
           
static void setPickable(SceneGraphComponent cmp, boolean pickable)
          Deprecated. Use SceneGraphComponent.setPickable(boolean).
static void setPickable(SceneGraphComponent cmp, boolean pickPoints, boolean pickEdges, boolean pickFaces)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AABB_TREE

public static java.lang.String AABB_TREE
Method Detail

assignFaceAABBTree

public static void assignFaceAABBTree(IndexedFaceSet ifs)

assignFaceAABBTree

public static void assignFaceAABBTree(IndexedFaceSet ifs,
                                      int maxTrianglesPerBox)

assignFaceAABBTrees

public static void assignFaceAABBTrees(SceneGraphComponent comp)

assignFaceAABBTrees

public static void assignFaceAABBTrees(SceneGraphComponent comp,
                                       int maxTrianglesPerBox)

setPickable

public static void setPickable(SceneGraphComponent cmp,
                               boolean pickable)
Deprecated. Use SceneGraphComponent.setPickable(boolean).

Setting this will abort all picking for this scene graph. If this isn't desired, use setPickable(SceneGraphComponent, boolean, boolean, boolean).

Parameters:
cmp -
pickable -

setPickable

public static void setPickable(SceneGraphComponent cmp,
                               boolean pickPoints,
                               boolean pickEdges,
                               boolean pickFaces)

setPickable

public static void setPickable(Geometry g,
                               boolean pickable)

clearPickableAttributes

public static void clearPickableAttributes(SceneGraphComponent cmp)
recursively clears all pickable appearance attributes