org.reprap.geometry.polygons
Class AllSTLsToBuild.SliceCache
java.lang.Object
org.reprap.geometry.polygons.AllSTLsToBuild.SliceCache
- Enclosing class:
- AllSTLsToBuild
class AllSTLsToBuild.SliceCache
- extends java.lang.Object
Ring buffer cache to hold previously computed slices for doing
infill and support material calculations.
- Author:
- ensab
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sliceRing
private BooleanGridList[][] sliceRing
supportRing
private BooleanGridList[][] supportRing
layerNumber
private int[] layerNumber
ringPointer
private int ringPointer
noLayer
private final int noLayer
- See Also:
- Constant Field Values
ringSize
private final int ringSize
- See Also:
- Constant Field Values
AllSTLsToBuild.SliceCache
public AllSTLsToBuild.SliceCache()
getTheRingLocationForWrite
private int getTheRingLocationForWrite(int layer)
setSlice
public void setSlice(BooleanGridList slice,
int layer,
int stl)
setSupport
public void setSupport(BooleanGridList support,
int layer,
int stl)
getTheRingLocationForRead
private int getTheRingLocationForRead(int layer)
getSlice
public BooleanGridList getSlice(int layer,
int stl)
getSupport
public BooleanGridList getSupport(int layer,
int stl)