|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--volume.Volume | +--VolumeJ.VJBinaryShell
VJBInaryShell. For patenting and copyrighting reasons all Javadoc comments have been removed. This class implements a binary shell (created from a VJThresholdedVolume). Copyright (c) 2001-2003, Michael Abramoff. All rights reserved. Patent pending.
Field Summary | |
(package private) java.lang.String |
s
|
boolean[] |
v
During instantiation, every cell (of 8 voxels) is checked to see whether this cell contains both a true and a false thresholded voxel. |
Fields inherited from class volume.Volume |
aspectx, aspecty, aspectz, depth, edge, height, width |
Constructor Summary | |
VJBinaryShell()
|
|
VJBinaryShell(VJThresholdedVolume vt)
Create a binary shell out of a a thresholded volume |
Method Summary | |
int |
advanceInit(VJCell cell,
double ox,
double oy,
double oz)
Initialization of depth search routine. |
void |
advancePrepare(double dx,
double dy,
double dz)
Prepare surface search for a ray with a specific direction vector. |
int |
advanceToSurface(VJCell cell)
Advance a cell to a surface along the ray. |
int |
advanceToSurfaceTracing(VJCell cell)
Advance a cell to a surface along the ray. |
java.lang.Object |
get(int x,
int y,
int z)
Get the shell value as a boolean. |
ij.ImageStack |
getImageStack()
Make an ImageJ imagestack from this shell. |
void |
set(java.lang.Object value,
int x,
int y,
int z)
Set the shell value to a boolean value. |
boolean |
surface(int ix,
int iy,
int iz)
Determine whether cell contains a surface. |
boolean |
surface(VJCell cell)
Determine whether cell contains a surface. |
boolean |
surface(VJVoxelLoc vl)
Determine whether there is a surface in the cell that vl is in. |
Methods inherited from class volume.Volume |
discreteSupport, getAspectx, getAspecty, getAspectz, getDepth, getEdge, getHeight, getWidth, in, setAspects, setEdge, toString, valid, valid |
Methods inherited from class java.lang.Object |
|
Field Detail |
public boolean[] v
java.lang.String s
Constructor Detail |
public VJBinaryShell()
public VJBinaryShell(VJThresholdedVolume vt)
vt
- the thresholded volume to be processedMethod Detail |
public java.lang.Object get(int x, int y, int z)
get
in class Volume
x
- the x position of the voxely
- the y position of the voxelz
- the z position of the voxelpublic void set(java.lang.Object value, int x, int y, int z)
set
in class Volume
value
- a booleanx
- the x position of the voxely
- the y position of the voxelz
- the z position of the voxelpublic boolean surface(VJVoxelLoc vl)
x,y,z
- the lowerleftanterior corner of the cellpublic boolean surface(VJCell cell)
cell
- the cell to examine.public boolean surface(int ix, int iy, int iz)
cell
- the cell to examine.public ij.ImageStack getImageStack()
public void advancePrepare(double dx, double dy, double dz)
dx,
- dy, dz the vector orientation of the ray.public int advanceInit(VJCell cell, double ox, double oy, double oz)
cell
- the starting position of the cell.ox,
- oy, oz the origin (starting point) of the raypublic int advanceToSurface(VJCell cell)
cell
- the cell from which to proceed along the ray.public int advanceToSurfaceTracing(VJCell cell)
cell
- the cell from which to proceed along the ray.
|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |