de.jreality.util
Class PickUtility
java.lang.Object
de.jreality.util.PickUtility
public class PickUtility
- extends java.lang.Object
Field Summary |
static java.lang.String |
AABB_TREE
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AABB_TREE
public static java.lang.String AABB_TREE
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