edu.stanford.rsl.konrad.data
Class Grid1D

java.lang.Object
  extended by edu.stanford.rsl.konrad.data.Grid
      extended by edu.stanford.rsl.konrad.data.Grid1D

public class Grid1D
extends Grid


Constructor Summary
Grid1D(float[] buffer)
           
Grid1D(float[] buffer, int[] border, int innerDimension)
           
 
Method Summary
 void addAtIndex(int i, float val)
           
 void addAtIndex(int i, int component, float val)
           
 float getAtIndex(int i)
           
 float getAtIndex(int i, int component)
           
 float[] getBuffer()
           
 double indexToPhysical(double i)
           
 double physicalToIndex(double x)
           
 void setAtIndex(int i, float val)
           
 void setAtIndex(int i, int component, float val)
           
 
Methods inherited from class edu.stanford.rsl.konrad.data.Grid
getBoundary, getOrigin, getSize, getSpacing, setOrigin, setSpacing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grid1D

public Grid1D(float[] buffer)

Grid1D

public Grid1D(float[] buffer,
              int[] border,
              int innerDimension)
Method Detail

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)