Package sim.portrayal.grid

Interface Summary
DrawPolicy Called by Sparse2DPortrayal and Object2DPortrayal to determine if all objects should be drawn or only one.
 

Class Summary
FastHexaObjectGridPortrayal2D A "Fast" version of HexaObjectGridPortrayal2D, which draws objects as rectangles of specified colors, rather than using the provided SimplePortrayal2Ds.
FastHexaValueGridPortrayal2D  
FastObjectGridPortrayal2D A "Fast" version of ObjectGridPortrayal2D, which draws objects as rectangles of specified colors, rather than using the provided SimplePortrayal2Ds.
FastValueGridPortrayal2D This class works like a ValueGridPortrayal2D, except that it doesn't use an underlying Portrayal for the object (instead it always draws a rectangle), and may ignore the getColor() method, so you shouldn't override that method to customize the color function in nonlinear ways any more.
HexaObjectGridPortrayal2D Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) containing objects.
HexaSparseGridPortrayal2D Portrayal for hexagonal grids (each cell has six equally-distanced neighbors).
HexaValueGridPortrayal2D Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) with double-precision real values.
ObjectGridPortrayal2D A portrayal for grids containing objects, such as maybe agents or agent bodies.
SparseGridPortrayal2D Can be used to draw both continuous and descrete sparse fields
ValueGridPortrayal2D This class is capable of portraying the DoubleGrid2D and IntGrid2D fields (and only those two fields -- or subclasses).