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

Home » Public Forums » archive » Re: obtaining modified data from object graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: obtaining modified data from object graphics [message #48534 is a reply to message #48533] Tue, 25 April 2006 16:41 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
You can't really do this using object graphics.

Data that is manipulated by the set and get properties exists in your
object's "object space". When that object is rendered, these data are
transformed into "world space" by one or more IDLgrModels and finally
into "view space" by IDLgrView. The problem is that this transformed
data is inaccessible from within IDL. So while you see what you want,
you can't "get" it.

You need to transform your data directly. For polygonal data, VERT_T3D
will do this. For volume data, maybe something like this will work:

http://www.prl.ernet.in/~shashi/idl_info/Morisset/pro/turn_3 d.pro

-Rick


CD wrote:
> hello all,
>
> i was recently introduced to the object graphics capability of IDL. i
> am very much impressed with its functionality. but i am facing a small
> problem. i will try to describe it as clearly as possible.
> i have a 3 dim data which is a representation of a cube such that if a
> point is inside the cube it is 1 otherwise the value at that point is
> zero. now i load this data into myvolume using idlgrvolume and display
> it using the object graphics. now i rotate the model about [1,1,1] axis
> by say 45 deg. the result is good and what i wanted. now i want this
> modified data to be stored back into a 3d variable such that now this
> array will have the 1's and 0's acc. to the rotated cube. how do i go
> about achieving this?
> becuase after this is i use getprperty on myvolume it returns the same
> data which i had entered not the rotated one.
>
> thanx
>
> cheers,
> -cd
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL archive utility?
Next Topic: GRIDDATA error

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

Current Time: Fri Oct 10 10:09:27 PDT 2025

Total time taken to generate the page: 0.39868 seconds