Click or drag to resize
SoVRImageDataReaderGetNumSignificantBits Method

This method is optional.

Namespace: OIV.ImageViz.Nodes.Images
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 2023.2.3.0 (2023.2.3)
Syntax
public override int GetNumSignificantBits()

Return Value

Type: Int32
Remarks

It returns the number of significant bits of the volume data.

If it is not implemented, the default return value is 0, meaning the number of bits depends on the data type. See the last parameter of SoVolumeData.setVolumeData(). This method is called immediately after OIV.ImageViz.Nodes.Images.SoVRImageDataReader.GetDataChar(OIV.Inventor.SbBox3f@, OIV.LDM.Nodes.SoDataSet.DataTypes@, OIV.Inventor.SbVec3i32@). For float data type, number of bits is forced to 32.

See Also