List of all members.
Public Member Functions
|osgHaptics::Shape *||getShape ()|
This class traverses all drawables and attaches a new haptic shape for each drawable it find. All created shapes will be added to a ShapeComposite which will be the parent. For contact detection this ShapeComposite can be used.
If the subgraph contains instances, that is, a drawable occurs on several positions in the tree, then only the first occurence of that drawable will actually be drawn haptically. The ShapeComposte can be accessed throught the getShape() method.
Return the ShapeComposite that holds all the Shapes generated. IMPORTANT: For now, attach this to a ref_ptr somewhere, otherwise it will be dropped.