|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij3d.geom.ObjectCreator3D
public class ObjectCreator3D
Creation de forme primitive dans une image
Constructor Summary | |
---|---|
ObjectCreator3D(ij.ImageStack stack)
|
|
ObjectCreator3D(IntImage3D image)
Constructor for the ObjectCreator3D object |
|
ObjectCreator3D(int sizex,
int sizey,
int sizez)
Constructor for the ObjectCreator3D object |
|
ObjectCreator3D(int sizex,
int sizey,
int sizez,
int type)
Constructor for the ObjectCreator3D object |
Method Summary | |
---|---|
void |
createCube(int centerx,
int centery,
int centerz,
double rx,
double ry,
double rz,
float value)
Creation d'une brique |
void |
createCube(Vector3D V,
double rx,
double ry,
double rz,
float val)
Description of the Method |
void |
createCubeUnit(double centerx,
double centery,
double centerz,
double rx,
double ry,
double rz,
float value)
Description of the Method |
void |
createCubeUnit(Vector3D V,
double rx,
double ry,
double rz,
float val)
Description of the Method |
void |
createEllipsoid(int centerx,
int centery,
int centerz,
double rx,
double ry,
double rz,
float value,
boolean gauss)
Creation d'une ellipsoide |
void |
createEllipsoid(Vector3D V,
double rx,
double ry,
double rz,
float col)
Description of the Method |
void |
createEllipsoidAxes(int centerx,
int centery,
int centerz,
double rx,
double ry,
double rz,
float value,
Matrix M,
boolean gauss)
Creation d'une ellipsoide |
void |
createEllipsoidAxes(int centerx,
int centery,
int centerz,
double rx,
double ry,
double rz,
float value,
Vector3D V,
boolean gauss)
|
void |
createEllipsoidUnit(double centerx,
double centery,
double centerz,
double rx,
double ry,
double rz,
float value,
boolean gauss)
Description of the Method |
void |
createEllipsoidUnit(Vector3D V,
double rx,
double ry,
double rz,
float col)
Description of the Method |
void |
createLine(int x0,
int y0,
int z0,
int x1,
int y1,
int z1,
float val,
int rad)
Create a 3D line |
void |
createLine(Point3D P1,
Point3D P2,
float val,
int rad)
|
void |
createLine(Vector3D V1,
Vector3D V2,
float val,
int rad)
Description of the Method |
void |
createLineUnit(Vector3D V1,
Vector3D V2,
float val,
int rad)
Description of the Method |
void |
createPixel(int x,
int y,
int z,
int col)
Description of the Method |
ij.measure.Calibration |
getCalibration()
Gets the calibration attribute of the Object3D object |
Image3D |
getImage3D()
Gets the image3D attribute of the ObjectCreator3D object |
ij.ImageStack |
getStack()
Retourne l'image associée |
void |
reset()
|
void |
setCalibration(ij.measure.Calibration cal)
Sets the calibration attribute of the Object3D object |
void |
setResolution(double rxy,
double rz,
java.lang.String u)
Sets the resolution attribute of the ObjectCreator3D object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectCreator3D(IntImage3D image)
image
- The image3D to draw insidepublic ObjectCreator3D(ij.ImageStack stack)
stack
- public ObjectCreator3D(int sizex, int sizey, int sizez, int type)
sizex
- Taille x du volumesizey
- Taille y du volumesizez
- Taille z du volumetype
- Type du volume (entier ou réel)public ObjectCreator3D(int sizex, int sizey, int sizez)
sizex
- Taille x du volumesizey
- Taille y du volumesizez
- Taille z du volumeMethod Detail |
---|
public void setResolution(double rxy, double rz, java.lang.String u)
rxy
- The new resolution in XYrz
- The new resolution in Zu
- The new resolution unitpublic ij.measure.Calibration getCalibration()
public void setCalibration(ij.measure.Calibration cal)
cal
- The new calibration valuepublic void createEllipsoidUnit(double centerx, double centery, double centerz, double rx, double ry, double rz, float value, boolean gauss)
centerx
- Description of the Parametercentery
- Description of the Parametercenterz
- Description of the Parameterrx
- Description of the Parameterry
- Description of the Parameterrz
- Description of the Parametervalue
- Description of the Parametergauss
- Description of the Parameterpublic void createEllipsoid(Vector3D V, double rx, double ry, double rz, float col)
V
- Description of the Parameterrx
- Description of the Parameterry
- Description of the Parameterrz
- Description of the Parametercol
- Description of the Parameterpublic void createEllipsoidUnit(Vector3D V, double rx, double ry, double rz, float col)
V
- Description of the Parameterrx
- Description of the Parameterry
- Description of the Parameterrz
- Description of the Parametercol
- Description of the Parameterpublic void createEllipsoid(int centerx, int centery, int centerz, double rx, double ry, double rz, float value, boolean gauss)
rx
- Rayon en x (unit)ry
- Rayon en y (unit)rz
- Rayon en z (unit)centerx
- Centre en xcentery
- Centre en ycenterz
- Centre en zvalue
- Valeur à remplirgauss
- uniform or ramp valuespublic void createEllipsoidAxes(int centerx, int centery, int centerz, double rx, double ry, double rz, float value, Matrix M, boolean gauss)
rx
- Rayon en x (unit)ry
- Rayon en y (unit)rz
- Rayon en z (unit)centerx
- Centre en xcentery
- Centre en ycenterz
- Centre en zvalue
- Valeur à remplirgauss
- uniform or ramp valuesM
- Description of the Parameterpublic void createEllipsoidAxes(int centerx, int centery, int centerz, double rx, double ry, double rz, float value, Vector3D V, boolean gauss)
centerx
- centery
- centerz
- rx
- ry
- rz
- value
- V
- gauss
- public void createCube(Vector3D V, double rx, double ry, double rz, float val)
V
- Description of the Parameterrx
- Description of the Parameterry
- Description of the Parameterrz
- Description of the Parameterval
- Description of the Parameterpublic void createCubeUnit(Vector3D V, double rx, double ry, double rz, float val)
V
- Description of the Parameterrx
- Description of the Parameterry
- Description of the Parameterrz
- Description of the Parameterval
- Description of the Parameterpublic void createCubeUnit(double centerx, double centery, double centerz, double rx, double ry, double rz, float value)
centerx
- Description of the Parametercentery
- Description of the Parametercenterz
- Description of the Parameterrx
- Description of the Parameterry
- Description of the Parameterrz
- Description of the Parametervalue
- Description of the Parameterpublic void createCube(int centerx, int centery, int centerz, double rx, double ry, double rz, float value)
rx
- Rayon en x (unit)ry
- Rayon en y (unit)rz
- Rayon en z (unit)centerx
- Centre en xcentery
- Centre en ycenterz
- Centre en zvalue
- Valeur à remplirpublic void createPixel(int x, int y, int z, int col)
x
- Description of the Parametery
- Description of the Parameterz
- Description of the Parametercol
- Description of the Parameterpublic void createLine(int x0, int y0, int z0, int x1, int y1, int z1, float val, int rad)
x0
- x originy0
- y originz0
- z originx1
- x endy1
- y endz1
- z endval
- pixel valuerad
- radius for the line (as small spheres) (pix)public void createLine(Vector3D V1, Vector3D V2, float val, int rad)
V1
- Description of the Parameterval
- Description of the Parameterrad
- Description of the ParameterV2
- Description of the Parameterpublic void createLine(Point3D P1, Point3D P2, float val, int rad)
P1
- P2
- val
- rad
- public void createLineUnit(Vector3D V1, Vector3D V2, float val, int rad)
V1
- Description of the ParameterV2
- Description of the Parameterval
- Description of the Parameterrad
- Description of the Parameterpublic ij.ImageStack getStack()
public Image3D getImage3D()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |