1. Feb 05, 2015
  2. Feb 04, 2015
  3. Feb 03, 2015
  4. Jan 31, 2015
  5. Jan 30, 2015
  6. Jan 29, 2015
    • Tim Coalson's avatar
    • John Harwell's avatar
      WB-491 Behavior of Viewport when Overlay ToolBox Vertical Size is Changed:... · 6487c659
      John Harwell authored
      WB-491 Behavior of Viewport when Overlay ToolBox Vertical Size is Changed: When the graphics region is changed (by changing the size of the window or a toolbox size), the coordinates of the graphics region are not updated properly and unexpected surface scalings may occur (surfaces may get small).  There are two reasons.  (1) The default view was, in the early days of wb_view, a dorsal view with the anterior pole at the top.  Thus, the vertical coordinate range for the window was set to be just a bit larger then the surface's Y-coordinate range.  However, quite a while ago, the default surface view was changed to a lateral view with the dorsal pole at the top.  And so, we were scaling the graphics region for a dorsal view but the default view had been changed to a lateral view leaving extra, empty space above and below the surface.  (2) The aspect ratio of the graphics region was not accounted for when setting the cooordinate range of the graphics region.  As a result, the graphics region's vertical coordinate range was always set to match the surface's vertical (now Z-axis) coordinate range.  However, when the viewport was narrow, the parts of the surface were clipped on the left and right edges of the graphics region.  Now the aspect ratio is examined and the graphics region's coordinate range now includes both the horizontal and vertical ranges so that parts of a surface do not get clipped on an edge when the graphics region's size changes.
      6487c659
  7. Jan 28, 2015
  8. Jan 27, 2015
  9. Jan 24, 2015
  10. Jan 23, 2015
  11. Jan 22, 2015
  12. Jan 21, 2015
  13. Jan 16, 2015
  14. Jan 15, 2015
  15. Jan 14, 2015
  16. Jan 08, 2015
  17. Jan 07, 2015