Dear Mike,
Dear Users,
Please, i'd like to extend the SoPickStyle class, in order to manage better the unpickable shapes:
i'd like to have unpickable shapes (points and normals unvailable using RayPick action), but selectable (using SoSelection node);
so i derived a class from SoPickStyle and using a flag "force_shape_selection" in order to try to force the selection by SoSelection Node
now i have a doubt:
in my class i have the ovveride of the following function:
doAction,
callback
and pick.
Can i manage inside the SoRayPick extended class the "force pick"
or i must ovveride also the SoShape nodes, managing the shouldRayPick function?
Or maybe is there another way that is unknown to me?
I hope i well explained all, but if you need futher informations, don't hesitate to ask.
Best Regards,
Vincenzo
Dear Users,
Please, i'd like to extend the SoPickStyle class, in order to manage better the unpickable shapes:
i'd like to have unpickable shapes (points and normals unvailable using RayPick action), but selectable (using SoSelection node);
so i derived a class from SoPickStyle and using a flag "force_shape_selection" in order to try to force the selection by SoSelection Node
now i have a doubt:
in my class i have the ovveride of the following function:
doAction,
callback
and pick.
Can i manage inside the SoRayPick extended class the "force pick"
or i must ovveride also the SoShape nodes, managing the shouldRayPick function?
Or maybe is there another way that is unknown to me?
I hope i well explained all, but if you need futher informations, don't hesitate to ask.
Best Regards,
Vincenzo
Comment