comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Joystick of 3-D spatial trajectory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Joystick of 3-D spatial trajectory [message #47931] Mon, 13 March 2006 09:56
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Richard G. French wrote:
> Hi, folks -
> I have an xyz array of spacecraft locations as a function of time, and I'd
> like to put this in a 3-D display that lets me use the mouse to rotate the
> visualization of the trajectory. I tried looking at the Itools demo, but
> after staring at the hourglass for a long time, I never did get the demo to
> do what I thought it was supposed to do. I seem to recall that there is a
> canned routine for this sort of thing, but I can't locate it. Any
> suggestions? Thanks!

I second Andrews suggestion of IDLgrPolyline and XOBJVIEW:

IDL> len=1800
IDL> data = FLTARR(3,len)
IDL> data[0,*] = SIN(FINDGEN(len)*!DTOR)
IDL> data[1,*] = FINDGEN(len)/100.
IDL> data[2,*] = COS(FINDGEN(len)*!DTOR)
IDL> oLine = OBJ_NEW('IDLgrPolyline', data, THICK=3, COLOR=[80,230,200])
IDL> oMod = OBJ_NEW('IDLgrModel')
IDL> oMod -> Add, oLine
IDL> xobjview, oMod

XOBJVIEW's interface is a bit constricting but it may be all you need.
If you want to "get into" the flightpath, you know fly around the
flightpath, then you'll want to check out my camera. If you get to that
point, let me know.

-Rick
Re: Joystick of 3-D spatial trajectory [message #47932 is a reply to message #47931] Mon, 13 March 2006 09:08 Go to previous message
Jean[1] is currently offline  Jean[1]
Messages: 8
Registered: November 2005
Junior Member
Richard G. French wrote:
> Hi, folks -
> I have an xyz array of spacecraft locations as a function of time, and I'd
> like to put this in a 3-D display that lets me use the mouse to rotate the
> visualization of the trajectory. I tried looking at the Itools demo, but
> after staring at the hourglass for a long time, I never did get the demo to
> do what I thought it was supposed to do. I seem to recall that there is a
> canned routine for this sort of thing, but I can't locate it. Any
> suggestions? Thanks!
> Dick French
>

The easiest way might be to use xplot3d.

Jean
Re: Joystick of 3-D spatial trajectory [message #47933 is a reply to message #47932] Sun, 12 March 2006 21:27 Go to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
Richard G. French wrote:
> Hi, folks -
> I have an xyz array of spacecraft locations as a function of time, and I'd
> like to put this in a 3-D display that lets me use the mouse to rotate the
> visualization of the trajectory. I tried looking at the Itools demo, but
> after staring at the hourglass for a long time, I never did get the demo to
> do what I thought it was supposed to do. I seem to recall that there is a
> canned routine for this sort of thing, but I can't locate it. Any
> suggestions? Thanks!
> Dick French

What about XOBJVIEW?

Or, if you really want to get out there, and follow your spacecraft,
try
Rick Towler's camera objects.


Andrew
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Joystick of 3-D spatial trajectory
Next Topic: CW_BGROUP question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:14:19 PDT 2025

Total time taken to generate the page: 0.00533 seconds