Click or drag to resize
SoVolumeTransformApply Method

Apply in-place transformation to the specified dataset tile.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public abstract void Apply(
	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) Using the OIV.LDM.Nodes.SoDataSet object you can obtain, for example, the actual data type of the data:

SoDataSet DataSet = p.First;
SoDataSet.DataTypes type = DataSet.GetDataType();

bufferObject
Type: OIV.Inventor.DevicesSoBufferObject

The buffer that contains the data

id
Type: OIV.LDMSoLDMTileID

Tile to be transformed Using this id and the OIV.LDM.Nodes.SoDataSet object you can obtain, for example, the actual position of the tile in the volume:

SbBox3i32 tilePos = 
 DataSet.GetNodeFrontManager().GetTilePos( id );

Remarks

The application must implement this method in the derived class.

See Also