++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + CED build instructions + ---------------------------------------------------------------------------- + + For building CED from source you need to have CMake and CMakeModules for + ilcsoft installed in your system. ( cmake homepage: www.cmake.org ) + + once cmake is in your $PATH, follow this steps: + + mkdir build + cd build + cmake -DCMAKE_MODULE_PATH=/path/to/ilcsoft_CMakeModules [-DCED_SERVER=ON] .. + make install + + NOTE: Only the CED client library is built per default!! + + If you also need the display server (glced), you have to + explicitly set the cmake option CED_SERVER to ON and you + need GLUT installed on your system ( http://freeglut.sourceforge.net ) + + If cmake cannot find GLUT you can use the variables + CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH to find libraries + and header files in non-standard paths, e.g.: + export CMAKE_LIBRARY_PATH=/path/to/glut/lib + export CMAKE_INCLUDE_PATH=/path/to/glut/include + cmake .. + make install + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ glced command line options ------------------------------------------------------------------ glced -h # show help glced # run event display server Controls for CED display server (glced window): ------------------------------------------------------------------ (window has to be active and the mouse placed inside it) Keyboard shortcuts: ------------------- ESC .......... quit keys [0-9] ... toggle visibility layers key 'r' ...... redispaly in some initial projection key 'f' ...... front projection key 's' ...... side projection key 'c' ...... move center of rotation to the nearest hit within current mouse position key 'v' ...... fish-eye view key 'b' ...... toggle background color key 'h' ...... display help menu Mouse interaction: ------------------ L button + drag: rotate R button + drag: pop-up menu M button + drag: shift M wheel + up : zoom-in M wheel + down: zoom-out Using the CED client library: ------------------------------------------------------------------ // Somewhere at the beginning of file ******Processor.cc #include // Visibility layers types: should be included as: #define PHOTON_LAYER (0<