Re: can vector flow scales be set independent?

  • To: John Osborne <oz@xxxxxxxxxxxxx>
  • Subject: Re: can vector flow scales be set independent?
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Thu, 13 Mar 2003 18:13:46 -0600 (CST)
Hi John,

You'd find that flow_controlU == flow_controlV == flow_controlW,
which is why each call to setFlowScale() replaces the previous.
Doing what you want would change the directions of flows, which
is something VisAD carefully avoids. To do this, you'll need to
make the changes in the underlying data (not all that unreasonable
a thing to do).

By the way, I haven't answered your printing question because I
don't know anything about printing (never used it, and someone
else wrote that VisAD code).


On Thu, 13 Mar 2003, John Osborne wrote:

> I produce a plot of a 3D vector field, u,v,w components defined on a
> x,y,z grid. I have defined for each component a flow control:
>     flow_controlU = (FlowControl)uMap.getControl();
>     flow_controlV = (FlowControl)vMap.getControl();
>     flow_controlW = (FlowControl)wMap.getControl();
> and I have tried to set the scale of each component with:
>     flow_controlU.setFlowScale(vUScale);
>     flow_controlV.setFlowScale(vVScale);
>     flow_controlW.setFlowScale(vWScale);
> The display acts as if only the last call to setFlowScale actually
> changes the vector scale and it changes it all three components.So does
> VisAD allow independent flowscales? Thanks!
> JO

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