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

Home » Public Forums » archive » IDLgrModel::Scale
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: IDLgrModel::Scale [message #20825 is a reply to message #20751] Mon, 24 July 2000 00:00 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Hi Mark,

There will undoubtedly be a far better answer to your post but I might
be able to get you thinking.

> I can't seem to figure out how the IDLgrModel::Scale method works. When I
> scale a model that only contains a 2D image by doing the following:
>
> oModel->Scale, 1.2, 1.2, 1

You seem to be using it correctly. :)

The difference is that in object graphics your scaling doesn't actually
change the objects data. Your second approach (using congrid)operates
on the image data itself and "scaling" the image smaller will result in
lost data.

-Rick


Mark Guagenti wrote:
>
> Hello,
> I can't seem to figure out how the IDLgrModel::Scale method works. When I
> scale a model that only contains a 2D image by doing the following:
>
> oModel->Scale, 1.2, 1.2, 1
>
> what would the equivalent of doing it with the congrid function? Wouldn't
> it be:
>
> imgData = Congrid(imgData, imgsizeX*1.2, imgsizeY*1.2
>
> I guess I really don't understand how the scale method works. Any
> enlightenment would be very appreciated.
>
> Thanks,
> Mark
>
> -- Mark
>
> Grace and peace to you from God our Father and the Lord Jesus Christ.
> 1 Cor. 1:3
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLgrPolyline
Next Topic: Re: help with future application

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

Current Time: Sun Oct 12 04:49:21 PDT 2025

Total time taken to generate the page: 1.19789 seconds