Scale bar
See original GitHub issueHi Marco,
itkwidgets
has a very nice scale bar functionality (see screenshot below, the number changes depending on how zoomed in you are), is there something similar in vedo?
I know that there’s an axis option that shows a ruler at the bottom of the screen, but I could never quite figure out if it would work as a scale bar. Also in general I’d prefer something small like in the the screenshot.
I guess it would be possible to hack something like this using a 2d scale bar, but was wandering if you had already something set up for it.
To be clear: what I’d like is something that maps the length of a line in number of pixels in the window to what that corresponds to in the scene in terms of distance between two points. So I don’t want a ruler that just shows the distance between two points. Say that the scalebar line is 100px long, if I’m very zoomed out that could be equal to a distance of 1000 between two points, but once I zoom in a lot the same line shows the distance betwee two points that are say 50 apart, makes sense?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
many 😃
Use
settings.useParallelProjection=True