edu.stanford.rsl.konrad.data
Class Grid1D
java.lang.Object
edu.stanford.rsl.konrad.data.Grid
edu.stanford.rsl.konrad.data.Grid1D
public class Grid1D
- extends Grid
Constructor Summary |
Grid1D(float[] buffer)
|
Grid1D(float[] buffer,
int[] border,
int innerDimension)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Grid1D
public Grid1D(float[] buffer)
Grid1D
public Grid1D(float[] buffer,
int[] border,
int innerDimension)
getBuffer
public float[] getBuffer()
indexToPhysical
public double indexToPhysical(double i)
physicalToIndex
public double physicalToIndex(double x)
getAtIndex
public float getAtIndex(int i)
getAtIndex
public float getAtIndex(int i,
int component)
addAtIndex
public void addAtIndex(int i,
float val)
addAtIndex
public void addAtIndex(int i,
int component,
float val)
setAtIndex
public void setAtIndex(int i,
float val)
setAtIndex
public void setAtIndex(int i,
int component,
float val)