edu.jhu.cs.cisst.algorithms.optimize.fmg.grid
Class BoundaryGrid

java.lang.Object
  extended by edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.Grid
      extended by edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.BoundaryGrid
All Implemented Interfaces:
ConstBoundaryGrid, ConstGrid, java.lang.Cloneable
Direct Known Subclasses:
FixedBoundaryGrid, PeriodicBoundaryGrid, RepeatBoundaryGrid

public abstract class BoundaryGrid
extends Grid
implements ConstBoundaryGrid

An implementation of Grid where a boundary of some kind is supported.

Author:
Gerald Loeffler (Gerald.Loeffler@univie.ac.at)

Field Summary
 
Fields inherited from class edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.Grid
g, level, sx, sy, sz
 
Constructor Summary
protected BoundaryGrid(int sx, int sy, int sz, int level, double interiorValue)
          construct from size and initial value for all elements in the interior.
 
Method Summary
 
Methods inherited from class edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.Grid
add, add, clone, get, getBoundary, getCols, getLevel, getRows, getSlices, isBoundary, isInterior, set, setLevel
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.ConstGrid
add, clone, get, getCols, getLevel, getRows, getSlices, isBoundary, isInterior, newInstance, set, setLevel
 

Constructor Detail

BoundaryGrid

protected BoundaryGrid(int sx,
                       int sy,
                       int sz,
                       int level,
                       double interiorValue)
construct from size and initial value for all elements in the interior.

Parameters:
sx - the dimension in X
sy - the dimension in Y
sz - the dimension in Z
level - the resolution level
interiorValue - the initial value to which all grid elements will be set