Class BasicGrid
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.BallPivoting.BasicGrid
-
- Direct Known Subclasses:
StaticGrid
public class BasicGrid extends java.lang.ObjectBasicGrid 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 voidbestDim(int elems, Point3 size, Point3 dim)voidBoxToIBox(Box3 b, Box3 ib)voidcomputeDimAndVoxel()Point3gridP(Point3 p)voidIBoxToBox(Box3 ib, Box3 b)voidIPToP(Point3 pi, Point3 p)voidPToIP(Point3 p, Point3 pi)
-