SoVolumeTransformIsValid Method |
Should return true if the given parameters are valid for this compute function.
Namespace: OIV.VolumeViz.NodesAssembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public virtual bool IsValid(
SoState state,
SbPair<SoDataSet, int> p,
SoBufferObject bufferObject,
SoLDMTileID id
)
Public Overridable Function IsValid (
state As SoState,
p As SbPair(Of SoDataSet, Integer),
bufferObject As SoBufferObject,
id As SoLDMTileID
) As Boolean
public:
virtual bool IsValid(
SoState^ state,
SbPair<SoDataSet^, int>^ p,
SoBufferObject^ bufferObject,
SoLDMTileID id
)
abstract IsValid :
state : SoState *
p : SbPair<SoDataSet, int> *
bufferObject : SoBufferObject *
id : SoLDMTileID -> bool
override IsValid :
state : SoState *
p : SbPair<SoDataSet, int> *
bufferObject : SoBufferObject *
id : SoLDMTileID -> bool
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:
BooleanRemarks
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