SoVolumeTransformApply Method |
Apply in-place transformation to the specified dataset tile.
Namespace: OIV.VolumeViz.Nodes
public abstract void Apply( SoState state, SbPair<SoDataSet, int> p, SoBufferObject bufferObject, SoLDMTileID id )
Current traversal state.
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();
The buffer that contains the data
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 );
The application must implement this method in the derived class.