SoWEMRendererBoundingBox

InventorModule

genre

WEMRendering

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoWEM

definition

SoWEM.def

see also

SoWEMRenderer

keywords

visualization, surface

Purpose

The module SoWEMRendererBoundingBox renders the bounding box of a WEM.

Usage

Attach this module to the extension input of a SoWEMRenderer module.

Windows

Default Panel

../../../Modules/Inventor/SoWEM/mhelp/Images/Screenshots/SoWEMRendererBoundingBox._default.png

Input Fields

inLUT (hidden)

name: inLUT, type: LUTFunction(MLBase)

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

availablePVLs: String

Lighting Mode: Enum

Bounding Box Mode: Enum

Line Width: Float

colorMode: Enum

selectedPVL: String

Enable Picking: Bool

Use Lighting Mode: Bool

Enable Rendering: Bool

General Alpha: Float

General Color: Color

Global Alpha: Float

Visible Fields

Enable Rendering

name: enableRendering, type: Bool, default: TRUE

If checked, the module renders the bounding boxes.

Enable Picking

name: enablePicking, type: Bool, default: TRUE

If checked, the primitives rendered by this extensions are pickable.

Global Alpha

name: globalAlpha, type: Float, default: 1, minimum: 0, maximum: 1

Sets a global alpha value that is multiplied with all existing alpha values.

General Color

name: generalColor, type: Color, default: 1 1 1

Sets a general color for the general color mode.

General Alpha

name: generalAlpha, type: Float, default: 1, minimum: 0, maximum: 1

Sets a general alpha value for the general color mode.

Use Lighting Mode

name: useLightingMode, type: Bool, default: FALSE

If checked, the Lighting Mode is applied.

Lighting Mode

name: lightingMode, type: Enum, default: SoShaderPipelineDefinition::LIGHTING_PER_VERTEX

Defines which lighting mode is applied. See SoShaderPipeline for more information.

Values:

Title

Name

​OFF

​SoShaderPipelineDefinition::LIGHTING_OFF

​PER FRAGMENT

​SoShaderPipelineDefinition::LIGHTING_PER_FRAGMENT

​PER VERTEX

​SoShaderPipelineDefinition::LIGHTING_PER_VERTEX

Line Width

name: lineWidth, type: Float, default: 1, minimum: 1

Sets the line width in pixels.

Bounding Box Mode

name: boundingBoxMode, type: Enum, default: AXIS_ALIGNED

Defines the bounding box mode.

Values:

Title

Name

Description

​Axis Aligned

​AXIS_ALIGNED

​An axis-aligned minimal bounding box is generated.

​Object Aligned

​OBJECT_ALIGNED

​The object-aligned bounding box is the box around a local coordinate system (calculated by a principal component analysis).

Hidden Fields

colorMode

name: colorMode, type: Enum, default: WEM_COLOR_GENERAL

Values:

Title

Name

​General

​WEM_COLOR_GENERAL

​Node Colors

​WEM_COLOR_NODE_COLORS

​Lut Values

​WEM_COLOR_LUT_VALUES

​Lut Values Integer

​WEM_COLOR_LUT_VALUES_INTEGER

availablePVLs

name: availablePVLs, type: String

selectedPVL

name: selectedPVL, type: String