Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: setPointMode doesn't work anymore... :-)

Hi Ugo,

These problems are both now fixed.

> The new thing is the alpha value, which make missing values invisible
> (or, better, transparent). The problem is, when I click Point Mode on
> the GraphicsModeWidget I get a black display. I haven't changed anything
> regarding other stuff, just added a Display.Alpha Map. Where's the
> catch?

PointMode now works with Alpha, although the points are not
transparent - transparency only applies to surfaces.  The points
are now visible, however.

> Another question, when I switch the colour tables on the fly (with
> ColorControl.setTable()), I get an ArrayIndexOutofBounds Exception. Is
> it possible to resize the colour table, without having to reconstruct
> the display? Or should I stick to a standard colour table size?

The Exception came from the widgets attached to the ColorControl,
and they have now been fixed.  You could always change the size of
a color table on the fly, but attached widgets couldn't handle it
correctly.  Now they can.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690