SoRotateCamera

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoUtils
definition utils.def

Purpose

The module SoRotateCamera rotates the camera in an Open Inventor 3D viewer around the current focal point.

Windows

Default Panel

../../../Modules/Inventor/SoUtils/mhelp/Images/Screenshots/SoRotateCamera._default.png

Input Fields

inCamera

name: inCamera, type: SoNode

inScene

name: inScene, type: SoNode

Output Fields

self (hidden)

name: self, type: SoNode

Parameter Fields

Field Index

Auto Adjust Clipping Planes: Bool
Auto Rotate: Bool
Rotate: Trigger
Rotation Angle: Float
Rotation Axis: Vector3
Rotation Current Step: Integer
Rotation Steps: Integer

Visible Fields

Rotation Axis

name: rotationAxis, type: Vector3, default: 0 1 0

Sets the rotation axis to rotate around.

Rotation Angle

name: rotationAngle, type: Float, default: 360

Sets the rotation angle which is divided by the Rotation Steps.

Rotation Steps

name: rotationSteps, type: Integer, default: 80

Sets the number of rotation steps the Rotation Angle is divided into.

Rotation Current Step

name: rotationCurrentStep, type: Integer, persistent: no

Shows the current rotation step. Cannot be larger than Rotation Steps.

Auto Adjust Clipping Planes

name: autoAdjustClippingPlanes, type: Bool, default: TRUE

Rotate

name: rotate, type: Trigger

If pressed, the camera is rotated one step or if Auto Rotate is set, the whole Rotation Angle is used in steps.

Auto Rotate

name: autoRotate, type: Bool, default: TRUE

If checked, pressing the button Rotate triggers a full automatic rotation.