Re: graphical depth of an object

From: J. Rieling (jr@ri.dasa.de)
Date: Wed Jul 07 1999 - 14:47:37 MEST


-----BEGIN PGP SIGNED MESSAGE-----

[sorry if this is posted twice. but our mailserver/firewall is kind of
 broken at the moment, and i prefer to repeat this message.]

hi rene, hi all,

On Wed, 7 Jul 1999, Rene Brun wrote:

> Simply do:
>   c1->RedrawAxis();
> at the end of the macro or after the macro execution.

  true, that works for the axis.

  but it does not work for grid lines.  i suppose there won't be
  a c1->RedrawGrid()...   and if there is, that wouldn't be very OO.
  so let me re-phrase my question:

  is there a concept of graphical depth inisde root ?


  the only thing i see that comes close to that is the sequence of objects
  in the display list.

  as far as i know (though i couldn't spend much time on it) there is only
  TObject::Pop() to manipulate this list (*).
  manipulating that list makes sense if other already drawn objects
  are not cleared if a new one is drawn.

  (probably there are a few more subtilities with inherited/nested objects
   because histogram->GetXaxis->Pop() doesn't work.)

  cu,

j"org.



(*)  i realize there is a TVirtualPad::GetListOfPrimitives() which
returns a TList *, but the TList is rather counterintuitive to handle
if you simply want to do a object->SetGraphDepth(1) or whatever.


__________________________________________________________________________
dr. j. rieling  /  daimlerChrysler aerospace, orbital systems & operations
fon +49 421 5395643      fax +49 421 5395127      joerg.rieling@ri.dasa.de



- --
__________________________________________________________________________
dr. j. rieling  /  daimlerChrysler aerospace, orbital systems & operations
fon +49 421 5395643      fax +49 421 5395127      joerg.rieling@ri.dasa.de

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBN4NMbjj2v2S/jY1FAQELywP9G7ort79XLjbttbeaHgHpsj4mdCokTpMQ
7gYdqXyWkzWLV73JuCyLd0cZqwfhQBayYJBNRxiR+gbucj7qxok4k61TZr/fTgDN
LHMX2J6QBPkWY9T3spT1BGqlpaVg8/VEKyBiZX8znXHIVj5r4WFZmwY1Op1o4MwM
7Z9paVh133o=
=gc2Z
-----END PGP SIGNATURE-----



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