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

Home » Public Forums » archive » Object boundaries
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: Object boundaries [message #40325 is a reply to message #40209] Mon, 02 August 2004 16:05 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
David Fanning wrote:

> Rick Towler writes:
>
>
>> ; The reason you are reading this...
>> IDL> oaxis->draw, odest, oview
>
>
> How did you figure this out, Rick? I tried the DRAW
> method, too, but could only vaguely remember how to
> find parameters to unknown procedures and functions.
> And I didn't have time to figure it out again. :-)

I wish I could say I divine the parameters, like the great Carnac
foretold the question to the answer written on the envelope, by simply
lifting the keyboard to my forehead. Alas, my methods are far less exotic.

IDLgrGraphic::Draw is pretty easy if you think about it. Passing one,
then two dummy arguments led IDL to tell me it took two parameters.
Thinking about it for a second, I knew that the view was probably one,
and the destination the other. Trial and error got the order.

Obviously this approach has its limitations but RSI doesn't make their
API overly obtuse (well, IMO) so you can do this for quite a number of
the undocumented parent objects/methods. For example,
IDLgrModel::GetXYZRange. The name says function method. No arguments
fails. One fails. Two fails. Three works. O.K. Then the arguments
are (x,y,z).

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Class Warfare
Next Topic: Computer Graphics Question

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

Current Time: Sat Nov 29 19:47:35 PST 2025

Total time taken to generate the page: 0.17532 seconds