|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.j3d.utils.geometry.StripifierStats
This class collects statistics on the Stripifier. The statistics are cumulative over all calls to stripify() until clearData() is called.
Method Summary | |
void |
clearData()
Clears the statistical data |
double |
getAvgNumVertsPerTri()
Returns the average number of vertices per triangle in the stripified data |
double |
getAvgStripLength()
Return the average length of the strips created by the stripifier |
int |
getMaxStripLength()
Returns the length in triangles of the longest strip created by the stripifier. |
int |
getMinStripLength()
Returns the length in triangles of the shortest strip created by the stripifier. |
int |
getNumOrigTris()
Returns the number of triangles in the original, un-stripified data. |
int |
getNumOrigVerts()
Returns the number of vertices in the original, un-stripified data |
int |
getNumStrips()
Returns the number of strips created by the stripifier. |
int |
getNumVerts()
Returns the number of vertices in the stripified data. |
int[] |
getStripLengthCounts()
Returns an array of length 14 that contains the number of strips of a given length created by the stripifier. |
long |
getTotalTime()
Returns the total time spent in the stripify() method |
int |
getTotalTris()
Returns the number of triangles in the stripified data. |
java.lang.String |
toString()
Returns a formated String that can be used to print out the Stripifier stats. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public int getNumOrigTris()
public int getNumOrigVerts()
public int getNumStrips()
public int getNumVerts()
public int getTotalTris()
public int getMinStripLength()
public int getMaxStripLength()
public double getAvgStripLength()
public double getAvgNumVertsPerTri()
public long getTotalTime()
public int[] getStripLengthCounts()
public java.lang.String toString()
toString
in class java.lang.Object
public void clearData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |