ij3d.geom
Class Pixel3D

java.lang.Object
  extended by ij3d.geom.Point3D
      extended by ij3d.geom.Pixel3D

public class Pixel3D
extends Point3D

Description of the Class

Author:
cedric

Constructor Summary
Pixel3D()
          constructeurs
Pixel3D(double x, double y, double z, double val)
           
Pixel3D(int x, int y, int z, double val)
          Constructor for the Pixel3D object
Pixel3D(int x, int y, int z, float val)
          constructeurs
 
Method Summary
 double dist(Pixel3D autre)
          Description of the Method
 double getValue()
          Gets the value attribute of the Pixel3D object
 void setPixel(int x, int y, int z, double value)
          Sets the pixel attribute of the Pixel3D object
 void setPixel(int x, int y, int z, float value)
          Sets the pixel attribute of the Pixel3D object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class ij3d.geom.Point3D
distance, distanceSquare, getPosition, getVector3D, getX, getY, getZ, setX, setY, setZ, translate, xmlWrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pixel3D

public Pixel3D()
constructeurs


Pixel3D

public Pixel3D(int x,
               int y,
               int z,
               float val)
constructeurs

Parameters:
x - Description of the Parameter
y - Description of the Parameter
z - Description of the Parameter
val -

Pixel3D

public Pixel3D(int x,
               int y,
               int z,
               double val)
Constructor for the Pixel3D object

Parameters:
x - Description of the Parameter
y - Description of the Parameter
z - Description of the Parameter
val -

Pixel3D

public Pixel3D(double x,
               double y,
               double z,
               double val)
Parameters:
x -
y -
z -
val -
Method Detail

setPixel

public void setPixel(int x,
                     int y,
                     int z,
                     float value)
Sets the pixel attribute of the Pixel3D object

Parameters:
x - The new pixel value
y - The new pixel value
z - The new pixel value
value - The new pixel value

setPixel

public void setPixel(int x,
                     int y,
                     int z,
                     double value)
Sets the pixel attribute of the Pixel3D object

Parameters:
x - The new pixel value
y - The new pixel value
z - The new pixel value
value - The new pixel value

getValue

public double getValue()
Gets the value attribute of the Pixel3D object

Returns:
The value value

toString

public java.lang.String toString()
Description copied from class: Point3D
Description of the Method

Overrides:
toString in class Point3D
Returns:
Description of the Return Value

dist

public double dist(Pixel3D autre)
Description of the Method

Parameters:
autre - Description of the Parameter
Returns:
Description of the Return Value