Click or drag to resize
SbImageDataVoxelCastValueT Method

Note: This API is now obsolete.

Casts value at specifed index to the proper type.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 2023.2.3.0 (2023.2.3)
Syntax
[ObsoleteAttribute("Obsolete since Open Inventor 2023.2. ImageViz API is replaced by the new ImageDev toolkit.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public T CastValue<T>(
	ulong index
)
where T : struct, new()

Parameters

index
Type: SystemUInt64
Value's index

Type Parameters

T
Type to cast to.

Return Value

Type: T
Exceptions
ExceptionCondition
ArgumentOutOfRangeException if index is greater than
GetChannelType().Num
.
See Also