edu.unh.sdb.lattice
Class InCoreArrayCellGroup

java.lang.Object
  extended by edu.unh.sdb.lattice.CellGroup
      extended by edu.unh.sdb.lattice.InCoreArrayCellGroup

public class InCoreArrayCellGroup
extends CellGroup


Field Summary
protected  int[] cellIndices
           
protected  float[] coords
           
protected  float[] data
           
protected  int lastIndex
           
protected  int numAttributes
           
protected  int[] vIndices
           
 
Fields inherited from class edu.unh.sdb.lattice.CellGroup
bounds, dimensionality, numCells
 
Constructor Summary
InCoreArrayCellGroup(GBounds bounds, int[] vIndices, float[] coords, float[] data, int numAttributes, DataBlock cellIndicesBlock, ISIterator iter)
           
 
Method Summary
 Cell findEnclosingCell(Point p)
           
 int getNumCells()
           
 boolean register(int cellIndex)
           
 
Methods inherited from class edu.unh.sdb.lattice.CellGroup
dim, setNumCells, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cellIndices

protected int[] cellIndices

vIndices

protected int[] vIndices

coords

protected float[] coords

data

protected float[] data

numAttributes

protected int numAttributes

lastIndex

protected int lastIndex
Constructor Detail

InCoreArrayCellGroup

public InCoreArrayCellGroup(GBounds bounds,
                            int[] vIndices,
                            float[] coords,
                            float[] data,
                            int numAttributes,
                            DataBlock cellIndicesBlock,
                            ISIterator iter)
Method Detail

register

public boolean register(int cellIndex)

findEnclosingCell

public Cell findEnclosingCell(Point p)
Specified by:
findEnclosingCell in class CellGroup

getNumCells

public final int getNumCells()
Overrides:
getNumCells in class CellGroup