SoPostEffectBackground

InventorModule

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoRenderers

definition

SoRenderers.def

Purpose

The SoPostEffectBackground module offers the ability to draw a background gradient for the SoPostEffectRenderer module.

If an input LUT is given, it is used to render the gradient. If no LUT is given, the two colors are interpolated from top to bottom.

Input Fields

inputLut

name: inputLut, type: LUTFunction(MLBase)

The LUT that should be used for the gradient.

Parameter Fields

Field Index

Buffer Name: String

Enabled: Bool

End Color: Color

Mode: Enum

Start Color: Color

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

If checked, the effect is enabled.

Buffer Name

name: bufferName, type: String, default: colorBuffer

Mode

name: mode, type: Enum, default: Gradient

Defines what to render.

Values:

Title

Name

Description

​Gradient

​Gradient

​A gradient is rendered.

​Color

​Color

​A single color is used.

Start Color

name: startColor, type: Color, default: 0.5 0.5 0.5

Sets the gradient start color.

End Color

name: endColor, type: Color, default: 1 1 1

Sets the gradient end color.