org.jmol.util
Class TempArray
java.lang.Object
org.jmol.util.TempArray
public class TempArray
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
freePointsSize
private static final int freePointsSize
- See Also:
- Constant Field Values
lengthsFreePoints
private final int[] lengthsFreePoints
freePoints
private final javax.vecmath.Point3f[][] freePoints
freeScreensSize
private static final int freeScreensSize
- See Also:
- Constant Field Values
lengthsFreeScreens
private final int[] lengthsFreeScreens
freeScreens
private final javax.vecmath.Point3i[][] freeScreens
freeBytesSize
private static final int freeBytesSize
- See Also:
- Constant Field Values
lengthsFreeBytes
private final int[] lengthsFreeBytes
freeBytes
private final byte[][] freeBytes
TempArray
public TempArray()
clear
public void clear()
findBestFit
private static int findBestFit(int size,
int[] lengths)
findShorter
private static int findShorter(int size,
int[] lengths)
clearTempPoints
private void clearTempPoints()
allocTempPoints
public javax.vecmath.Point3f[] allocTempPoints(int size)
freeTempPoints
public void freeTempPoints(javax.vecmath.Point3f[] tempPoints)
clearTempScreens
private void clearTempScreens()
allocTempScreens
public javax.vecmath.Point3i[] allocTempScreens(int size)
freeTempScreens
public void freeTempScreens(javax.vecmath.Point3i[] tempScreens)
allocTempBytes
public byte[] allocTempBytes(int size)
freeTempBytes
public void freeTempBytes(byte[] tempBytes)