mpi.fruitfly.math.datastructures
Class FloatArray3D

java.lang.Object
  extended by mpi.fruitfly.math.datastructures.FloatArray
      extended by mpi.fruitfly.math.datastructures.FloatArray3D

public class FloatArray3D
extends FloatArray

Title: FloatArray3D

Description:

Copyright: Copyright (c) 2007

Company:

License: GPL This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Field Summary
 int depth
           
 int height
           
 int width
           
 
Fields inherited from class mpi.fruitfly.math.datastructures.FloatArray
data
 
Constructor Summary
FloatArray3D(float[] data, int width, int height, int depth)
           
FloatArray3D(int width, int height, int depth)
           
 
Method Summary
 FloatArray3D clone()
           
 float get(int x, int y, int z)
           
 float getMirror(int x, int y, int z)
           
 int getPos(int x, int y, int z)
           
 float[][] getXPlane_float(int x)
           
 FloatArray2D getXPlane(int x)
           
 float[][] getYPlane_float(int y)
           
 FloatArray2D getYPlane(int y)
           
 float[][] getZPlane_float(int z)
           
 FloatArray2D getZPlane(int z)
           
 void set(float value, int x, int y, int z)
           
 void setXPlane(float[][] plane, int x)
           
 void setXPlane(FloatArray2D plane, int x)
           
 void setYPlane(float[][] plane, int y)
           
 void setYPlane(FloatArray2D plane, int y)
           
 void setZPlane(float[][] plane, int z)
           
 void setZPlane(FloatArray2D plane, int z)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

public final int width

height

public final int height

depth

public final int depth
Constructor Detail

FloatArray3D

public FloatArray3D(float[] data,
                    int width,
                    int height,
                    int depth)

FloatArray3D

public FloatArray3D(int width,
                    int height,
                    int depth)
Method Detail

clone

public FloatArray3D clone()
Specified by:
clone in class FloatArray

getPos

public final int getPos(int x,
                        int y,
                        int z)

get

public final float get(int x,
                       int y,
                       int z)

getMirror

public final float getMirror(int x,
                             int y,
                             int z)

set

public final void set(float value,
                      int x,
                      int y,
                      int z)

getXPlane

public final FloatArray2D getXPlane(int x)

getXPlane_float

public final float[][] getXPlane_float(int x)

getYPlane

public final FloatArray2D getYPlane(int y)

getYPlane_float

public final float[][] getYPlane_float(int y)

getZPlane

public final FloatArray2D getZPlane(int z)

getZPlane_float

public final float[][] getZPlane_float(int z)

setXPlane

public final void setXPlane(FloatArray2D plane,
                            int x)

setXPlane

public final void setXPlane(float[][] plane,
                            int x)

setYPlane

public final void setYPlane(FloatArray2D plane,
                            int y)

setYPlane

public final void setYPlane(float[][] plane,
                            int y)

setZPlane

public final void setZPlane(FloatArray2D plane,
                            int z)

setZPlane

public final void setZPlane(float[][] plane,
                            int z)