----- Original Message ----- From: Valery Fine <fine@bnl.gov> To: Colin Bernet <bernet@kph.uni-mainz.de> Subject: Re: [ROOT] abstract graphic classes > > Hi all, > > > > Would it be possible to have abstract 2d and 3d graphics classes, so > > that methods like Rotate(), Translate() could be used on a particular > > shape, or on a container of different shape types ? Hi, Colin Could you clairfy what is your needs. At the moment ROOT offers TWO kind of "containers" fro TShape's classes Namely TNode (for relatively simple geometry's) and TVolume / TVolumeView (for large scale geometries) From my point of view they provide you a selection of method to work out what you ask about. With TVolume class we have created the object model of ATLAS detector. It contains about 30'000'000 different nodes organized in to 15 levels of hierarchy. The result was present for CHEP2000 conference http://chep2000.pd.infn.it/ and ROOT 2000 Workshop. http://root.cern.ch/root/R2000Welcome.html The only problem with those classes they can manage 3D objects but more simple 2D ones. In general I see no technical problem to provide an implementation for more simple 2D case too. For that TVolumePosition class (see: http://root.cern.ch/root/html/TVolumePosition.html ) needs one extra parameters. Namely the dimension of the space it is working with. IT could be either 3 or 2. So far there was no big demand and most HEP needs were covered by existent 2D classes with "plain" organization with no hierarchy Valery
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:33 MET