- To: IDV Users <idvusers@xxxxxxxxxxxxxxxx>
- Subject: [idvusers] setting viewpoint in the bundle file
- From: Stuart Wier <wier@xxxxxxxxxx>
- Date: Wed, 10 Feb 2010 08:40:06 -0700
The IDV can set the point of view with the viewpoint control which lets the user set azimuth from north and angle down
from overhead.
In the bundle file the viewpoint is expressed in this 16 value array: <property name="DisplayMatrix"> <parray class="double" length="16"> 0.3535530052376653,-0.35355377594846216,0.0, 0.0,0.17677644300347337,0.17677605764904494, 0.1732052260833264,0.0,-0.30618680847883556, -0.30618614102314645,0.09999974828680219,0.0, 0.0,0.0,0.0, 1.0 </parray> </property> Does anyone have code to convert the 2 values (azimuth from north and angle down from overhead) into the array?The idea is to make a general puspose bundle file which can be controlled and revised automatically when making display image files using the IDV in non-interactive or offscreen mode.
S tuart Wier UNAVCO
- Follow-Ups:
- Re: [idvusers] setting viewpoint in the bundle file
- From: Jeff McWhirter
- Re: [idvusers] setting viewpoint in the bundle file