edu.umd.cs.piccolox.util
Class POcclusionDetection

java.lang.Object
  extended by edu.umd.cs.piccolox.util.POcclusionDetection

public class POcclusionDetection
extends java.lang.Object

Experimental class for detecting occlusions.

Author:
Jesse Grosjean

Constructor Summary
POcclusionDetection()
           
 
Method Summary
 void detectOcclusions(PNode n, PPickPath pickPath)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POcclusionDetection

public POcclusionDetection()
Method Detail

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 n,
                             PPickPath pickPath)


Copyright © 2008 by University of Maryland, College Park, MD 20742, USA All rights reserved.