|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij3d.geom.Point3D
ij3d.geom.ColorPoint3D
public class ColorPoint3D
Description of the Class
Constructor Summary | |
---|---|
ColorPoint3D(float x,
float y,
float z,
float R,
float G,
float B)
Constructor for the Point3D object |
Method Summary | |
---|---|
double |
dist(Pixel3D autre)
Description of the Method |
double |
distance(Point3D other)
Description of the Method |
double |
distanceSquare(Point3D other)
Description of the Method |
float |
getB()
Gets the b attribute of the Point3D object |
float |
getG()
Gets the g attribute of the Point3D object |
Point3D |
getPosition()
Gets the position attribute of the Point3D object |
float |
getR()
Gets the r attribute of the Point3D object |
Vector3D |
getVector3D()
Gets the vector3D attribute of the Point3D object |
double |
getX()
Get the value of x |
double |
getY()
Get the value of y |
double |
getZ()
Get the value of z |
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 |
void |
translate(Vector3D v)
Description of the Method |
Methods inherited from class ij3d.geom.Point3D |
---|
setX, setY, setZ, xmlWrite |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ColorPoint3D(float x, float y, float z, float R, float G, float B)
x
- Description of the Parametery
- Description of the Parameterz
- Description of the ParameterR
- Description of the ParameterG
- Description of the ParameterB
- Description of the ParameterMethod Detail |
---|
public float getR()
public float getG()
public float getB()
public void setPixel(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 setPixel(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 java.lang.String toString()
Point3D
toString
in class Point3D
public double dist(Pixel3D autre)
autre
- Description of the Parameter
public double getX()
getX
in class Point3D
public double getY()
getY
in class Point3D
public double getZ()
getZ
in class Point3D
public Vector3D getVector3D()
getVector3D
in class Point3D
public Point3D getPosition()
getPosition
in class Point3D
public void translate(Vector3D v)
translate
in class Point3D
v
- Description of the Parameterpublic double distance(Point3D other)
distance
in class Point3D
other
- Description of the Parameter
public double distanceSquare(Point3D other)
distanceSquare
in class Point3D
other
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |