Hi,
Sorry I should have made it more clear. I have an open inventor object that
I call in my C++ code. The open inventor object does the selection. The
C++ side does the logic of making the selection via calling the inventor
object.
Ex-
bool status = 1;
if(isHighlight){
inventorObj->highlight(status);
status = 0;
else
invetorObj->highlight(status);
}
Each of the selected objects are assigned Ids, I use the ids to keep track.
This works when I select one to two objects in open inventor,but as I work with
more objects, the highlighting does not work properly. Meaning some of
the selected/highlighted objects dont unhighlight/deselect like they should.
I need a way to keep track of the ones that have been selected.
Hope this makes sense!
Thomas Hruska <[EMAIL PROTECTED]> wrote: wiz_mci
wrote:
> Hello,
> Does anyone know how to handle selection and deslection of objects.
> I am able to select one object and highlight it and can toggle
> the highlighting on and off. But with multiple objects its not
> working
> properly mainly when I am deselecting already selected objects. My
> objects are Integers. I am doing this in C++/C. Anyone got any
> ideas?.
You are going to need to clarify what you mean by "selecting and
deselecting objects". ANSI C/C++ has no such concept.
--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
*NEW* MyTaskFocus 1.1
Get on task. Stay on task.
http://www.CubicleSoft.com/MyTaskFocus/
[Non-text portions of this message have been removed]