SoWEMRenderer

InventorModule
genre WEMRendering
status stable
authors Olaf Konrad, Bart De Dobbelaer
package MeVisLab/Standard
dll SoWEM
definition SoWEM.def
see also WEMIsoSurface, WEMInfo
keywords WEMList, render

Purpose

The SoWEMRenderer renders a WEM as an OpenInventor scene.

Usage

Just plug in a WEM into the input, and the module's output into an Inventor viewer.

Interaction

A rendered WEM can be selected in the viewer. On the module?s GUI, some information on the clicked position, the id of the hit WEMPatch, as well as some additional information on the local configuration of the hit position is displayed.

Windows

Default Panel

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

Input Fields

The input is the WEM to be rendered and an option LUT for coloring the WEM (only meaningful if the WEM has values stored in at least one PVL).

inWEM

name: inWEM, type: MLBase

inLUT

name: inLUT, type: MLBase

Output Fields

The WEM as an Inventor scene.

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Allow Hits

name: allowHits, type: Bool, default: TRUE

If checked, the module evaluates picking information.

Apply

name: apply, type: Trigger

if pressed, the module generates a new Inventor scene.

Auto Apply

name: autoApply, type: Bool, default: TRUE

If checked, all parameter changes lead to a new generation of the output scene.

Auto Update

name: autoUpdate, type: Bool, default: TRUE

If checked, all input changes lead to a new generation of the output scene.

Color Mode

name: colorMode, type: Enum, default: WEM_COLOR_GENERAL

Determines how the WEM (faces) should be colored.

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
Textured WEM_COLOR_TEXTURED

Hit Face

name: hitFaceIndex, type: Integer, persistent: no

The index of the hit (picked) face.

Hit Patch

name: hitPatchIndex, type: Integer, persistent: no

The index of the hit (picked) WEMPatch.

Hit Pos.

name: hitPosition, type: Vector3, persistent: no

The position where the picking ray first hit the surface.

Hit information valid

name: isHitInformationValid, type: Bool, persistent: no

This field is true if the hit information on the GUI is valid.

Mode

name: parameterOverwriteMode, type: Enum, default: OVERWRITE_MODE_ALL

Determines which visualization parameters should be overwritten by the renderer and which parameters should be taken from the input WEM.

Values:

Title Name
None OVERWRITE_MODE_NONE
All OVERWRITE_MODE_ALL
Specific OVERWRITE_MODE_SPECIFIC

Nearest Node

name: hitNearestNodeIndex, type: Integer, persistent: no

The index of the nearest node to the hit position.

Nearest Value

name: hitNearestNodeValue, type: Float, persistent: no

The value of the node nearest to the hit position.

Use automatic polygon offset

name: usePolygonOffset, type: Bool, default: TRUE

If checked, the module used internal polygon offsets to enhance the visual result if edges and faces are rendered at the same time.

Use internal shape hints

name: useShapeHints, type: Bool, default: TRUE

Determines if the module uses internal shape hints. If so, all external shape hint setting will be overwritten.

Hidden Fields

autoClear

name: autoClear, type: Bool, default: TRUE

boundingBoxCaching

name: boundingBoxCaching, 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

primitiveValueListValid

name: primitiveValueListValid, type: Bool, default: FALSE

primitiveValueLists

name: primitiveValueLists, type: String

renderCaching

name: renderCaching, 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