Class BasicGrid
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.BallPivoting.BasicGrid
-
- Direct Known Subclasses:
StaticGrid
public class BasicGrid extends java.lang.Object
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).
-
-
Constructor Summary
Constructors Constructor Description BasicGrid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bestDim(int elems, Point3 size, Point3 dim)
void
BoxToIBox(Box3 b, Box3 ib)
void
computeDimAndVoxel()
Point3
gridP(Point3 p)
void
IBoxToBox(Box3 ib, Box3 b)
void
IPToP(Point3 pi, Point3 p)
void
PToIP(Point3 p, Point3 pi)
-