SoPostEffectBackground

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoRenderers
definition SoRenderers.def

Purpose

The SoPostEffectBackground module offers drawing 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

Enables/disables the effect.

Buffer Name

name: bufferName, type: String, default: colorBuffer

Mode

name: mode, type: Enum, default: Gradient

Selects what is drawn.

Values:

Title Name Description
Gradient Gradient A gradient is drawn.
Color Color A single color is used.

Start Color

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

Selects the gradient start color.

End Color

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

Selects the gradient end color.