SoCameraViewAll

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

Purpose

The module SoCameraViewAll places the camera on demand in a way that the whole attached Inventor scene is visible.

Windows

Default Panel

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

Input Fields

inCamera

name: inCamera, type: SoNode

inScene

name: inScene, type: SoNode

Output Fields

self (hidden)

name: self, type: SoNode

Parameter Fields

Visible Fields

Viewport Width

name: viewportWidth, type: Integer, default: 256

Sets the width of the internally used viewport.

Viewport Height

name: viewportHeight, type: Integer, default: 256

Sets the height of the internally used viewport.

View All

name: viewAll, type: Trigger

If pressed, the whole Inventor scene (its bounding box) is made visible by moving the camera.