Hello Ben, This can be done with Qt-based ROOT version where both kind of 3D viewers the X3D as well as the OpenGL one are made the QWidgets. This implies the end-user code can communicate these widgets directly using Qt Signal/Slot mechanism. Further details are available from http://root.bnl.gov My best regards, Valeri > -----Original Message----- > From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch] > On Behalf Of Ben Morgan > Sent: Thursday, December 19, 2002 9:07 AM > To: Roottalk > Subject: [ROOT] Setting Viewpoint in TView and/or X3d > > Hi ROOTers, > I think this question has been asked before, but I couldn't > find an answer in ROOTtalk, or in the documentation. I've generated a > geometry to be viewed in a TView and the x3d viewer, and in the latter > case is it possible to set the actual x,y,z point the geometry is viewed > from? I need to do this because the origin is the optimum viewpoint for my > geometry, but the default viewpoint is outside the actual volume of > interest. > > I know one can use the ExecCommand method to move through the view, > but it's not particularly accurate. Any advice would be gratefully > received! I'm using ROOT v3.04/02 on a RH7.1 PC. Thanks, > > Ben Morgan. > > > -- > ------------------------------------------------------------------------ -- > ----- > Mr. Ben Morgan Tel: 44 (0)114 22 23553 > (Work) > Postgraduate Student > University of Sheffield > Department of Physics & Astronomy > Hicks Building > Hounsfield Road > Sheffield S3 7RH > ------------------------------------------------------------------------ -- > -----
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:24 MET