dfki-asr / compass

Collaborative Modular Prototyping And Simulation Server
Apache License 2.0
2 stars 0 forks source link

Feature/click extension support #9

Closed wherget closed 9 years ago

wherget commented 9 years ago

This feature allows COMPASS based apps to customize the handling of clicking a geometry object. It therefore introduces a method XML3DProducer._createMeshClickHandler, which can be hooked using jQuery-AOP (as opposed to the previously anonymous generation of the handler). It also makes the EventHandler._getMouseHitInformation return the object tag which was hit by the scan ray. The latter is not relevant in the original context of that function, but it makes the function much more useful for an outside user.