edu.umd.cs.piccolox.util
Class POcclusionDetection
java.lang.Object
edu.umd.cs.piccolox.util.POcclusionDetection
public class POcclusionDetection
- extends Object
Experimental class for detecting occlusions.
- Author:
- Jesse Grosjean
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(PNode n,
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(PNode node,
PPickPath pickPath)
Copyright © 1995-2011 Piccolo2D. All Rights Reserved.