Re: How to find current ViewAngle, ViewPoint during Rotating graphics?
- To: mathgroup at smc.vnet.net
- Subject: [mg98680] Re: How to find current ViewAngle, ViewPoint during Rotating graphics?
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Thu, 16 Apr 2009 04:13:56 -0400 (EDT)
- References: <grs6d7$qkc$1@smc.vnet.net>
"Nasser Abbasi" wrote: > Mathematica 7. > > Is there a way to display the current ViewAngle and/or View point of a 3D > graphics as one is rotating it with the mouse? > > Sometimes I am not sure what is the best view angle to use initially, but > after I rotate the 3D graphics and find a good angle I like, there does not > seem to be a way to determine its value from the front end. I was expecting > may be that a mouse right-click on the graphics or something similar would > bring up some information about the current state of the graphics. > > Any one knows a trick way to find this information? > > Thanks, > --Nasser > > For this purpose I use the following function: ExtrahiereViews[pl_]:= Flatten[Union[(Extract[pl,Position[pl,#]]&)/@ {ViewPoint->_, ViewCenter->_, ViewVertical->_, ViewAngle->_, ViewVector->_, ViewRange->_} ]] Give your "moused" image as argument to it -- _________________________________________________________________ Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de