Are you surrounding your remove/addReference block with a
disableAction() and enableAction(). That might improve performance.
Unless you are also mapping to RGB, doing what you are doing now is the
way to go. If mapping to RGB, you could use a color table of one color.
Doug Lindholm wrote:
> OK, that sounds oxymoronic.
> I give some of my data color by adding ConstantMaps to the Display with
> the DataReference. To change the color I currently remove the
> DataReference and add it back with a new array of ConstantMaps. This is
> a performance hit. Is there a better way? It seems that changing the
> color could be done without removing/adding the DataReference.