Click or drag to resize
SoVolumeShapeInterpolations Enumeration

Interpolation mode.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public enum Interpolations
Members
  Member nameValueDescription
NEAREST0

OpenGL "nearest neighbor" interpolation.

LINEAR1

OpenGL linear interpolation (Default).

This implies bi-linear interpolation for 2D textures (e.g. OIV.VolumeViz.Nodes.SoOrthoSlice, OIV.VolumeViz.Nodes.SoObliqueSlice, OIV.VolumeViz.Nodes.SoVolumeSkin, OIV.VolumeViz.Nodes.SoFenceSlice) and tri-linear interpolation for 3D textures (OIV.VolumeViz.Nodes.SoVolumeRender, SoVolumeGeometry).

TRILINEAR2

Tri-linear interpolation for OIV.VolumeViz.Nodes.SoObliqueSlice.

Tri-linear interpolation is used when extracting the 2D texture that will be applied to the slice, providing better image quality. Same as LINEAR for other nodes.

Note Note

Enum available since Open Inventor 6.0

MULTISAMPLE_123

Multi-sample interpolation for slice shapes.

Interpolates data values using 12 samples around the voxel. This provides much higher image quality and specifically avoids rendering artifacts due to bi-linear interpolation. Only supported for 2D texture shapes (e.g. OIV.VolumeViz.Nodes.SoOrthoSlice, OIV.VolumeViz.Nodes.SoObliqueSlice, OIV.VolumeViz.Nodes.SoVolumeSkin, OIV.VolumeViz.Nodes.SoFenceSlice). Same as LINEAR for other nodes.

Note Note

Enum available since Open Inventor 7.0

CUBIC4

Cubic interpolation.

This implies bi-cubic interpolation for 2D textures (e.g. OIV.VolumeViz.Nodes.SoOrthoSlice, OIV.VolumeViz.Nodes.SoObliqueSlice, OIV.VolumeViz.Nodes.SoVolumeSkin, OIV.VolumeViz.Nodes.SoFenceSlice) and tri-cubic interpolation for 3D textures (OIV.VolumeViz.Nodes.SoVolumeRender, SoVolumeGeometry). It gives smoother results, especially for volume rendering.
Linear interpolation Cubic interpolation

Caution note Caution

Heavy GPU usage. Primarily useful for still image rendering.

It is recomended to use OIV.Inventor.Nodes.SoInteractiveComplexity node to switch bewteen LINEAR interpolation while moving and CUBIC interpolation for Still frame:
SoInteractiveComplexity icplx = new SoInteractiveComplexity();
icplx.fieldSettings[0] = "SoVolumeRender interpolation LINEAR CUBIC";
root.AddChild(icplx);

Note Note

Enum available since Open Inventor 9.3

Remarks

Used with OIV.VolumeViz.Nodes.SoVolumeShape.interpolation field. Also used with interpolation field in volume geometry nodes, e.g. OIV.VolumeViz.Nodes.SoVolumeIndexedFaceSet.interpolation

See Also