Print

Print


I have Valuable objects stored in a SparseGrid2D object.  These
objects' doubleValue() members return values in [0,1].  I would like
to use a ColorMap similarly as one would with a
FastObjectGridPortrayal2D to render these SparseGrid2D objects
accordingly.  After RTFM'ing I don't see a nice, clean way to do this.
 The best I can do is to implement a draw() function, which seems like
overkill.  Surely there is a quick an easy way to do this in MASON?