210 likes | 337 Views
The Virtual Radiology Explorer Part 1: Building and using VRE. Robert Belleman robbel@science.uva.nl. Overview. Building the VRE application Running VRE Interaction in VRE. Building VRE. VRE can only be built on Irix or Linux. Some features only available on Irix (e.g. Volume rendering)
E N D
The Virtual Radiology ExplorerPart 1:Building and using VRE Robert Belleman robbel@science.uva.nl
Overview • Building the VRE application • Running VRE • Interaction in VRE
Building VRE • VRE can only be built on Irix or Linux. • Some features only available on Irix (e.g. Volume rendering) • VRE depends on a lot of external software • Not included in the VRE sources (e.g. Vtk, CAVERN, CAVElib, OpenGL)
Building VRE • Step 1 - checkout VRE from CVS:cvs -d carol:/home/robbel/.cvsroot checkout VRE • Getting at the sources from a remote machine: • Use the CVS_RSH environment variable to specify the method by which to obtain access to the UvA file servers, i.e.:env CVS_RSH=ssh cvs -d \ :ext:mylogin@carol.wins.uva.nl:/home/robbel/.cvsroot \checkout VRE • For this you must have a login at the UvA.
Building VRE • A directory VRE will be created • Go into this directory • Up-to-date information is in: • README • HOWTO.BUILD • HOWTO.RUN
Building VRE • Step 2 - configure: • For a list of options, type./configure --help • Example:./configure --prefix=`pwd`/install \--with-geoprove --with-scavi --with-cavetalk \--with-flowvis --with-nt --with-xmlmonitor
Building VRE • Caveats: • Parts of VRE will not build with the standard GNU compilers (bugs in the compilers). Use the egcs compilers instead; i.e. configure like this:env CC=`which egcs` CXX=`which egcs++` \./configure --prefix=/path/to/installdir \--with-geoprove --with-scavi --with--..
Building VRE • Step 3 - build and install: • make (may require other checkouts) • make depend (necessary if you change the software) • make install (requires write access to install directory; the default is /usr/local) • make will check out other CVS modules if needed. • On UvA machines, you will not notice this. From a remote machine, you need to re-enter your password for each CVS module.
Building VRE • Compilation will take a while. • If anything fails; • check the obvious: typo, out of quota, missing software, etc. • Look at the messages from make or the compilers; try to find a solution • If all else fails; send me an error report (as complete as possible)
Running VRE • Switch on hardware (if needed): • projector • power button remote control • tracker • switch on: right-back of Polemus • start tracker deamon (automatic with caveman account when you double-click “DRIVE demo”) • microphone receiver • switch on front, mute and power switch on wireless
Running VRE • Go to the install directory, and run: • cd /path/to/installdir • ./prefix bin/VRE [dataset] • [dataset] is filename of a dataset to visualize • Must be a .vtk file • say “Load data” (or select it from the menu) to see it
Running VRE • Start external software (if needed): • LBE software on cluster: • ssh e20.blue.sara.nl -l robbelPassword: (same as for “caveman” demo account) • ./go • CAVETalk software • Automatic when using the DRIVE demo launcher, otherwise: • cd VRE/cavetalk/bin • ./runserver
Interaction in VRE • Navigation • Various methods; select from “Navigation” menu, all use joystick • CAVE standard • Drag • Push-and-go • (Fly) • (Grappling)
Interaction in VRE • SCAVI objects: • left button: • select menu items • drag objects in focus • middle button: • select object if in focus, deselect otherwise • right button: • switch between “normal” and “grid editing” mode
Interaction in VRE • When a SCAVI object is selected (i.e. after pressing the middle button): • sphere-shaped handles to rotate • left button + joystick to scale
Interaction in VRE • Grid editing in VRE: • Can only be used on volumes • Select volume first (middle button) • Press right button to enter grid editing mode (pointer goes from long to short) • left button to “add” voxels • middle button to select a region-of-interest • right button to recalculate isosurface and exit from grid editing mode
Interaction in VRE • Voice recognition • To test, say “hello”; VRE should respond by saying “Hello” (are speakers on, volume up?) • Voice commands go to objects in focus first (if any) then to selected objects (if any) • See webpage for more details:http://www.science.uva.nl/~robbel/VRE/voice_commands.html
Interaction in VRE • GEOPROVE • Not implemented using SCAVI, so interaction is completely different • See webpage for more details:http://www.science.uva.nl/~robbel/GEOPROVE/
Interaction in VRE • Flow visualization • glyph visualization always on • Future options: on/off, sample rate, shape of glyphs, color mapping • streamline visualization • particle “source(s)” in configurations:plane, cloud, box, etc. • select configuration, size of particles and number of particles from 3D menu
Interaction in VRE • Interaction with simulation • currently very rudimentary: • start, pause, continue, stop • additional interaction methods yet to be implemented; • geometry changes • the “vascular reconstruction” • parameter changes • body force?, density?, tau?