SoTouchCameraInteraction¶
-
InventorModule
¶ author Uwe Siems
package FMEwork/ReleaseMeVis
dll SoTouchCameraInteraction
definition SoTouchCameraInteraction.def see also SoRenderArea
,SoExaminerViewer
,RemoteRendering
keywords view
,touch
Purpose¶
This module implements camera steering with an additional headlight, similar to that provided by a SoExaminerViewer
.
Usage¶
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.
Interaction¶
The default interaction for this module is: Left mouse button: Rotate camera Shift+left mouse button: Pan camera Control+left mouse button: Zoom camera. Middle mouse button: Pan camera Left+Middle 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.
Input Fields¶
inScene¶
-
name:
inScene
, type:
SoNode
¶ 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
orSoSeparator
).
Output Fields¶
self¶
-
name:
self
, type:
SoNode
¶ Connect the output e.g. to a
SoRenderArea
.
Parameter Fields¶
Field Index¶
cameraType : Enum |
isDelayedPan : Bool |
showSagittal : Trigger |
Detect Camera From Scene : Trigger |
nearDistance : Float |
Toggle Camera Type : Trigger |
Event Mode : Enum |
orientation : Rotation |
View All : Trigger |
farDistance : Float |
position : Vector3 |
|
focalDistance : Float |
Set Home : Trigger |
|
Goto Home : Trigger |
showAxial : Trigger |
|
Headlight : Bool |
showCoronal : Trigger |
|
height : Float |
showOpposite : Trigger |