Class BasicGrid
java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.BallPivoting.BasicGrid
- Direct Known Subclasses:
StaticGrid
BasicGrid
Basic Class abstracting a gridded structure in a 3d space;
Usueful for having coherent float to integer conversion in a unique place:
Some Notes:
- bbox is the real occupation of the box in the space;
- siz is the number of cells for each side
OBJTYPE: Type of the indexed objects.
SCALARTYPE: Scalars type for structure's internal data (may differ from
object's scalar type).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
bbox
-
dim
-
siz
-
voxel
-
-
Constructor Details
-
BasicGrid
public BasicGrid()
-
-
Method Details
-
computeDimAndVoxel
public final void computeDimAndVoxel() -
gridP
-
PToIP
-
IPToP
-
BoxToIBox
-
IBoxToBox
-
bestDim
-