Dear members,
I created my class from which I can pick objects by single mouse clicks.
1) Now how can I improve my code so that I could select many objects with
the windows created by mouse. Like I click a point on the canvas, open a
window and select the objects inside this window. Is this possible? What
should be the procedure?
2) Secondly, the pick selection in my code returns "Node". How can I access
the appearance of this selected object.
//MY CODE
ray = createPickRay(ModelClipTest.canvas, x, y);
SceneGraphPath sgp = ModelClipTest.IFCRoot.pickClosest(ray);
if (sgp!=null)
{
Node object = sgp.getObject();
System.out.println("Selected: " +object);
}
Kind regards,
Ali
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".