allen-cell-animated / website-3d-cell-viewer

Other
5 stars 4 forks source link

Add a button to show/hide the axis indicator #27

Closed toloudis closed 2 years ago

toloudis commented 2 years ago

Use Case

volume-viewer supports hiding/showing an axis indicator in the corner of the display. But there is no control for it in the react front end.

Solution

Add a button in the top set of controls before the Channels, on a new row

Acceptance criteria

A button that toggles the axis indicators on the 3d canvas. Button should say "Show Axes" when the axes are NOT visible, and "Hide Axes" when the axes ARE visible.

toloudis commented 2 years ago

I thought of one addition to this that I forgot to specify, which will probably be nice to have. We would like to allow the viewer to be initialized with axes on or off, so:

frasercl commented 2 years ago

Resolved by #29