sl_viewer
A simple
OpenGL?-based viewer for streaming lines.
Example usage:
sl_viewer -i ../data/armadillo40.slb
Reads the streaming lines file and displays it every 5000 lines
(after you press 'p') while doing on-the-fly simplification with
vertex clustering onto a 1024 x 1024 x 1024 grid.
sl_viewer -i ../data/armadillo40.slb -every 50
Same as above but displays it every 50 lines.
sl_viewer -i ../data/armadillo40.slb -grid 6 -win 640 480
Same as above, but with a smaller display window, and more agressive
on-the-fly simplification of the lines, with vertex clustering on a
63 x 64 x 64 grid.
sl_viewer -i ../data/armadillo40.slb -ct ../data/armadillo_ct1.slb
Same as above, but also displaying the contour tree that we computed
with another streaming technique.
sl_viewer -i ../data/armadillo40.slb -i ../data/lidar_band10.slb -i ../data/PIE_0015.slb
This allows to display several inputs (usually for comparison). To change
files simply press 'x' and hit play 'p' again.
Interactive controls: |
p | play/stop |
o | stop |
space | switch between rotate/translate/zoom |
-/= | render vertices smaller/bigger |
_/+ | render lines thinner/wider |
[/] | exaggerate/mellow elevation differences |
c | change color mode |
b | hide/show bounding box |
s/S | step forward/backward |
t/T | tiny step forward/backward |
r | out-of-core full resolution rendering |
k | print kamera parameters to stderr |
x | exchange filenamed (if multiple '-i' inputs) |
ESC | quit |
Also try:
sl_viewer -i ../data/armadillo40.slb -ct ../data/armadillo_ct1.slb
slclean -i ../data/armadillo40.slb -oslb | sl_viewer.exe -islb
slclean -i ../data/armadillo40.slb -length 3 -oslb | sl_viewer.exe -islb
slclean -i ../data/lidar_band10.slb -length 2 -oslb | sl_viewer.exe -islb
slclean -i ../data/lidar_band10.slb -length 10 -oslb | sl_viewer.exe -islb
slclean -i ../data/lidar_band10.slb -length 10 -oslb | slsimp -islb -area 1 -oslb | sl_viewer.exe -islb
For more info:
sl_viewer -h
Usage:
sl_viewer -i lines.sla
sl_viewer -i lines1.slb -i lines2.slb
sl_viewer -isla < lines.sla
sl_viewer -win 640 480
sl_viewer -grid 9 -every 1000 -isla < lines.sla
if you find bugs let me (
isenburg@cs.unc.edu) know.
(All information copied directly from
http://www.cs.unc.edu/~isenburg/googleearth/tools/sl_viewer_README.txt)
--
ChristianStith - 17 Jun 2008
Revision: r1.1 - 17 Jun 2008 - 15:22 - Main.guest