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

Home » Public Forums » archive » Re: ROTATE MODEL
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: ROTATE MODEL [message #66590 is a reply to message #66589] Tue, 26 May 2009 11:44 Go to previous messageGo to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
On May 26, 2:30 pm, mgalloy <mgal...@gmail.com> wrote:
> nata wrote:
>> Hi people,
>
>> I've 2 IDLgrImages into an IDLgrModel and I want to rotate the images
>> 30 degrees.
>> I tried to use the IDLgrModel::Rotate method and I did not succeed
>> with the rotation.
>
>> I tried a lot of combinations:
>> model->rotate, [0,0,0], 30
>> model->rotate, [1,0,0], 30
>> etc..
>
>> Why the images don't rotate? grgrgggrrrr ....
>> How to do that ?
>
>> Thanks in advance,
>> nata
>
> Set the TRANSFORM_MODE property of the IDLgrImage to 1 (assuming you
> have IDL 6.2+).
>

No results,

I try with the TRANSFORM_MODE KEYWORD set to 1 and nothing happens.

topo=OBJ_NEW('IDLgrImage',DIMENSIONS=image_sz
[1:2],DATA=image.image,LOCATION=[0,0],/TRANSFORM_MODE)
model=OBJ_NEW('IDLgrModel')
model->Add, topo
;--------------------------
model->Rotate, [0,0,0], 120l
;--------------------------
view->Add, model
scene->Add, view
...

What am i doing wrong?
nata
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: hist_2d, contour
Next Topic: ROTATE MODEL

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

Current Time: Fri Oct 10 19:53:18 PDT 2025

Total time taken to generate the page: 0.96050 seconds