holoviz-topics / EarthSim

Tools for working with and visualizing environmental simulations.
https://earthsim.holoviz.org
BSD 3-Clause "New" or "Revised" License
65 stars 21 forks source link

Need support for custom icons for Bokeh tools #178

Closed kcpevey closed 3 years ago

kcpevey commented 6 years ago

We need a way to distinguish between the PolyEdit used for denoting foreground and background in Grabcuts. Since this implementation of Grabcuts results in a polygon, the two tool icons need to have some indication whether you are intending to mark up the inside of the polygon or the outside. I was doodling yesterday and came up with the two icons below, but I'm sure someone can improve upon it!

grabcut_icons I guess I should also note that I intend for the default drawing tool for Grabcuts to use the scibble draw.

jbednar commented 6 years ago

Those icons should work fine, though they would be custom to EarthSim, since they are specific to GrabCut. @philippjfr, are custom icons like that supported yet?

jlstevens commented 6 years ago

From my understanding such custom icons aren't yet supported at the bokeh level though @philippjfr can correct me if that isn't true...

kcpevey commented 3 years ago

custom icons are now available at the bokeh level