SoWEMRendererEdges

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 SoWEMRendererEdges renders the edges of a WEM.

Usage

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

Windows

Default Panel

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

Input Fields

inLUT

name: inLUT, type: LUTFunction(MLBase)

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Color Mode: Enum

Normal Offset: Float

Enable Picking: Bool

Override Selected PVL: String

Enable Rendering: Bool

Render Only Border Edges: Bool

General Alpha: Float

Use Lighting Mode: Bool

General Color: Color

Global Alpha: Float

Lighting Mode: Enum

Line Width: Float

Visible Fields

Enable Rendering

name: enableRendering, type: Bool, default: TRUE

If checked, the module renders edges.

Enable Picking

name: enablePicking, type: Bool, default: TRUE

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

Color Mode

name: colorMode, type: Enum, default: WEM_COLOR_GENERAL

Defines the color mode.

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

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: 0 0 0

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

Override Selected PVL

name: overrideSelectedPVL, type: String

Sets the used PVL. The module supports per-node and per-edge PVLs.

Line Width

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

Sets the line width in pixels.

Normal Offset

name: normalOffset, type: Float, default: 0.001

Sets an offset value of the position of the rendered edges in normal direction.

Render Only Border Edges

name: renderOnlyBorderEdges, type: Bool, default: FALSE

If checked, only border edges are rendered. Border edges have no or just one adjacent face.