Hello Root folks, I've realized many people are keen to get the solid view of TGeo volume. I believe TGeo team is working this direction. Mean time let me offer the ROOT community some cheap temporary relief. I create a small class TGeoDrawHelper (download from http://root.bnl.gov/QtRoot/TGeoDrawHelper.tar.gz ) to convert TGeoVolume to TVolume. The later can be drawn using OpenGL viewers (and saved using the various image pixel and vector formats including Postscipt) http://root.bnl.gov/picture/geoshapes.png http://root.bnl.gov/picture/rootGeomGViewer.png http://root.bnl.gov/picture/rootGeomCoin.png http://root.bnl.gov/picture/pcon_shape_1.ps I have pre-compiled and included this class in Qt distribution of ROOT for Windows platform. (That has nothing to do with Window though) and slightly adjusted the existent ROOT macros, namely geoshapes.C and rootgeom.C to show how the new helper class can help. One can download from http://root.bnl.gov the ready-to-eat binary (one click installation as usually) for Windows or source code http://root.bnl.gov/QtRoot/http://root.bnl.gov/QtRoot/TGeoDrawHelper.tar .gz to compile and include in one's custom share library or ROOT macro him/herself. To see how it works just download it on your Windows PC (it should take you as fast as you are capable to download 19 MGb file) and "click" the ROOT Icon Root>.x rootgeom.C Root>.x geoshapes.C My best regards, Valeri Fine Brookaven National Laboratiory P.O.Box 5000 Upton, NY 11973-5000 ----- Phone: +1 631 344 7806 Fax: +1 631 344 4206 E-mail: fine@bnl.gov
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET