Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [ REQ 6859]: Picking problem in Geomview
Dear Sir, I'm a PhD Student in the Prisme Project at INRIA Sophia in France, and I planned to use Geomview to visualize terrains triangulations. My problem is the following: I don't manage to use the picking features of Geomview. My goal is very basic: I send successives meshes to Geom- view, and when a mesh is drawn, I would like to wait for a mouse click (from the user) before sending another mesh. Here is a simple program that doesn't work: cout << "(event-pick on)" << endl; cout << "(pickable allgeoms yes)" << endl; cout << "(interest (pick * * * * * * * * * *))" << endl; cout << "(geometry MY_OBJECT {" << endl; cout << "nSKEL" << endl; cout << "3" << endl; cout << "2 1" << endl; cout << "0 0 0" << endl; cout << "1 0 0" << endl; cout << "2 0 1" << endl; cout << "})" << endl; // wait a mouse click char str[80]; cin >> str; The data are displayed, but the mouse clicks have no ef- fects. I've tried the following changes in my code without success: cout << "(pickable MY_OBJECT yes)" << endl; cout << "(pickable g1 yes)" << endl; cout << "(interest (pick world * * * * * * * * *))" << endl; cout << "(interest (pick world))" << endl; My platform is a Sun Ultra 10 with SunOS 5.6 and my Geomview version is 1.5 I suppose that the solution is as basic as the problem, but after having read the manual and the FAQ, I don't manage to find it. Thank you in advance for your attention and your help. Cordially, Pierre-Marie Gandoin ------------------------------------------------------------------------------ P.-M. Gandoin, INRIA, 2004 route des Lucioles, BP 93, 06902 Sophia Antipolis Pierre-Marie.Gandoin at sophia.inria.fr, +33 4 92 38 76 77, Fax +33 4 92 38 76 43
|
||
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
site hosted by |