Hi all,

I'm having some hassles with BarbRendererJ3D. Essentially, the barbs are
too small. calling setRange against the flow1X and flow1Y scalarmaps
helped a little, but not nearly enough. I then tried to use the
setFlowScale of FlowControl in order to increase the size of the barbs.
However, what I get is a NullPointerException, caused by the call to
setFlowScale, occurring somewhere in VisAD.      

            ScalarMap flow1XMap = new ScalarMap(uType, Display.Flow1X);
            flow1XMap.setRange(-40.0, 40.0);
            FlowControl floop = (FlowControl)flow1XMap.getControl();

Is a FlowControl the right way to enlarge the wind barbs?


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: