| status | work-in-progress |
| author | Uwe Siems |
| package | MeVisLab/Standard |
| dll | SoCameraInteraction |
| definition | SoCameraInteraction.def |
| see also | SoRenderArea, SoExaminerViewer, RemoteRendering |
| keywords | camera, interaction, view |
This module implements camera steering with an additional headlight, similar to that provided by a SoExaminerViewer.
Attach the part of the scene you want to have camera control over to the inScene input and the module itself to your inventor scene. If you need to change the mouse button or key bindings from their current defaults, you need to use a SoInteractionMapping module.
The default interaction for this module is: Left mouse button: Rotate camera Shift+left mouse button: Pan camera Control+left mouse button: Zoom camera.
You need a SoInteractionMapping module to change this bindings. It is also needed to connect the commands "ViewAll", "SetHome", "GotoHome" and "ToggleCamera" to key bindings.
Attach the part of the scene you want to have camera control over to this input (if you need to attach more than one element, you need to combine them with a SoGroup or SoSeparator).
Connect the output e.g. to a SoRenderArea.