Re: draw TNodes in GUI frames

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Jul 24 1998 - 14:39:24 MEST


Hi Rutger,

   bad and good news.

The bad news is that in the current version this is not possible.
The good news is that in the next version (begin August) this will be
possible. I've implemented a new GUI class TRootEmbeddedCanvas. It
inherits from TGCanvas and you can place it where ever you like in
a TGFrame. From the embedded canvas you can obtain a pointer to
its associated TCanvas and draw the 3d graphics and geometries.
Have a look at http://root.cern.ch/~rdm/embedded.gif to see an
example.

Cheers, Fons.


Rutger van der Eijk wrote:
> 
> Hi,
> 
> I would like to repost my question of 3th July which was not answered.
> 
> Is it possible to use the GUI classes in conjunction with the '3D graphics
> and Detector Geometrty classes'?
> 
> More specific; For an event display I would like to draw a TGeometry
> within a TGCompositeFrame. Can somebody tell me how to do this?
> 
> Rutger

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:35 MET