public class Voxel3D extends Point3D implements java.lang.Comparable<Voxel3D>
| Modifier and Type | Field and Description |
|---|---|
double |
value
Description of the Field
|
| Constructor and Description |
|---|
Voxel3D()
constructeurs
|
Voxel3D(double x,
double y,
double z,
double val) |
Voxel3D(int x,
int y,
int z,
double val)
Constructor for the Voxel3D object
|
Voxel3D(int x,
int y,
int z,
float val)
constructeurs
|
Voxel3D(Point3f P,
double val) |
Voxel3D(Voxel3D vox) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Voxel3D v) |
boolean |
equals(java.lang.Object o) |
double |
getValue()
Gets the value attribute of the Voxel3D object
|
int |
getXYCoord(int sizeX) |
int |
hashCode() |
void |
setValue(double val) |
void |
setVoxel(double x,
double y,
double z,
double value) |
void |
setVoxel(int x,
int y,
int z,
double value)
Sets the pixel attribute of the Voxel3D object
|
void |
setVoxel(int x,
int y,
int z,
float value)
Sets the pixel attribute of the Voxel3D object
|
java.lang.String |
toString()
Description of the Method
|
distance, distance, distanceSquare, distanceSquare, distBlock, getArray, getPoint3f, getPosition, getRoundX, getRoundY, getRoundZ, getVector3D, getX, getY, getZ, isInsideBoundingBox, projectionPlane, samePosition, samePosition, sameVoxel, sameVoxel, scale, setCoordRandom, setX, setY, setZ, translate, translate, xmlWritepublic Voxel3D()
public Voxel3D(int x,
int y,
int z,
float val)
x - Description of the Parametery - Description of the Parameterz - Description of the Parameterval - public Voxel3D(int x,
int y,
int z,
double val)
x - Description of the Parametery - Description of the Parameterz - Description of the Parameterval - public Voxel3D(double x,
double y,
double z,
double val)
x - y - z - val - public Voxel3D(Voxel3D vox)
vox - public Voxel3D(Point3f P,
double val)
P - val - public void setVoxel(int x,
int y,
int z,
float value)
x - The new pixel valuey - The new pixel valuez - The new pixel valuevalue - The new pixel valuepublic void setVoxel(int x,
int y,
int z,
double value)
x - The new pixel valuey - The new pixel valuez - The new pixel valuevalue - The new pixel valuepublic void setVoxel(double x,
double y,
double z,
double value)
public double getValue()
public java.lang.String toString()
Point3Dpublic void setValue(double val)
val - public int getXYCoord(int sizeX)