| java.lang.Object com.sun.j3d.utils.geometry.StripifierStats
StripifierStats | public class StripifierStats (Code) | | This class collects statistics on the Stripifier. The statistics
are cumulative over all calls to stripify() until clearData() is called.
since: Java 3D 1.2.1 |
maxStripLen | int maxStripLen(Code) | | |
minStripLen | int minStripLen(Code) | | |
StripifierStats | StripifierStats()(Code) | | |
clearData | public void clearData()(Code) | | Clears the statistical data
|
getAvgNumVertsPerTri | public double getAvgNumVertsPerTri()(Code) | | Returns the average number of vertices per triangle in the stripified
data
since: Java 3D 1.2.1 |
getAvgStripLength | public double getAvgStripLength()(Code) | | Return the average length of the strips created by the stripifier
since: Java 3D 1.2.1 |
getMaxStripLength | public int getMaxStripLength()(Code) | | Returns the length in triangles of the longest strip
created by the stripifier.
since: Java 3D 1.2.1 |
getMinStripLength | public int getMinStripLength()(Code) | | Returns the length in triangles of the shortest strip
created by the stripifier.
since: Java 3D 1.2.1 |
getNumOrigTris | public int getNumOrigTris()(Code) | | Returns the number of triangles in the original, un-stripified data.
since: Java 3D 1.2.1 |
getNumOrigVerts | public int getNumOrigVerts()(Code) | | Returns the number of vertices in the original, un-stripified data
since: Java 3D 1.2.1 |
getNumStrips | public int getNumStrips()(Code) | | Returns the number of strips created by the stripifier.
since: Java 3D 1.2.1 |
getNumVerts | public int getNumVerts()(Code) | | Returns the number of vertices in the stripified data.
since: Java 3D 1.2.1 |
getStripLengthCounts | public int[] getStripLengthCounts()(Code) | | Returns an array of length 14 that contains the number of strips of
a given length created by the stripifier. Spots 0-8 of the array
represent lengths 1-9, 9 is lengths 10-19, 10 is lengths 20-49,
11 is lengths 50-99, 12 is lengths 100-999 and 13 is lengths 1000
or more.
since: Java 3D 1.2.1 |
getTotalTime | public long getTotalTime()(Code) | | Returns the total time spent in the stripify() method
since: Java 3D 1.2.1 |
getTotalTris | public int getTotalTris()(Code) | | Returns the number of triangles in the stripified data.
since: Java 3D 1.2.1 |
toString | public String toString()(Code) | | Returns a formated String that can be used to print out
the Stripifier stats.
since: Java 3D 1.2.1 |
updateInfo | void updateInfo(long ntime, ArrayList strips, int nNumFaces)(Code) | | |
updateInfo | void updateInfo(long ntime, int scLen, int sc, int nNumFaces)(Code) | | |
|
|