Re: Volume Scaling into the display

Hi Jose,
> As you know, when a volume is mapped to a display, it fills
> all the display (by default). Is there any method to avoid 
> this? How can I make consecutive mappings and unmappings of 
> volumes keep the aspect relation between the overall display 
> and the individual volumes?
You need to call setRange() explicitly for the ScalarMaps to
XAxis, YAxis and ZAxis.  This sets the range of values that 
fill the box dimensions, for RealTypes mapped to the axes,
If you don't call setRange() explicitly, then the system calls
it implicitly using the actual range of values found in
displayed data objects (this is called autoscaling).
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738

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