cmlibs / zinc

Source code repository for OpenCMISS-Zinc
Mozilla Public License 2.0
15 stars 18 forks source link

Metadata or functionality to support zoom-to-feature #260

Open rchristie opened 1 year ago

rchristie commented 1 year ago

Requirement for zinc-based applications is to be able to click on certain graphics e.g. fixed size markers from #259 and zoom to the span of a small data set.

Possible implementations:

  1. Store metadata (e.g. client-specific strings) in graphics, so client can provide advanced functionality if user selects graphics.
  2. Client adds function for zoom-to-range of any selected graphics, which is of general benefit. Issue is that fixed size markers will not usually have a link to the graphics or group to zoom to, so some additional attribute may still be needed.