Package sim.portrayal.grid
package sim.portrayal.grid
-
ClassDescriptionPortrayal for 3D Dense grids: grids of Bags of objects.Portrayal for Dense grids: grids of Bags of objects.Called by Sparse2DPortrayal to determine if all objects should be drawn or only one.A "Fast" version of HexaObjectGridPortrayal2D, which draws objects as rectangles of specified colors, rather than using the provided SimplePortrayal2Ds.A "Fast" version of ObjectGridPortrayal2D, which draws objects as rectangles of specified colors, rather than using the provided SimplePortrayal2Ds.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.Portrayal for hexagonal grids (each cell has six equally-distanced neighbors).Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) containing objects.Portrayal for hexagonal grids (each cell has six equally-distanced neighbors).Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) with double-precision real values.A 2D portrayal for 3D grids containing objects.A portrayal for grids containing objects, such as maybe agents or agent bodies.Can be used to draw both continuous and discrete sparse fields.Can be used to draw both continuous and discrete sparse fields.This class is capable of portraying the DoubleGrid2D and IntGrid2D fields (and only those two fields -- or subclasses).