SoOrientationInset

InventorModule
genre Visualization
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoOrientation
definition SoOrientation.def
see also SoOrientationModel
keywords viewer

Purpose

The module SoOrientationInset provides a small render area like an inset in illustrations whose camera is coupled with the previous camera found in the Open Inventor state. It may be used to indicate orientation of larger models.

Usage

Connect a 3D model to this module that shows the orientation of the main scene.

It is recommended to use the module SoOrientationModel.

Details

The module uses a new viewport to display the model. The camera copies its orientation from the previous camera found in the Open Inventor state and adjusts the view to display the entire model.

Windows

Default Panel

../../../Modules/Inventor/SoOrientation/mhelp/Images/Screenshots/SoOrientationInset._default.png

Input Fields

child

name: child, type: SoNode

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

boundingBoxCaching: Enum renderCulling: Enum
Location: Enum Size: Vector2
Margin: Vector2 Size As Percentage: Bool
On: Bool  
pickCulling: Enum  
Projection Type: Enum  
Render Delayed Paths: Bool  
renderCaching: Enum  

Visible Fields

On

name: on, type: Bool, default: TRUE

If checked, the module provides the viewport with the subscene that is oriented as the main scene.

Projection Type

name: projectionType, type: Enum, default: ORTHOGRAPHIC

Defines the camera projection type of the viewport’s sub scene.

Values:

Title Name
Orthographic ORTHOGRAPHIC
Perspective PERSPECTIVE
Auto AUTO

Location

name: location, type: Enum, default: LOWER_LEFT

Defines the location where the subscene is rendered in the main scene viewer.

Values:

Title Name
Upper Left UPPER_LEFT
Lower Left LOWER_LEFT
Upper Right UPPER_RIGHT
Lower Right LOWER_RIGHT

Size

name: size, type: Vector2, default: 50 50

Sets the size of the viewport in screen pixel.

Margin

name: margin, type: Vector2, default: 0 0

Sets the margin to leave to the reference corner (Location). Size As Percentage also affects this value.

Size As Percentage

name: sizeAsPercentage, type: Bool, default: FALSE

If enabled, the size and margin is given as percentage.

Render Delayed Paths

name: renderDelayedPaths, type: Bool, default: TRUE

If enabled, the rendering is done using the delayed path rendering of Open Inventor. This should be disabled if direct rendering is desired or even required, e.g. when using the SoPostEffectRenderer or the SoDepthPeelRenderer.

Hidden Fields

renderCaching

name: renderCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

boundingBoxCaching

name: boundingBoxCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

renderCulling

name: renderCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

pickCulling

name: pickCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO