|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.traversal.impl.PolygonCounter
public final class PolygonCounter
Traverses the scenegraph and counts all polygons.
| Method Summary | |
|---|---|
static int |
getPolygonCount(GroupNode group)
Counts the number of vertices in the traversed Group. |
boolean |
traversalCheckGroup(GroupNode group)
This method is called for each Group in the traversal. |
boolean |
traversalOperation(Node node)
This method is called for each Node in the traversed Group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean traversalOperation(Node node)
TraversalCallback
traversalOperation in interface TraversalCallbacknode - the current Node in the traversal
public boolean traversalCheckGroup(GroupNode group)
TraversalCallback
traversalCheckGroup in interface TraversalCallbackgroup - the Group to be checked
public static int getPolygonCount(GroupNode group)
group - the group to search
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||