public abstract class NiftiPixelGenerator extends CompositePropertyBase implements Versioned
Modifier and Type | Class and Description |
---|---|
static class |
NiftiPixelGenerator.Format |
myProps
Constructor and Description |
---|
NiftiPixelGenerator() |
Modifier and Type | Method and Description |
---|---|
abstract NiftiPixelGenerator.Format |
getFormat() |
abstract void |
getPixels(NiftiDataBuffer buff,
int i,
int di,
int ni,
int j,
int dj,
int nj,
int k,
int dk,
int nk,
int t,
int scanline,
int pageline,
java.nio.ByteBuffer rgb)
Fills a byte buffer with pixels
|
static java.lang.Class<?>[] |
getSubClasses() |
static void |
registerSubclass(java.lang.Class<? extends NiftiPixelGenerator> cls) |
clone, getAllPropertyInfo, getProperty, getPropertyHost, getPropertyInfo, hasProperty, isWritable, scan, setPropertyHost, setPropertyInfo, write, writeItems
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVersion
public static void registerSubclass(java.lang.Class<? extends NiftiPixelGenerator> cls)
public static java.lang.Class<?>[] getSubClasses()
public abstract NiftiPixelGenerator.Format getFormat()
public abstract void getPixels(NiftiDataBuffer buff, int i, int di, int ni, int j, int dj, int nj, int k, int dk, int nk, int t, int scanline, int pageline, java.nio.ByteBuffer rgb)
i
- column indexdi
- column stepni
- number of columnsj
- row indexdj
- row stepnj
- number of rowsk
- slice indexdk
- slice stepnk
- number of slicest
- timescanline
- number of bytes per line (y-stride)pageline
- number of bytes per page (z-stride)rgb
- output buffer