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

Home » Public Forums » archive » Re: Anatomic object graphic in IDL
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: Anatomic object graphic in IDL [message #43774 is a reply to message #43755] Tue, 26 April 2005 05:31 Go to previous messageGo to previous message
vaesgar is currently offline  vaesgar
Messages: 3
Registered: April 2005
Junior Member
Ok, what I mean is to return the
coordinates (or better, their indexes) of a polygon of a
polygon-model. I mean, I want to Know exactly which are the indexes
(x,y,z) of the object when I push down in my model with the mouse.I
have used the next code to get it, but it doesn�t work.It only get me
values that belong (I think) to the coordinates of the window.

oarray = self.ocontainer->get(/ALL)
opolygon = oarray[N_ELEMENTS(oarray)-1]

oSel = self.oWindow -> Select(self.oTransparentView,[event.x,
event.y],UNITS=[3] ); returns object array
IF Size(oSel, /TName) EQ 'opolygon' THEN BEGIN
pick = self.oWindow-> PickData(self.oTransparentView,
osel,$
[event.x, event.y], dataxyz,pick_status=tt)


Where oTransparentView is my View.

Thanks, again
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem with save
Next Topic: Re: map MODIS HDF data to Mercator conformal projection

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

Current Time: Sat Apr 04 11:11:41 PDT 2026

Total time taken to generate the page: 0.72057 seconds