Public Member Functions | |
SliceWriter (final String filename, int width, int height, int depth, int cacheSize) | |
synchronized void | putSlice (short[] data, int pos) |
synchronized void | updateCache () |
synchronized void | flush () |
synchronized void | close () |
Static Public Member Functions | |
static void | main (String[] args) |
A writable version of SliceReader
Definition at line 12 of file SliceWriter.java.
theba.core.io.SliceWriter.SliceWriter | ( | final String | filename, | |
int | width, | |||
int | height, | |||
int | depth, | |||
int | cacheSize | |||
) |
Definition at line 14 of file SliceWriter.java.
References theba.core.io.SliceReader.file.
Referenced by theba.core.io.SliceWriter.main().
synchronized void theba.core.io.SliceWriter.close | ( | ) |
Reimplemented from theba.core.io.SliceReader.
Reimplemented in theba.core.io.SliceWriterCached.
Definition at line 103 of file SliceWriter.java.
References theba.core.io.SliceReader.file.
synchronized void theba.core.io.SliceWriter.flush | ( | ) |
Reimplemented from theba.core.io.SliceReader.
Reimplemented in theba.core.io.SliceWriterCached.
Definition at line 83 of file SliceWriter.java.
References theba.core.io.SliceReader.cache, theba.core.io.SliceReader.file, theba.core.io.SliceReader.preallocatedDataArrays, and theba.core.io.SliceReader.queue.
Referenced by theba.core.io.SliceWriter.main(), theba.trackers.HHTracker.traceWalls(), and theba.trackers.BackTracker.traceWalls().
static void theba.core.io.SliceWriter.main | ( | String[] | args | ) | [static] |
synchronized void theba.core.io.SliceWriter.putSlice | ( | short[] | data, | |
int | pos | |||
) |
Reimplemented from theba.core.io.SliceReader.
Reimplemented in theba.core.io.SliceWriterCached.
Definition at line 27 of file SliceWriter.java.
References theba.core.io.SliceReader.getSlice().
Referenced by theba.core.io.SliceWriter.main(), theba.trackers.HHTracker.traceWalls(), and theba.trackers.BackTracker.traceWalls().
synchronized void theba.core.io.SliceWriter.updateCache | ( | ) |
Reimplemented from theba.core.io.SliceReader.
Reimplemented in theba.core.io.SliceWriterCached.
Definition at line 63 of file SliceWriter.java.
References theba.core.io.SliceReader.cache, theba.core.io.SliceReader.cacheSize, theba.core.io.SliceReader.file, theba.core.io.SliceReader.preallocatedDataArrays, and theba.core.io.SliceReader.queue.