Click or drag to resize
SoVolumeTransformIsValid Method

Should return true if the given parameters are valid for this compute function.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public virtual bool IsValid(
	SoState state,
	SbPair<SoDataSet, int> p,
	SoBufferObject bufferObject,
	SoLDMTileID id
)

Parameters

state
Type: OIV.Inventor.MiscSoState

Current traversal state.

p
Type: OIV.Inventor.GenericSbPairSoDataSet, Int32

Dataset/id pair (p.first is an SoDataSet*, p.second is a dataSetId)

bufferObject
Type: OIV.Inventor.DevicesSoBufferObject

The buffer that contains the data

id
Type: OIV.LDMSoLDMTileID

Tile to be transformed

Return Value

Type: Boolean
Remarks

If not the OIV.VolumeViz.Nodes.SoVolumeTransform.Apply(OIV.Inventor.Misc.SoState, OIV.Inventor.Generic.SbPair{{OIV.LDM.Nodes.SoDataSet,System.Int32}}, OIV.Inventor.Devices.SoBufferObject, OIV.LDM.SoLDMTileID) function will not be called for this tile. The interpretation of "valid" is up to the application. For example, you could use this function to skip computing for low resolution tiles.

See Also