3D axis. moving / zooming class

From: Valeri Fine (Faine) (fine@bnl.gov)
Date: Thu Dec 16 1999 - 02:19:06 MET


Hello Rooters.

Recently there were several questions how to manage
3D objects and how get 3D views with the axis on.
I've  attached a "stand-alone" class developed 
to solve this problem for STAR collaboration.
It provides several methods but one may remember
only one of them.

Namely:

  static TAxis3D *TAxis3D::ToggleZoom(TVirtualPad pad = 0);

http://www.star.bnl.gov/STAR/html/comp_l/root/html/TAxis3D.html#TAxis3D:description

http://www.star.bnl.gov/STAR/html/comp_l/root/html/TAxis3D.html

Since it is the static method it can be easily embedded into the 
different "buttons" and "toolbars".

 Calling this method the user code attaches the 3D axis and turn on
"Zooming" / "Moving" option. It works for either TPad with TView object
defined.

At present this class still uses the ROOT naming convention and can be
adopted by ROOT users with no change.(and it is still under construction
but works).

The STAR presentation:

http://sol.star.bnl.gov/~fine/Publications/STARDec99Meeting/DisplayEvent/index.htm

provides several nice pictures done with this class involved.

  All comments welcome.
  With my best regards,
                                Valery






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