SoDiagram2DBackground

InventorModule
genre Diagram
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoDiagram2D
definition SoDiagram2D.def
see also SoDiagram2D
inherits from SoDiagram2DExtension
keywords fill, color, colour

Purpose

The module SoDiagram2DBackground draws a background behind a diagram.

The background can consist of two differently colored parts with horizontal splits.

Windows

Default Panel

../../../Modules/Inventor/SoDiagram2D/mhelp/Images/Screenshots/SoDiagram2DBackground._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Alpha (alphaA): Float Width (blockAWidth): Double
Alpha (alphaB): Float Width (blockBWidth): Double
Color (colorA): Color  
Color (colorB): Color  
Drawing enabled: Bool  
interactionProviderID: String  
isEditingEnabled: Bool  
Offset: Double  

Visible Fields

Drawing enabled

name: isEnabled, type: Bool, default: TRUE

If checked, the module renders a background behind a diagram.

see also SoDiagram2DExtension.isEnabled

Offset

name: blockAOffset, type: Double, default: 0, minimum: 0

Sets an offset value in x-direction where the first background part is rendered at.

The unit is the same as on the x-axis.

Width (blockAWidth)

name: blockAWidth, type: Double, default: 10, minimum: 0

Sets the width of the first background (blocks) in x-direction.

The unit is the same as on the x-axis.

Width (blockBWidth)

name: blockBWidth, type: Double, default: 10, minimum: 0

Sets the width of the second background (blocks) in x-direction.

The unit is the same as on the x-axis.

Alpha (alphaA)

name: alphaA, type: Float, default: 0.80000001, minimum: 0, maximum: 1

Sets the alpha value of the first background (blocks) in x-direction.

The unit is the same as on the x-axis.

Alpha (alphaB)

name: alphaB, type: Float, default: 0.80000001, minimum: 0, maximum: 1

Sets the alpha value of the second background (blocks) in x-direction.

The unit is the same as on the x-axis.

Color (colorA)

name: colorA, type: Color, default: 0.670000016689301 1 1

Sets the color value of the first background (blocks) in x-direction.

The unit is the same as on the x-axis.

Color (colorB)

name: colorB, type: Color, default: 0.670000016689301 1 0.5

Sets the color value of the second background (blocks) in x-direction.

The unit is the same as on the x-axis.

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoDiagram2DExtension.interactionProviderID

isEditingEnabled

name: isEditingEnabled, type: Bool, default: TRUE

see SoDiagram2DExtension.isEditingEnabled