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

Home » Public Forums » archive » 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 #66668 is a reply to message #66592] Wed, 27 May 2009 09:04 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
nata wrote:
> I've a last question related with this discussion.
> There is a way to rotate IDLgrPolyline objects ? I mean, IDlgrImage
> has the /TRANSFORM_MODE keyword but if I use others graphics objects I
> can't rotate them. So, if it's possible to rotate graphics objects in
> general ?

Not in the same way. Generally you only apply transformations
(rotations, translations, etc) on models. Hence the Rotate and
Translate methods of IDLgrModel. So if you want to rotate polyline,
surface, or polygon objects you place them in an IDLgrModel and use its
rotate method.

IDLgrImage is different. Since images aren't comprised of polygons
there are no vertices to transform so adding an image object to a model
and transforming it doesn't do anything. To actually transform an image
you have to create a planar polygon, texture map the image onto it, then
transform this polygon. This caused much "confusion and delay" so
RSI/ITT added the Transform_Mode keyword to IDLgrImage which does the
hard work for you.

So only IDLgrImage has (or needs) the Transform_Mode keyword. All other
graphics objects are comprised of vertices and can be transformed via
IDLgrModel methods.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: ROTATE MODEL
Next Topic: Re: ENVI DoIts

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

Current Time: Fri Oct 10 15:07:59 PDT 2025

Total time taken to generate the page: 1.19934 seconds