Opened 18 years ago

Closed 17 years ago

#93 closed defect (fixed)

Axes with units and scales + overlaid polygons in visualisations

Reported by: ole Owned by: jack
Priority: normal Milestone: AnuGA ready for release
Component: Appearance and visualisation Version: 1.0
Severity: normal Keywords: axes and lines
Cc: Jack.Kelly@…, Ole.Nielsen@…


This request is from Rosh Ranasinghe (DNR).

Axes would allow better interpretation of simulation outputs. This could either be implemented in the swollen viewer or the new VTK viewer.

Being able to overlay polygons in the visualisation will allow easy reference to e.g. coastline.

Change History (3)

comment:1 Changed 18 years ago by jack

  • Owner changed from someone to jack
  • Status changed from new to assigned

comment:2 Changed 18 years ago by jack

  • Cc Jack.Kelly@… Ole.Nielsen@… added

Axes support has been committed, polygon overlays are pending. In future requests like these should be two separate tickets. See the examples/ to see how the axes are added.

Caveat: the Z bounds for the axes are computed using the quantity values of the quantities being rendered, after the scaling and offset has been applied? Should this be changed?

There are problems with either method:

  • If you use the quantity values before adjustment, it's not good because the box doesn't encompass the visualisation.
  • If you use the quantity values after adjustment, the readings for the quantity heights are misleading.

Comments either way welcome.

comment:3 Changed 17 years ago by jack

  • Resolution set to fixed
  • Status changed from assigned to closed

Now added. A list of points can be used to bound a polygon. See the docstring in anuga_core/source/anuga/visualiser/

Note: See TracTickets for help on using tickets.