Click or drag to resize
SoDataSetundefinedValue Property

Specifies the data value that should be considered undefined and therefore not rendered.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2025.2.1.0 (10.18.1.0)
Syntax
public SoSFDouble undefinedValue { get; }

Property Value

Type: SoSFDouble
Remarks

By default, this field is set to NaN (Not a Number), meaning that no specific value is excluded. Otherwise, the value must match the data type.

Limitations: There are several limitations in order for the undefined value to work:

Note: If the application uses custom shaders, particularly when overriding the VVizComputeFragmentColor() function:

  • Undefined values are handled in the GLSL function VVizTransferFunction().

  • If the voxel value is undefined, VVizTransferFunction() returns the RGBA value 0,0,0,0. You may return this value for your undefined value.

  • If the application's shader does not call VVizTransferFunction() (e.g. voxel color is computed without using a colormap), the application's shader must explicity check for undefined values. This can be done using the function VVizIsUndefined()

    Note Note

    Field available since Open Inventor 10.11

See Also