[ROOT] TView::ZoomMove()

From: LEE, KERRY T. (JSC-SR) (UHCL) (kerry.t.lee1@jsc.nasa.gov)
Date: Fri Jul 11 2003 - 22:57:16 MEST


Dear ROOT team,

I am using ROOT v3.05.05 on RedHat 9.0 gcc3.2.2-5.

When I draw my geometry and I would like to center different locations in
the geometry and then zoom up on the new center.  In previous ROOT versions
I was able to right-click on the canvas and select ZoomMove in the TView
popup menu and then click on the canvas to center the geometry where I
clicked.  In v3.05, (The CVS version from July 8th does the same thing) when
I select ZoomMove and then click on the canvas the geometry becomes centered
at (0,0,0).  Is there another method of doing what I want, or can this
method be made to do what it used to do?

I am attaching my geometry file, and below is the way I draw it.

root [0] .x transit.cxx
===> Geometry, default geometry created
Top volume is MOTH. Master volume is MOTH
List of materials :
Fixing runtime shapes...
Counting nodes...
Voxelizing...
Building caches for nodes and matrices...
### 43 nodes/ 31 volume UID's in default geometry
----------------modeler ready----------------
root [1] gGeoManager->GetTopVolume()->Draw()
<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
--- number of nodes on screen : 42
root [2] 

Thanks
Kerry






This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET