Class Index | File Index

Classes


Class ROS3D.Highlighter


Defined in: Highlighter.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A mouseover highlighter for 3D objects in the scene.
Method Summary
Method Attributes Method Name and Description
 
getWebglObjects(scene, objects, renderList)
Add all corresponding webgl objects in the given scene and add them to the given render list.
 
onMouseOut(event)
Remove the current target of the mouseover from the hover list.
 
onMouseOver(event)
Add the current target of the mouseover to the hover list.
 
renderHighlight(renderer, scene, camera)
Render highlighted objects in the scene.
Class Detail
ROS3D.Highlighter(options)
A mouseover highlighter for 3D objects in the scene.
Parameters:
options
- object with following keys: * mouseHandler - the handler for the mouseover and mouseout events
Method Detail
getWebglObjects(scene, objects, renderList)
Add all corresponding webgl objects in the given scene and add them to the given render list.
Parameters:
scene
- the scene to check for webgl objects
objects
- the objects list to check
renderList
- the list to add to

onMouseOut(event)
Remove the current target of the mouseover from the hover list.
Parameters:
event
- the event that contains the target of the mouseout

onMouseOver(event)
Add the current target of the mouseover to the hover list.
Parameters:
event
- the event that contains the target of the mouseover

renderHighlight(renderer, scene, camera)
Render highlighted objects in the scene.
Parameters:
renderer
- the renderer to use
scene
- the scene to use
camera
- the camera to use

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 03 2013 18:15:58 GMT-0700 (PDT)