edu.umd.cs.piccolox.util
Class POcclusionDetection
java.lang.Object
edu.umd.cs.piccolox.util.POcclusionDetection
public class POcclusionDetection
- extends java.lang.Object
Experimental class for detecting occlusions.
- Author:
- Jesse Grosjean
Method Summary |
void |
detectOcclusions(edu.umd.cs.piccolo.PNode node,
edu.umd.cs.piccolo.util.PPickPath pickPath)
|
void |
detectOccusions(edu.umd.cs.piccolo.PNode n,
edu.umd.cs.piccolo.util.PBounds parentBounds)
Traverse from the bottom right of the scene graph (top visible node) up
the tree determining which parent nodes are occluded by their children
nodes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POcclusionDetection
public POcclusionDetection()
detectOccusions
public void detectOccusions(edu.umd.cs.piccolo.PNode n,
edu.umd.cs.piccolo.util.PBounds parentBounds)
- Traverse from the bottom right of the scene graph (top visible node) up
the tree determining which parent nodes are occluded by their children
nodes. Note that this is only detecting a subset of occlusions (parent,
child), others such as overlapping siblings or cousins are not detected.
detectOcclusions
public void detectOcclusions(edu.umd.cs.piccolo.PNode node,
edu.umd.cs.piccolo.util.PPickPath pickPath)