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